Skip to content

Instantly share code, notes, and snippets.

@maxpoletaev
Created June 22, 2020 07:53
Show Gist options
  • Save maxpoletaev/b40479b1cd5afb31cfb3c26974a52975 to your computer and use it in GitHub Desktop.
Save maxpoletaev/b40479b1cd5afb31cfb3c26974a52975 to your computer and use it in GitHub Desktop.
:root {
--main-color: #FCAF1B;
--second-color: #F17124;
}
/* admin header */
#header {
background: var(--main-color);
}
/* site name in header */
#branding h1,
#branding h1 a:link,
#branding h1 a:visited {
color: #FFF;
}
/* app index sections */
.module h2,
.module caption,
.inline-group h2 {
background: var(--main-color);
}
/* breadcrumbs */
div.breadcrumbs {
background: var(--second-color);
}
/* links */
a:link,
a:visited {
color: var(--second-color);
}
/* buttons */
.button,
input[type=submit],
input[type=button],
.submit-row input,
a.button {
background: var(--second-color);
}
/* default button */
.button.default,
input[type=submit].default,
.submit-row input.default {
background: var(--main-color);
}
/* button hovers */
.button:active,
input[type=submit]:active,
input[type=button]:active,
.button:focus,
input[type=submit]:focus,
input[type=button]:focus,
.button:hover,
input[type=submit]:hover,
input[type=button]:hover {
background: var(--main-color);
}
/* default button hover */
.button.default:active,
input[type=submit].default:active,
.button.default:focus,
input[type=submit].default:focus,
.button.default:hover,
input[type=submit].default:hover {
background: var(--main-color);
}
/* mptt admin */
#tree.block-style ul.jqtree-tree li.jqtree-selected > .jqtree-element {
background: var(--second-color) !important;
}
/* filter_horizontal widget */
.selector-chosen h2 {
background: var(--second-color) !important;
}
/* pagination buttons */
.paginator a:link,
.paginator a:visited {
background-color: var(--main-color) !important;
}
/* add border for inlines */
.inline-group > fieldset.module {
border: 1px solid #CCC;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment