praiadeseselle/wire/modules/AdminTheme/AdminThemeUikit/uikit-pw/styles/rock.less
2022-03-08 15:55:41 +01:00

60 lines
1.7 KiB
Text

// import base theme
// ##############################################################
// theme variables to easily style this theme
// use these variables in /site/templates/admin.less to customize
@rock-primary: #1c9e68;
// ##############################################################
// link theme variable to uikit variables
@global-primary-background: @rock-primary;
@global-link-color: @rock-primary;
@global-link-hover-color: lighten(@rock-primary, 5%);
@base-selection-background: @rock-primary;
/**
* Custom modification to tweak several spots of the admin when using this theme.
* I think these should likely be part of the master theme and then reno & co
* should just override the spots that are necessary to override
*/
/* ##### PageEdit ##### */
// remove padding from tabs in page edit screen
.uk-tab>* { padding-left: 0; }
/* ##### Inputfields ##### */
// notes
p.notes {
.uk-background-muted;
padding-left: 5px;
border-left: 3px solid @global-secondary-background;
}
// buttons
button.ui-button.ui-priority-secondary {
background-color: lighten(@global-color, 20%) !important;
}
/* ##### Notices ##### */
// remove spacing: https://i.imgur.com/l6TJIIJ.png
.pw-notices, .pw-notices li { margin: 0; }
.pw-notices { margin-top: -2px; }
// vex dialogs
.vex-dialog-button.vex-dialog-button-primary {
background: @global-primary-background !important;
}
/* ##### Datepicker ##### */
// datepicker
// see pw-jquery-ui-custom.less
// change from secondary to primary
@pw-datepicker-background: @background-primary-background;
/* ##### Offcanvas ##### */
// change offcanvas background from secondary to primary
@offcanvas-bar-background: @background-primary-background;