mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 10:50:24 +00:00
variant: fix inconsistent color variable naming #200
This commit is contained in:
parent
e5021f45b8
commit
4c50e5fe6b
10 changed files with 13 additions and 13 deletions
|
@ -30,7 +30,7 @@
|
|||
|
||||
--MENU-SEARCH-color: #ffffff; /* Color of search field text */
|
||||
--MENU-SEARCH-BG-color: #167ad0; /* Search field background color (by default borders + icons) */
|
||||
--MENU-SEARCH-BOX-color: #33a1ff; /* Override search field border color */
|
||||
--MENU-SEARCH-BORDER-color: #33a1ff; /* Override search field border color */
|
||||
|
||||
--MENU-SECTIONS-ACTIVE-BG-color: #20272b; /* Background color of the active section and its children */
|
||||
--MENU-SECTIONS-BG-color: #252c31; /* Background color of other sections */
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
--MENU-SEARCH-color: #ffffff; /* Color of search field text */
|
||||
--MENU-SEARCH-BG-color: #599a3e; /* Search field background color (by default borders + icons) */
|
||||
--MENU-SEARCH-BOX-color: #84c767; /* Override search field border color */
|
||||
--MENU-SEARCH-BORDER-color: #84c767; /* Override search field border color */
|
||||
|
||||
--MENU-SECTIONS-ACTIVE-BG-color: #1b211c; /* Background color of the active section and its children */
|
||||
--MENU-SECTIONS-BG-color: #222723; /* Background color of other sections */
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
--MENU-SEARCH-color: #ffffff; /* Color of search field text */
|
||||
--MENU-SEARCH-BG-color: #764890; /* Search field background color (by default borders + icons) */
|
||||
--MENU-SEARCH-BOX-color: #915eae; /* Override search field border color */
|
||||
--MENU-SEARCH-BORDER-color: #915eae; /* Override search field border color */
|
||||
|
||||
--MENU-SECTIONS-ACTIVE-BG-color: #251f29; /* Background color of the active section and its children */
|
||||
--MENU-SECTIONS-BG-color: #322a38; /* Background color of other sections */
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
--MENU-SEARCH-color: #e0e0e0; /* Color of search field text */
|
||||
--MENU-SEARCH-BG-color: #323232; /* Search field background color (by default borders + icons) */
|
||||
--MENU-SEARCH-BOX-color: #e0e0e0; /* Override search field border color */
|
||||
--MENU-SEARCH-BORDER-color: #e0e0e0; /* Override search field border color */
|
||||
|
||||
--MENU-SECTIONS-ACTIVE-BG-color: rgba( 0, 0, 0, .166 ); /* Background color of the active section and its children */
|
||||
--MENU-SECTIONS-BG-color: linear-gradient( 165deg, #f300b2d3 0%, #1c90f3b3 65%, #00e3d3b3 100% ); /* Background color of side bar */
|
||||
|
@ -71,8 +71,8 @@
|
|||
body a#logo,
|
||||
body #logo svg,
|
||||
body #logo svg * {
|
||||
color: var(--INTERNAL-MENU-SEARCH-BOX-color);
|
||||
fill: var(--INTERNAL-MENU-SEARCH-BOX-color) !important;
|
||||
color: var(--INTERNAL-MENU-SEARCH-BORDER-color);
|
||||
fill: var(--INTERNAL-MENU-SEARCH-BORDER-color) !important;
|
||||
}
|
||||
|
||||
body a#logo{
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
--MENU-SEARCH-color: #ffffff; /* Color of search field text */
|
||||
--MENU-SEARCH-BG-color: #b90000; /* Search field background color (by default borders + icons) */
|
||||
--MENU-SEARCH-BOX-color: #ef2020; /* Override search field border color */
|
||||
--MENU-SEARCH-BORDER-color: #ef2020; /* Override search field border color */
|
||||
|
||||
--MENU-SECTIONS-ACTIVE-BG-color: #2b2020; /* Background color of the active section and its children */
|
||||
--MENU-SECTIONS-BG-color: #312525; /* Background color of other sections */
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
--MENU-SEARCH-color: #e0e0e0; /* Color of search field text */
|
||||
--MENU-SEARCH-BG-color: #323232; /* Search field background color (by default borders + icons) */
|
||||
--MENU-SEARCH-BOX-color: #e0e0e0; /* Override search field border color */
|
||||
--MENU-SEARCH-BORDER-color: #e0e0e0; /* Override search field border color */
|
||||
|
||||
--MENU-SECTIONS-ACTIVE-BG-color: #323232; /* Background color of the active section and its children */
|
||||
--MENU-SECTIONS-BG-color: #2b2b2b; /* Background color of other sections */
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
--MENU-SEARCH-color: #e0e0e0; /* Color of search field text */
|
||||
--MENU-SEARCH-BG-color: #323232; /* Search field background color (by default borders + icons) */
|
||||
--MENU-SEARCH-BOX-color: #e0e0e0; /* Override search field border color */
|
||||
--MENU-SEARCH-BORDER-color: #e0e0e0; /* Override search field border color */
|
||||
|
||||
--MENU-SECTIONS-ACTIVE-BG-color: rgba( 0, 0, 0, .166 ); /* Background color of the active section and its children */
|
||||
--MENU-SECTIONS-BG-color: #282828; /* Background color of other sections */
|
||||
|
|
|
@ -118,7 +118,7 @@ th {
|
|||
}
|
||||
|
||||
.searchbox {
|
||||
border: 1px solid #e0e0e0; /* var(--MENU-SEARCH-BOX-color) */
|
||||
border: 1px solid #e0e0e0; /* var(--MENU-SEARCH-BORDER-color) */
|
||||
border-radius: 4px;
|
||||
background-color: #323232; /* var(--MENU-SEARCH-BG-color) */
|
||||
position: relative;
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
--INTERNAL-MENU-SEARCH-color: var(--MENU-SEARCH-color, var(--MENU-SEARCH-BOX-ICONS-color, #e0e0e0));
|
||||
--INTERNAL-MENU-SEARCH-BG-color: var(--MENU-SEARCH-BG-color, #323232);
|
||||
--INTERNAL-MENU-SEARCH-BOX-color: var(--MENU-SEARCH-BOX-color, var(--INTERNAL-MENU-SEARCH-BG-color));
|
||||
--INTERNAL-MENU-SEARCH-BORDER-color: var(--MENU-SEARCH-BORDER-color, var(--MENU-SEARCH-BOX-color, var(--INTERNAL-MENU-SEARCH-BG-color)));
|
||||
|
||||
--INTERNAL-MENU-SECTIONS-ACTIVE-BG-color: var(--MENU-SECTIONS-ACTIVE-BG-color, rgba( 0, 0, 0, .166 ));
|
||||
--INTERNAL-MENU-SECTIONS-BG-color: var(--MENU-SECTIONS-BG-color, #282828);
|
||||
|
@ -99,7 +99,7 @@ a:hover,
|
|||
}
|
||||
|
||||
.searchbox {
|
||||
border-color: var(--INTERNAL-MENU-SEARCH-BOX-color);
|
||||
border-color: var(--INTERNAL-MENU-SEARCH-BORDER-color);
|
||||
background-color: var(--INTERNAL-MENU-SEARCH-BG-color);
|
||||
}
|
||||
|
||||
|
|
|
@ -474,7 +474,7 @@ var variants = {
|
|||
{ name: 'MENU-HOME-LINK-HOVER-color', group: 'header', default: '#808080', tooltip: 'hoverd home button color if configured', },
|
||||
{ name: 'MENU-SEARCH-color', group: 'header', default: '#e0e0e0', tooltip: 'text and icon color of search box', },
|
||||
{ name: 'MENU-SEARCH-BG-color', group: 'header', default: '#323232', tooltip: 'background color of search box', },
|
||||
{ name: 'MENU-SEARCH-BOX-color', group: 'header', fallback: 'MENU-SEARCH-BG-color', tooltip: 'border color of search box', },
|
||||
{ name: 'MENU-SEARCH-BORDER-color', group: 'header', fallback: 'MENU-SEARCH-BG-color', tooltip: 'border color of search box', },
|
||||
|
||||
{ name: 'MENU-SECTIONS-BG-color', group: 'sections', default: '#282828', tooltip: 'background of the menu; this is NOT just a color value but can be a complete CSS background definition including gradients, etc.', },
|
||||
{ name: 'MENU-SECTIONS-ACTIVE-BG-color', group: 'sections', default: 'rgba( 0, 0, 0, .166 )', tooltip: 'background color of the active menu section', },
|
||||
|
|
Loading…
Reference in a new issue