refactoring of the less infrastructure
This commit is contained in:
@@ -1,18 +1,22 @@
|
||||
@import (reference) "/customize/src/less2/include/colortheme-all.less";
|
||||
@import (reference) "/customize/src/less2/include/leftside-menu.less";
|
||||
|
||||
@leftside-bg: @colortheme_sidebar-left-bg;
|
||||
@leftside-color: @colortheme_sidebar-left-fg;
|
||||
@rightside-color: @colortheme_sidebar-right-fg;
|
||||
@description-color: @colortheme_sidebar-description;
|
||||
|
||||
@sidebar_button-width: 400px;
|
||||
|
||||
|
||||
.sidebar-layout_main() {
|
||||
--LessLoader_require: LessLoader_currentFile();
|
||||
|
||||
// This is way too broad to put in the global scope
|
||||
input[type="text"], input[type="password"] {
|
||||
padding-left: 10px;
|
||||
}
|
||||
}
|
||||
& {
|
||||
@leftside-bg: @colortheme_sidebar-left-bg;
|
||||
@leftside-color: @colortheme_sidebar-left-fg;
|
||||
@rightside-color: @colortheme_sidebar-right-fg;
|
||||
@description-color: @colortheme_sidebar-description;
|
||||
|
||||
#cp-sidebarlayout-container {
|
||||
font-size: 16px;
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user