View lemmy-compact.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Full width of page */ | |
.home.container-lg, .navbar.container-lg, main > .post, .community.container-lg { | |
max-width: 100% !important; | |
} | |
/* Hide text of post (helps compact lines) */ | |
.col-sm-9 .text-body { | |
display: none !important; | |
} |
View cssbuy-custom.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#menuBar li:hover, | |
.authorized_li:hover { | |
cursor: pointer; | |
background-color: #5FB61150; | |
} | |
.functionList1 > li, | |
.list-unstyled > li, | |
.badge-lists > li, | |
#photolist > ol > li { |
View knockout-select2.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ko.bindingHandlers.select2 = { | |
init: function (el, valueAccessor, allBindingsAccessor, viewModel) { | |
ko.utils.domNodeDisposal.addDisposeCallback(el, function () { | |
$(el).select2('destroy'); | |
}); | |
var allBindings = allBindingsAccessor(); | |
var valueProperty = allBindings.valueProperty || 'value'; | |
var textProperty = allBindings.textProperty || 'text'; |