12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372 |
- // Load Third Party Libraries
- @import "configuration/template/base";
- @import "template/modules/scrollbars";
- @import "template/modules/bourbon_essentials";
- @import "template/modules/buttons";
- @import "template/colors";
- // Logo
- $logo-bg: #323640 !default;
- $logo-link: #FFFFFF !default;
- // Nav
- $nav-bg: #3D424E !default;
- $nav-text: #B7B9BD !default;
- $nav-link: #ffffff !default;
- $nav-selected-bg: #323640 !default;
- $nav-selected-link: #ffffff !default;
- $nav-hover-bg: #434753 !default;
- $nav-hover-link: #ffffff !default;
- // Toolbar
- $toolbar-bg: #ffffff !default;
- $toolbar-text: #3D424E !default;
- // Page
- $page-bg: #F6F6F6 !default;
- $page-text: #6f7b8a !default;
- $page-link: #0090D9 !default;
- // Content
- $content-bg: #ffffff !default;
- $content-text: #6f7b8a !default;
- $content-link: #0090D9 !default;
- $content-link2: #da4b46 !default;
- $content-header: #414147 !default;
- $content-tabs-bg: #e3e3e3 !default;
- $content-tabs-text: #808080 !default;
- $content-highlight: #ffffd7 !default;
- // Buttons
- $button-bg: #0090D9 !default;
- $button-text: #ffffff !default;
- // Notice
- $notice-bg: #06A599 !default;
- $notice-text: #ffffff !default;
- // Updates
- $update-bg: #77559D !default;
- $update-text: #ffffff !default;
- // Critical
- $critical-bg: #F45857 !default;
- $critical-text: #ffffff !default;
- // Calculated values
- $primary-accent: button !default;
- $secondary-accent: notice !default;
- $tertiary-accent: critical !default;
- // Initial values
- $primary-accent-bg: $notice-bg;
- $primary-accent-fg: $notice-text;
- $secondary-accent-bg: $notice-bg;
- $secondary-accent-fg: $notice-text;
- $tertiary-accent-bg: $notice-bg;
- $tertiary-accent-fg: $notice-text;
- $element-map: (
- button: $button-bg $button-text,
- notice: $notice-bg $notice-text,
- content: $content-bg $content-text,
- tabs: $content-tabs-bg $content-tabs-text,
- update: $update-bg $update-text,
- critical: $critical-bg $critical-text,
- page: $page-bg $page-text,
- nav: $nav-bg $nav-text,
- toolbar: $toolbar-bg $toolbar-text,
- logo: $logo-bg $logo-link
- );
- // Set based on configuration
- @each $element, $element-parts in $element-map {
- @if $primary-accent == $element {
- $primary-accent-bg: nth($element-parts, 1);
- $primary-accent-fg: nth($element-parts, 2);
- }
- }
- @each $element, $element-parts in $element-map {
- @if $secondary-accent == $element {
- $secondary-accent-bg: nth($element-parts, 1);
- $secondary-accent-fg: nth($element-parts, 2);
- }
- }
- @each $element, $element-parts in $element-map {
- @if $tertiary-accent == $element {
- $tertiary-accent-bg: nth($element-parts, 1);
- $tertiary-accent-fg: nth($element-parts, 2);
- }
- }
- $form-border: #f00;
- $form-field-bg: #00f;
- $form-field-text: #0f0;
- $underline: #ff0;
- $subtle-text: #0ff;
- $ir-slider-bg: #f0f;
- @if (lightness($content-bg) < 50) {
- $form-border: lighten($content-bg, 10%);
- $form-field-bg: lighten($content-bg, 1%);
- $ir-slider-bg: lighten($content-bg, 2%);
- $form-field-text: lighten($content-text, 5%);
- $underline: lighten($content-bg, 3%);
- $subtle-text: darken($content-text, 10%);
- } @else {
- $form-border: darken($content-bg, 10%);
- $form-field-bg: darken($content-bg, 1%);
- $ir-slider-bg: darken($content-bg, 2%);
- $form-field-text: darken($content-text, 5%);
- $underline: darken($content-bg, 3%);
- $subtle-text: lighten($content-text, 10%);
- }
- $form-border-width: 1px;
- // Core
- body {
- background: $page-bg;
- color: $page-text;
- }
- a {
- color: $page-link;
- &:hover {
- color: darken($page-link, 5%);
- }
- }
- .text-gray, .text-grey {
- color: $nav-text;
- }
- .text-update {
- color: $update-bg;
- }
- // Typography
- blockquote {
- border-left: 10px solid darken($content-bg, 7%);
- background: darken($content-bg, 2%);
- p {
- color: darken($page-text, 5%);
- }
- cite {
- color: $page-text;
- }
- }
- code {
- background: $code-bg;
- color: darken($code-text,10%);
- }
- pre {
- background: $pre-bg;
- border: 1px solid $core-border-color;
- code {
- color: $pre-text;
- }
- }
- hr {
- border-bottom: 2px solid $underline;
- }
- .label {
- background: $page-link;
- color: $white;
- }
- .badge {
- background: $update-bg;
- color: $update-text;
- }
- .light-border {
- border-color: $underline !important;
- }
- .subtle-text {
- color: $subtle-text !important;
- }
- // Tables
- td, thead th {
- border-bottom: 1px solid $underline;
- }
- tr {
- td {
- &.gpm-details {
- background-color: darken($content-bg,2%);
- }
- }
- }
- // Tabs
- .tab-bar {
- background: $content-tabs-bg;
- color: $content-tabs-text;
- li {
- &.active {
- span, a {
- background: $content-bg;
- color: $content-text;
- }
- }
- }
- span, a {
- color: $content-tabs-text;
- &:hover {
- color: lighten($content-tabs-text, 10%);
- background: lighten($content-tabs-bg,10%);
- }
- }
- }
- // Buttons
- .button {
- @include button-color($button-bg);
- &.dropdown-toggle {
- border-left: 1px solid darken($button-bg, 5%);
- }
- &.secondary {
- @include button-color(shade($button-bg, 20%));
- &.dropdown-toggle {
- border-left: 1px solid darken(shade($button-bg, 20%), 5%);
- }
- }
- &.danger {
- @include button-color($critical-bg);
- }
- }
- .button-group {
- .dropdown-menu {
- background-color: $button-bg;
- box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
- .divider {
- background-color: $button-bg;
- }
- li > a {
- color: $button-text;
- &:focus, &:hover {
- color: $button-text;
- &:hover {
- background: tint($button-bg,15%);
- }
- }
- }
- &.language-switcher {
- a.active {
- background-color: lighten($button-bg, 10%);
- }
- }
- }
- }
- #admin-main .admin-block a.gumroad-button {
- background: $critical-bg !important;
- color: $critical-text !important;
- }
- #admin-login-wrapper {
- background: radial-gradient(circle at center, lighten($nav-bg, 10%) 40%, darken($nav-bg, 10%) 100%);
- }
- #admin-login {
- background: $nav-bg;
- &.wide form {
- label {
- color: $nav-text;
- }
- input {
- @include placeholder {
- color: rgba($nav-text, 0.5);
- }
- }
- }
- .wrapper-spacer {
- h3 {
- color: rgba(white, 0.4);
- border-bottom: 3px solid rgba($nav-link, 0.1);
- }
- }
- .instructions, p {
- color: rgba($nav-text,0.8);
- }
- h1 {
- background-color: $logo-bg;
- &.text-logo {
- color: $logo-link;
- }
- svg {
- path:first-child {
- fill: darken($logo-bg, 3%);
- }
- path:last-child {
- fill: rgba($logo-link, 0.9) !important;
- }
- }
- }
- h5 {
- color: $nav-text;
- }
- form {
- input {
- background: lighten($nav-bg, 3%);
- color: $nav-link;
- border: 1px solid shade($nav-bg, 20%);
- @include placeholder {
- color: rgba($nav-text, 0.5);
- }
- }
- }
- }
- #admin-sidebar {
- background: $nav-bg;
- a {
- color: rgba($nav-link, 0.9);
- &:hover {
- color: $nav-link;
- }
- }
- }
- #admin-logo {
- background-color: $logo-bg;
- .grav-logo {
- path {
- fill: rgba($logo-link, 0.9) !important;
- }
- &:hover {
- path {
- fill: $logo-link !important;
- }
- }
- }
- a, i {
- color: shade($logo-link, 10%);
- &:hover {
- color: $logo-link;
- }
- }
- }
- #open-handle {
- background-color: darken($logo-bg, 5%);
- border-left: 1px solid lighten($logo-bg, 5%);
- i {
- color: rgba($logo-link, 0.6);
- &:hover {
- color: rgba($logo-link, 0.8);
- }
- }
- }
- #admin-nav-quick-tray {
- background: darken($nav-bg, 2%);
- border-bottom: 1px solid darken($nav-bg, 3%);
- color: $nav-link;
- i:hover {
- @if (lightness($nav-bg) < 50) {
- color: lighten($nav-link, 10%);
- } @else {
- color: darken($nav-link, 10%);
- }
- }
- }
- .block-userinfo {
- img {
- border: 4px solid $form-border;
- }
- }
- #offline-status {
- background-color: $update-bg;
- color: $update-text;
- }
- #admin-user-details, .admin-user-details {
- border-bottom: 1px solid lighten($nav-bg, 5%);
- &:hover img {
- box-shadow: 0px 0px 0 50px lighten($nav-bg, 3%);
- }
- .admin-user-names {
- h4, h5 {
- color: $nav-link;
- }
- }
- }
- #admin-menu {
- li {
- .badges {
- .count {
- color: $nav-link;
- background-color: darken($nav-bg, 5%);
- }
- .updates {
- color: $notice-text;
- background-color: $notice-bg;
- }
- }
- a {
- &:hover {
- background: $nav-hover-bg;
- color: $nav-hover-link;
- .fa {
- color: $nav-hover-link;
- }
- }
- }
- &.selected {
- a {
- background: $nav-selected-bg;
- color: $nav-selected-link;
- border-left: 9px solid shade($button-bg, 15%);
- .fa {
- color: $nav-selected-link;
- }
- }
- }
- }
- }
- #admin-main {
- .grav-update {
- background: $update-bg;
- color: $update-text;
- a.button, span.button, button.button {
- @include button-color(shade($update-bg, 20%), $update-text, true);
- }
- }
- .titlebar {
- background: $toolbar-bg;
- color: $toolbar-text;
- .button-bar {
- .button {
- @include button-color($button-bg, $button-text, false);
- &.danger {
- @include button-color($critical-bg);
- }
- &.success {
- @include button-color($update-bg);
- &.dropdown-toggle {
- border-left-color: darken($update-bg, 7%);
- }
- & + .dropdown-menu {
- background-color: $update-bg;
- }
- }
- }
- span.button {
- @include button-color(rgba($button-bg, 0.5), rgba($button-text, 0.6));
- }
- }
- }
- .lines-button {
- background: rgba($black, 0.1); // move this
- .lines, .lines:before, .lines:after {
- background: $toolbar-text;
- }
- }
- .admin-block {
- background: $content-bg;
- color: $content-text;
- h1 {
- color: $content-header;
- border-bottom: 1px solid $underline;
- }
- //.button {
- // @include button-color($button-bg);
- //}
- }
- .danger, .success {
- &.button-bar {
- background: darken($content-bg, 3%);
- }
- }
- .danger {
- .button {
- @include button-color($critical-bg);
- }
- }
- // Notifications
- .content-padding {
- div[class*=notifications-container] {
- .alert.note {
- background: $content-bg;
- color: $content-text;
- &.alert {
- border-bottom: 2px solid darken($content-bg, 5%);
- }
- a:not(.button) {
- color: $content-link;
- &:hover {
- color: darken($content-link, 5%);
- }
- }
- }
- .alert.warning {
- background: $critical_bg;
- color: $critical_text;
- &.alert {
- border-bottom: 2px solid darken($critical_bg, 5%);
- }
- a {
- color: $critical_text;
- &:hover {
- color: lighten($critical_text, 10%);
- }
- }
- }
- }
- }
- #notifications {
- .badge.alert {
- &.note {
- background: $notice-bg;
- color: $notice-text;
- }
- &.warning {
- background: $critical_bg;
- color: $critical_text;
- }
- }
- }
- }
- .sidebar-mobile-open {
- #admin-main {
- .lines-button {
- .lines, .lines:before, .lines:after {
- background: $logo-link;
- }
- }
- }
- }
- #dependency-missing {
- margin-bottom: 1.75rem;
- .alert {
- padding: 1rem 1.5rem;
- h1 {
- color: $white;
- border-bottom: 0;
- display: inline;
- }
- }
- }
- #admin-dashboard {
- .admin-block {
- li {
- border-bottom: 1px solid $underline;
- }
- }
- .primary-accent {
- @include linear-gradient(darken($primary-accent-bg, 7%), $primary-accent-bg);
- h1 {
- color: $primary-accent-fg;
- border-bottom: 0;
- }
- p {
- color: rgba($primary-accent-fg, 0.95);
- }
- .stat {
- i {
- color: rgba($primary-accent-fg, 0.75);
- }
- }
- .numeric {
- em {
- color: rgba($primary-accent-fg, .85);
- }
- }
- .chart-loader {
- color: shade($primary-accent-bg, 20%);
- }
- }
- .secondary-accent {
- @include linear-gradient(darken($secondary-accent-bg, 7%), $secondary-accent-bg);
- h1 {
- color: $secondary-accent-fg;
- border-bottom: 0;
- }
- p {
- color: rgba($secondary-accent-fg, 0.95);
- }
- .stat {
- i {
- color: rgba($secondary-accent-fg, 0.75);
- }
- }
- .numeric {
- em {
- color: rgba($secondary-accent-fg, .85);
- }
- }
- .chart-loader {
- color: shade($secondary-accent-bg, 20%);
- }
- }
- }
- .sidebar-mobile-open {
- #admin-main {
- .lines-button {
- .lines, .lines:before, .lines:after {
- background: $logo-link;
- }
- }
- }
- }
- // Forms
- form {
- h1, h3 {
- border-bottom: 3px solid $underline;
- }
- h1, h2, h3, h4, h5 {
- color: $content-header;
- }
- .note {
- color: $critical-bg;
- }
- .required {
- color: $content-link2;
- }
- .overlay {
- background: darken($content-bg, 2%);
- pre {
- background: lighten($pre-bg, 3%);
- }
- }
- .form-border {
- border: 1px solid $form-border;
- }
- .form-field-colors {
- background-color: $form-field-bg;
- color: $form-field-text;
- }
- .form-select-wrapper, .selectize-control.single .selectize-input {
- &:after {
- color: $form-field-text;
- }
- }
- .selectize-control {
- &.single, &.multi {
- .selectize-input {
- &, &.full, &.items, &.active {
- color: $form-field-text;
- border-color: $form-border;
- background-color: $form-field-bg;
- }
- input {
- color: $form-field-text;
- }
- a.remove {
- color: $page-bg !important;
- }
- }
- }
- }
- .form-input-wrapper {
- .form-input-addon {
- border: 1px solid $form-border;
- background: $content-bg;
- &.copy-to-clipboard {
- background: $button-bg;
- color: $button-text;
- &:hover {
- background: darken($button-bg, 5%);
- }
- }
- }
- input[name="data[folder]"].highlight {
- background-color: $content-highlight;
- }
- }
- .selectize-control.single.plugin-remove_button .selectize-input,
- .selectize-control.multi .selectize-input {
- .item, .remove-single {
- color: $content-bg !important;
- background: $content-text;
- &.active {
- background: $notice-bg;
- color: $notice-text;
- }
- }
- }
- select {
- border: $form-border-width solid $form-border;
- background: $form-field-bg;
- color: $form-field-text;
- }
- input[type=text],
- input[type=password],
- input[type=email],
- input[type=date],
- input[type=tel],
- input[type=time],
- input[type=week],
- input[type=month],
- input[type=number],
- input[type=color],
- input[type=url] {
- border: $form-border-width solid $form-border;
- background: $form-field-bg;
- color: $form-field-text;
- }
- input[readonly=readonly] {
- background: $content-bg;
- }
- textarea {
- color: $form-field-text;
- border: $form-border-width solid $form-border;
- background: $form-field-bg;
- }
- .form-frontmatter-wrapper {
- border: $form-border-width solid $form-border;
- }
- .button-bar {
- background: lighten($form-border,7%);
- }
- .checkboxes {
- label:before {
- background: $form-field-bg;
- border: $form-border-width solid $form-border;
- }
- }
- input, textarea, select {
- @include placeholder {
- color: rgba($form-field-text, 0.4);
- }
- }
- .g-colorpicker {
- width: 230px;
- .g-colorpicker-preview-wrap {
- border-color: $form-border;
- }
- input {
- }
- }
- .form-input-file {
- border: 2px dashed $form-border;
- p {
- color: $form-field-text;
- }
- ul {
- color: $primary-accent-fg;
- background: $primary-accent-bg;
- }
- }
- .file-thumbnail-remove {
- background: $button-bg;
- .fa {
- color: $button-text;
- }
- &:hover {
- background: $button-text;
- .fa {
- color: $button-bg;
- }
- }
- }
- // Range
- input[type=range] {
- &::-webkit-slider-runnable-track {
- background: $ir-slider-bg;
- border: 1px solid $form-border;
- }
- &::-webkit-slider-thumb {
- border: 1px solid $form-border;
- background: $button-bg;
- }
- &:focus::-webkit-slider-runnable-track {
- background: $ir-slider-bg;
- }
- &::-moz-range-track {
- background: $ir-slider-bg;
- border: 1px solid $form-border;
- }
- &::-moz-range-progress {
- background: $ir-slider-bg;
- }
- &::-moz-range-thumb {
- border: 1px solid $form-border;
- background: $button-bg;
- }
- &::-ms-fill-lower, &::-ms-fill-upper {
- background: $ir-slider-bg;
- border: 1px solid $form-border;
- }
- &::-ms-thumb {
- border: 1px solid $form-border;
- background: $button-bg;
- }
- &:focus::-ms-fill-lower, &:focus::-ms-fill-upper {
- background: $ir-slider-bg;
- }
- }
- }
- // Display RESET
- form {
- .form-display-wrapper {
- table {
- border: 1px solid $form-border;
- th {
- background-color: lighten($form-border, 6%);
- border-bottom: 3px solid $form-border;
- border-right: 1px solid $form-border;
- }
- td {
- border-right: 1px solid $form-border;
- }
- tr {
- border-bottom: 1px solid $form-border;
- }
- }
- }
- }
- .grav-editor-resizer {
- background-color: $form-border;
- //@include linear-gradient(top, rgba(213,213,213,1) 0%, rgba(213,213,213,1) 20%, rgba(237,237,237,1) 20%, rgba(237,237,237,1) 40%, rgba(213,213,213,1) 40%, rgba(213,213,213,1) 60%, rgba(237,237,237,1) 60%, rgba(237,237,237,1) 80%, rgba(213,213,213,1) 80%, rgba(213,213,213,1) 100%);
- }
- .form-order-wrapper {
- ul.orderable {
- li {
- border: 1px solid $form-border;
- background: lighten($content-bg, 2%);
- color: $content-text;
- &.drag-handle {
- background: $form-field-bg;
- color: $form-field-text;
- }
- &[data-active-id] {
- border-color: $content-link;
- }
- }
- &.disabled li {
- opacity: 0.7;
- }
- }
- }
- .form-list-wrapper {
- ul[data-collection-holder] {
- > li {
- border: 1px solid $form-border;
- background: lighten($content-bg, 4%);
- color: lighten($content-text, 10%);
- .item-actions {
- color: darken($content-text, 10%);
- }
- }
- }
- .collection-sort {
- background: darken($content-bg, 2%);
- border-right: 1px solid $form-border;
- }
- }
- .form-fieldset {
- background-color: darken($content-bg, 1%);
- border: 1px solid $form-border;
- }
- .form-fieldset--label {
- background-color: darken($content-bg, 4%);
- &:hover,
- .form-fieldset input:checked + & {
- background-color: darken($content-bg, 6%);
- }
- }
- #admin-main {
- #admin-topbar {
- background: $content-tabs-bg;
- }
- .form-tabs {
- background: $content-tabs-bg;
- &.side-tabs {
- > .tabs-nav {
- background: $content-bg;
- a {
- color: $content-link;
- cursor: pointer;
- &:hover {
- background: $page-bg;
- }
- &.active {
- background: lighten($content-tabs-bg, 5%);
- color: $content-tabs-text;
- }
- }
- }
- > .tabs-content {
- box-shadow: -20px 0 50px -40px rgba(#000, 0.3);
- }
- }
- .tabs-nav {
- a {
- color: $content-tabs-text;
- &:hover {
- color: darken($content-tabs-text, 5%);
- background: darken($content-tabs-bg,5%);
- }
- &.active {
- background: $content-bg;
- color: $content-text;
- }
- }
- }
- &.subtle {
- background: $content-bg;
- .tabs-nav {
- background: linear-gradient(to bottom, rgba($content-bg,0), shade($content-bg,3%));
- }
- a {
- color: shade($content-text, 10%);
- border: 0 solid transparent;
- &:hover {
- color: shade($content-text, 20%);
- background: linear-gradient(to bottom, rgba($content-bg,0), shade($content-bg,7%));
- }
- border-bottom: 1px solid $form-border;
- &.active {
- border-top: 1px solid $form-border;
- border-left: 1px solid $form-border;
- border-right: 1px solid $form-border;
- border-bottom: 0;
- &:hover {
- background: $content-bg;
- }
- &:first-child {
- border-left: 0;
- }
- &:last-child {
- border-right: 0;
- }
- }
- }
- }
- .tabs-content {
- background: $content-bg;
- }
- }
- }
- .switch-grav {
- background-color: $form-field-bg;
- border: $form-border-width solid $form-border;
- label {
- color: $content-text;
- transition: background-color 0.5s ease;
- }
- &.switch-toggle input.highlight:checked + label {
- background: $button-bg;
- color: $button-text;
- }
- &.switch-toggle input:checked + label {
- color: $content-bg;
- background: $content-text;
- }
- }
- // Toaster
- .toast {
- background-color: #030303;
- }
- .toast-success {
- background-color: $update-bg;
- .button {
- background: lighten($update-bg, 5%);
- @include button-color(lighten($update-bg, 10%));
- }
- }
- .toast-error {
- background-color: $critical-bg;
- .button {
- background-color: darken($critical-bg, 10);
- @include button-color(darken($critical-bg, 20));
- }
- }
- .toast-info {
- background-color: $notice-bg;
- .button {
- background-color: darken($notice-bg, 10);
- @include button-color(darken($notice-bg, 20));
- }
- }
- // Info
- .info {
- background: $update-bg;
- color: $update-text;
- a {
- color: darken($update-text, 5%);
- &:hover {
- color: $update-text;
- }
- }
- a.button, span.button, button.button {
- @include button-color(shade($update-bg, 20%), $update-text, true);
- }
- }
- .info-reverse {
- color: $update-bg;
- }
- .notice, .note {
- background: $notice-bg;
- color: $notice-text;
- a {
- color: darken($notice-text, 5%);
- &:hover {
- color: $notice-text;
- }
- }
- a.button, span.button, button.button {
- @include button-color(shade($notice-bg, 20%), $notice-text, true);
- }
- }
- .notice-reverse, .note-reverse {
- color: $notice-bg;
- }
- .error, .warning {
- background: $critical-bg;
- color: $critical-text;
- a {
- color: darken($critical-text, 5%);
- &:hover {
- color: $critical-text;
- }
- }
- a.button, span.button, button.button {
- @include button-color(shade($critical-bg, 20%), $critical-text, true);
- }
- }
- .error-reverse, .warning-reverse {
- color: $critical-bg;
- }
- .primary-accent {
- background: darken($primary-accent-bg, 5%);
- color: $primary-accent-fg;
- .button-bar {
- background: darken($primary-accent-bg, 7%);
- }
- .button {
- @include button-color($primary-accent-bg, $primary-accent-fg);
- }
- }
- .secondary-accent {
- background: darken($secondary-accent-bg, 5%);
- color: $secondary-accent-fg;
- .button-bar {
- background: darken($secondary-accent-bg, 7%);
- }
- .button {
- @include button-color($secondary-accent-bg, $secondary-accent-fg);
- }
- .button-group {
- .dropdown-menu {
- background: $secondary-accent-bg;
- li {
- a {
- &:hover {
- background: tint($secondary-accent-bg,15%);
- }
- }
- }
- }
- }
- }
- .card-item {
- border: 1px solid $form-border;
- background: lighten($content-bg, 3%);
- .gpm-actions {
- background: darken($content-bg, 2%);
- }
- &.active-theme {
- border: 1px solid $notice-bg;
- .gpm-actions {
- background: $notice-bg;
- color: $notice-text;
- }
- }
- }
- .user-details {
- h2 {
- color: $content-header;
- span {
- color: $content-text;
- }
- }
- .gravatar {
- color: lighten($content-text,20%);
- a {
- color: $content-text !important;
- }
- }
- }
- #admin-main .grav-editor-toolbar .dropdown-menu {
- box-shadow: 0 3px 6px rgba(0, 0, 0, .075);
- border: 1px solid $form-border;
- background: lighten($content-bg, 5%);
- }
- #admin-main .grav-editor-toolbar {
- border: 1px solid $form-border;
- border-top-right-radius: $border-radius;
- border-top-left-radius: $border-radius;
- background: lighten($content-bg, 5%);
- ul {
- a {
- color: $content-text;
- &:hover, &:focus {
- background: darken($content-bg, 3%);
- color: $form-field-text;
- border-top: 1px solid $form-border;
- }
- }
- .editor-active {
- a {
- cursor: auto;
- background: lighten($content-bg, 8%);
- border-top: 1px solid $form-border;
- border-left: 1px solid $form-border;
- border-right: 1px solid $form-border;
- &:hover {
- background: darken($content-bg, 3%);
- color: $form-field-text;
- border-top: 0;
- border-bottom: 1px solid $form-border;
- }
- }
- &:last-child a, &:last-child a:hover {
- border-right: 1px solid transparent;
- }
- }
- .button-disabled a {
- color: rgba($content-text, 0.5);
- &:hover, &:focus {
- background: lighten($content-bg, 5%);
- color: $content-text;
- border-left: 1px solid transparent;
- border-right: 1px solid transparent;
- }
- }
- }
- }
- #admin-main .grav-editor-hide-toolbar + div {
- border: 1px solid $form-border;
- }
- .grav-editor-content, .grav-editor-preview {
- border: 1px solid $form-border;
- border-top: 0;
- }
- .grav-mdeditor-content {
- border: 1px solid $form-border;
- }
- [data-mode=split] {
- .grav-mdeditor-code {
- border-right: 1px solid $form-border;
- }
- }
- .primary-accent {
- .ct-chart {
- .ct-series {
- &.ct-series-a {
- .ct-bar {
- stroke: rgba($primary-accent-fg, 0.85) !important;
- }
- .ct-slice-donut {
- stroke: $primary-accent-fg !important;
- }
- }
- &.ct-series-b {
- .ct-slice-donut {
- stroke: rgba($primary-accent-fg, 0.2) !important;
- }
- }
- }
- .ct-label {
- fill: rgba($primary-accent-fg, 0.5);
- color: rgba($primary-accent-fg, 0.5);
- }
- .ct-grid {
- stroke: rgba($primary-accent-fg, 0.2);
- }
- }
- }
- .secondary-accent {
- .ct-chart {
- .ct-series {
- &.ct-series-a {
- .ct-bar {
- stroke: rgba($secondary-accent-fg, 0.85) !important;
- }
- .ct-slice-donut {
- stroke: $secondary-accent-fg !important;
- }
- }
- &.ct-series-b {
- .ct-slice-donut {
- stroke: rgba($secondary-accent-fg, 0.2) !important;
- }
- }
- }
- .ct-label {
- fill: rgba($secondary-accent-fg, 0.5);
- color: rgba($secondary-accent-fg, 0.5);
- }
- .ct-grid {
- stroke: rgba($secondary-accent-fg, 0.2);
- }
- }
- }
- .dropzone {
- background: $form-field-bg;
- border: 1px $form-border solid;
- &.dz-drag-hover {
- border-color: darken($form-border, 10%);
- background: rgba(0,0,0,0.04);
- }
- .dz-preview {
- border:1px solid darken($content-bg,5%);
- .dz-success-mark, .dz-error-mark {
- color: $white;
- }
- .dz-success-mark {
- background-color: lighten($button-bg,10%);
- }
- .dz-error-mark {
- background-color: $critical-bg;
- }
- .dz-progress {
- background: #d7d7d7;
- .dz-upload {
- background-color: lighten($button-bg,10%);
- }
- }
- .dz-error-message {
- background: lighten($content-bg,3%);
- color: $critical-bg;
- }
- &:hover {
- .dz-details {
- box-shadow: 0px 0px 20px -5px rgba(0,0,0,0.4);
- }
- }
- .dz-remove, .dz-unset, .dz-view, .dz-insert, .dz-metadata {
- background: darken($content-bg,7%);
- &:hover {
- &:after {
- color: $content-link;
- }
- }
- &:after {
- color: $content-text;
- }
- }
- .dz-remove {
- &:hover {
- &:after {
- color: $critical-bg;
- }
- }
- }
- }
- &.dz-clickable {
- .dz-message, .dz-message span {
- @if (lightness($form-field-bg) < 50) {
- color: lighten($content-text,20%);
- } @else {
- color: lighten($content-text,20%);
- }
- .dz-button {
- @if (lightness($form-field-bg) < 50) {
- background-color: lighten($content-bg, 5%);
- } @else {
- background-color: darken($content-bg, 5%);
- }
- }
- }
- }
- }
- .gpm {
- > table > tbody {
- > tr {
- border-bottom: 1px solid $underline;
- &:hover {
- @if (lightness($content-tabs-bg) < 50) {
- background: lighten($content-bg, 2%);
- } @else {
- background: darken($content-bg, 5%);
- }
- }
- }
- }
- .gpm-name {
- color: lighten($content-text, 15%);
- }
- .gpm-version {
- color: lighten($content-text, 10%);
- }
- .gpm-ribbon, .badge.update {
- background: $update-bg;
- a, & {
- color: $update-text !important;
- &:hover {
- background: shade($update-bg, 15%);
- }
- }
- }
- .gpm-update {
- .gpm-name {
- color: $button-bg;
- }
- }
- .gpm-item-info {
- border-bottom: 3px solid $underline;
- .gpm-item-icon {
- color: darken($content-bg, 2%);
- }
- }
- .gpm-actions {
- .disabled {
- color: lighten($content-text, 10%);
- }
- }
- .gpm-testing {
- background-color: $secondary-accent-bg;
- color: $secondary-accent-fg;
- }
- }
- .pages-list {
- border-top: 1px solid $underline;
- .row {
- border-bottom: 1px solid $underline;
- &:hover {
- background: lighten($content-bg, 2%);
- }
- p.page-route {
- color: $content-text;
- .spacer {
- color: $content-text;
- }
- }
- .badge.lang {
- background-color: $content-tabs-bg;
- color: $content-tabs-text;
- }
- .badge.lang.info {
- background-color: $update-bg;
- color: $update-text;
- }
- }
- .page-home {
- color: $subtle-text;
- }
- .page-info {
- color: $subtle-text;
- }
- }
- #admin-topbar {
- #admin-lang-toggle {
- z-index: 3;
- button {
- @include button-color($update-bg);
- }
- .dropdown-menu {
- background: $update-bg;
- }
- }
- .switch-grav {
- background-color: lighten($content-tabs-bg,10%);
- }
- .switch-toggle {
- input:checked + label {
- color: $white;
- }
- input + label {
- color: $content-tabs-text;
- @if (lightness($content-tabs-bg) < 50) {
- background: lighten($content-tabs-bg,5%);
- } @else {
- background: darken($content-tabs-bg,5%);
- }
- }
- input.highlight:checked + label {
- background: $button-bg;
- }
- }
- }
- body .selectize-dropdown .optgroup-header {
- color: $black;
- border-bottom: 1px solid #eee;
- background-color: #fafafa;
- }
- body .bootstrap-datetimepicker-widget {
- &.dropdown-menu.bottom {
- background-color: $form-field-bg;
- color: $form-field-text;
- border-color: $form-border;
- &:before {
- border-bottom-color: $form-border;
- }
- &:after {
- border-bottom-color: $form-field-bg;
- }
- }
- table {
- td span:hover, th:hover, td.day:hover {
- @if (lightness($form-field-bg) < 50) {
- background: lighten($form-field-bg,5%) !important;
- } @else {
- background: darken($form-field-bg,3%) !important;
- }
- }
- td.active, td.active:hover {
- background-color: $update-bg !important;
- color: $update-text !important;
- }
- }
- }
- .scheduler-content {
- pre {
- background: darken($content-bg, 2%);
- border-color: $form-border;
- code {
- color: $content-header;
- }
- }
- }
- #phpinfo {
- th {
- background: $form-field-bg;
- }
- td {
- word-wrap: break-word;
- &:first-child {
- color: $content-header;
- }
- }
- }
- .remodal {
- @if (lightness($content-bg) < 50) {
- background: lighten($content-bg, 3%);
- } @else {
- background: $content-bg;
- }
- color: $content-text;
- // box-shadow: 0 10px 20px rgba(0,0,0,0.5);
- }
- .remodal-close {
- color: $content-text;
- }
- .remodal-close:hover,
- .remodal-close:focus {
- color: darken($content-text, 20%);
- }
- // Scrollbars
- * {
- @include native-scrollbars(rgba($content-text, 0.4), $content-bg);
- }
- .simplebar-scrollbar:before {
- background-color: $page-text;
- }
- #admin-sidebar .simplebar-scrollbar:before {
- background-color: $nav-text;
- }
- #page-filtering {
- .page-shortcuts {
- .button {
- @include button-color(rgba(darken($content-text,5%), 0.5));
- }
- }
- }
- .reports-content {
- .report-output {
- table {
- thead {
- tr {
- th {
- background-color: darken($content-bg, 2%);
- color: $content-header;
- }
- }
- }
- }
- }
- }
- .preview-wrapper {
- iframe {
- @if (lightness($page-bg) < 50) {
- border: 1px solid lighten($page-bg, 3%)
- } @else {
- border: 1px solid darken($page-bg, 3%)
- }
- }
- }
- #backups-stats {
- .backups-usage-wrapper {
- > div {
- background: linear-gradient(-90deg, darken($primary-accent-bg, 10%) 0, darken($primary-accent-bg, 15%) 100%);
- &.full {
- background: linear-gradient(-90deg, darken($critical-bg, 5%) 0, darken($critical-bg, 35%) 100%);
- }
- }
- }
- }
- // Log Viewer
- .logs-output {
- table.noflex {
- td.level .badge {
- &.error, &.critical, &.alert {
- background-color: #DC3023;
- color: #fff;
- }
- &.notice, &.warning {
- background-color: #E08A1E;
- color: #fff;
- }
- &.debug {
- background-color: #26A65B;
- color: #fff;
- }
- &.info {
- background-color: #22A7F0;
- color: #fff;
- }
- &.emergency {
- background-color: #8E44AD;
- color: #fff;
- }
- }
- }
- }
- .permission-container {
- overflow: hidden;
- }
- [data-grav-field="parents"] {
- .form-input-wrapper {
- &:hover {
- color: $content-link;
- }
- }
- }
- // loader
- .grav-loader,
- .grav-loader:after {
- border-radius: 50%;
- width: 10em;
- height: 10em;
- }
- .grav-loader {
- margin: 60px auto;
- font-size: 10px;
- position: relative;
- text-indent: -9999em;
- border-top: 1.1em solid transparentize($content-text, 0.8);
- border-right: 1.1em solid transparentize($content-text, 0.8);
- border-bottom: 1.1em solid transparentize($content-text, 0.8);
- border-left: 1.1em solid $content-text;
- transform: translateZ(0);
- animation: gravloader 1.1s infinite linear;
- }
- @-webkit-keyframes gravloader {
- 0% {
- -webkit-transform: rotate(0deg);
- transform: rotate(0deg);
- }
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
- @keyframes gravloader {
- 0% {
- -webkit-transform: rotate(0deg);
- transform: rotate(0deg);
- }
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
- // Range-field
- @import "template/modules/input-range";
- // Page Column View
- #pages-filters {
- background: $nav-bg;
- color: rgba($nav-text, 0.9);
- .button-border {
- @include button-color-border(lighten($nav-bg, 10%), $nav-text);
- color: $nav-text !important;
- }
- .filters-bar {
- input {
- color: $nav-link;
- border-color: lighten($nav-bg, 12%);
- background-color: lighten($nav-bg, 6%);
- @include placeholder {
- color: rgba($nav-text, 0.5);
- }
- }
- }
- .filters-advanced {
- fieldset {
- border: 1px solid lighten($nav-bg, 5%);
- legend {
- background: $nav-bg;
- color: $nav-text;
- font-weight: bold;
- }
- }
- }
- form {
- .checkboxes {
- label:before {
- background-color: lighten($nav-bg, 8%);
- border-color: lighten($nav-bg, 12%);
- color: $nav-link;
- }
- }
- }
- }
- #pages-columns {
- background: $content-bg;
- border-top: 1px solid rgba($form-border, 0.5);
- &.fjs-container {
- .fjs-col {
- border-right: 1px solid rgba($form-border, 0.5);
- border-bottom: 1px solid rgba($form-border, 0.5);
- }
- }
- .fjs-item {
- &:hover {
- .fjs-info > b {
- color: $content-link;
- }
- .fjs-action-toggle, .fjs-children {
- color: $content-link !important;
- }
- }
- .fjs-icon {
- background-color: #999;
- box-shadow: 0px 0px 0px 1px lighten($form-border, 20%);
- &.home {
- background-color: $flat-blue-2;
- }
- &.visible {
- background-color: $flat-blue-1;
- }
- &.lock {
- background-color: $flat-orange-2;
- }
- &.modular {
- background-color: $flat-purple-1;
- }
- &:after {
- border: 1px solid $content-bg;
- }
- &.badge-published:after {
- background-color: $flat-green-4;
- }
- &.badge-unpublished:after {
- background-color: $flat-red-1;
- }
- .badge-lang {
- background-color: darken($content-tabs-bg, 2%);
- color: darken($content-tabs-text, 5%);
- border: 1px solid $content-bg;
- &.translated {
- background-color: $update-bg;
- color: $update-text;
- }
- &.not-available {
- background-color: $nav-selected-bg;
- color: $nav-selected-link;
- }
- }
- }
- .fjs-info {
- > b {
- color: $content-text;
- }
- > em {
- color: lighten($content-text, 10%);
- }
- }
- .fjs-actions {
- .child-count {
- background-color: darken($content-bg, 10%);
- color: $content-text;
- }
- }
- .fjs-action-toggle {
- color: $primary-accent-bg;
- }
- .fjs-action-toggle, .fjs-children {
- @include button-color-border($form-border, rgba($page-text, 0.5));
- &:hover {
- @if (lightness($form-field-bg) < 50) {
- border-color: lighten($form-border, 5%);
- } @else {
- border-color: darken($form-border, 5%);
- }
- }
- }
- > a {
- position: relative;
- }
- &.fjs-active {
- & > .fjs-item-wrapper {
- @if (lightness($form-field-bg) < 50) {
- background-color: lighten($content-bg, 4%);
- } @else {
- background-color: darken($content-bg, 4%);
- }
- a {
- background: none;
- }
- }
- }
- $highlight-color: #FFFF00;
- &.filters-hit {
- & > .fjs-item-wrapper {
- background-color: lighten($highlight-color, 46%);
- }
- &.fjs-active > .fjs-item-wrapper {
- background-color: lighten($highlight-color, 42%);
- }
- }
- }
- .tags {
- .tag {
- margin: 0 .15rem;
- }
- .tag-published {
- background-color: #219e0d;
- }
- .tag-visible {
- background-color: #018fd9;
- }
- .tag-non-routable {
- background-color: #ff392a;
- }
- }
- .langs {
- .badge {
- align-items: center;
- background-color: darken($content-tabs-bg, 2%);
- color: darken($content-tabs-text, 5%);
- }
- .lang:hover {
- .badge {
- background-color: $page-link;
- color: $page-bg;
- }
- }
- .lang-translated {
- .fa { color: #219e0d; }
- }
- .lang-non-translated {
- .fa { color: #ff392a; }
- }
- }
- .dropdown-menu {
- background-color: darken($content-bg, 5%) !important;
- .divider {
- @if (lightness($form-field-bg) < 50) {
- border-top: 1px solid darken($form-border,8%);
- } @else {
- border-top: 1px solid $form-border;
- }
- }
- td, thead th {
- border-bottom: 1px solid $form-border;
- }
- .dropdown-item {
- color: $content-text;
- background-color: inherit;
- &:hover {
- color: $page-link;
- background-color: darken($content-bg, 8%) !important;
- }
- &.danger {
- .fa {
- color: $critical-bg;
- }
- &:hover {
- background-color: $critical-bg !important;
- .fa {
- color: $critical-text;
- }
- }
- }
- }
- .action-bar {
- background: darken($page-bg, 4%);
- a {
- color: $page-text;
- &:hover {
- background: $page-bg !important;
- color: $page-link !important;
- }
- }
- }
- .fa {
- color: #999;
- }
- a:not(.lang):hover .fa {
- color: $page-link;
- }
- .infos {
- tr td {
- color: $content-text;
- }
- tr td:first-child {
- color: lighten($content-text, 10%);
- }
- }
- }
- }
- #pages-content-wrapper {
- .fjs-path-bar {
- background-color: $content-bg;
- }
- }
- // Flex Pages Breadcrumbs
- .breadcrumb-node {
- &:hover span {
- text-decoration: none;
- color: $content-link;
- }
- & > i:not(.fa) {
- background-color: #999;
- box-shadow: 0px 0px 0px 1px #fff;
- &.home {
- background-color: $flat-blue-2;
- }
- &.visible {
- background-color: $flat-blue-1;
- }
- &.lock {
- background-color: $flat-orange-2;
- }
- &.modular {
- background-color: $flat-purple-1;
- }
- }
- }
- // New Parents Field
- [data-remodal-id].parents-container {
- $remodal_border: #f00;
- @if (lightness($content-bg) < 50) {
- $remodal_border: lighten($content-bg, 10%);
- } @else {
- $remodal_border: darken($content-bg, 10%);
- }
- form > h1 {
- border-bottom: 1px solid $remodal_border;
- }
- .fjs-col {
- border-right: 1px solid $remodal_border;
- }
- .fjs-item a {
- color: $content-link;
- }
- }
- .parents-content.fjs-container {
- .fjs-active a {
- background-color: $button-bg;
- color: $button-text;
- }
- }
- // New 1.7 Permissions
- .permissions-container {
- .switch-toggle {
- input:checked+label {
- }
- input.label0:checked+label {
- color: $white;
- background: $flat-pomegranate !important;
- }
- input.label1:checked+label {
- color: $white;
- background-color: $color-olive !important;
- }
- }
- .badge {
- &.badge-denied {
- background: $flat-pomegranate !important;
- }
- &.badge-access {
- background-color: $color-olive !important;
- }
- &.badge-super {
- background-color: $flat-wisteria !important;
- }
- }
- fieldset {
- border: 1px solid $form-border;
- legend {
- background-color: $content-bg;
- color: $content-header;
- }
- fieldset {
- legend {
- border-bottom: 1px solid $form-border;
- }
- }
- }
- .crudp-container {
- .checkboxes.toggleable {
- label {
- border-color: $form-border ;
- background-color: $form-field-bg;
- }
- }
- .checkboxes input[type=checkbox] + label:before {
- color: rgba($content-text, 0.3);
- }
- .checkboxes[data-_check-status="1"] input[type=checkbox] + label {
- background-color: $color-olive;
- color: $white;
- &:before {
- color: $white;
- }
- }
- .checkboxes[data-_check-status="2"] input[type=checkbox] + label {
- background-color: $flat-pomegranate;
- color: $white;
- &:before {
- color: $white;
- }
- }
- }
- }
- .permission-container {
- .permission-name {
- span:not(.badge) {
- background-color: $content-bg;
- }
- span.badge {
- border: 2px solid $content-bg;
- }
- }
- }
- // Icon Picker
- .icon-set {
- background: lighten($content-bg, 2%);
- }
- // Cron field
- .jqCron-cross,
- .jqCron-selector-title {
- border: 1px solid $form-border;
- }
- .jqCron-container.disable .jqCron-cross:hover,
- .jqCron-container.disable .jqCron-selector-title:hover,
- .jqCron-cross,
- .jqCron-selector-title {
- background: $form-field-bg;
- border-color: $form-border;
- }
- .jqCron-cross:hover,
- .jqCron-selector-title:hover {
- background-color: darken($form-field-bg,10%);
- }
- .jqCron-selector-list {
- background-color: darken($form-field-bg,10%);
- border: 1px solid $form-border;
- }
- .jqCron-selector-list li.selected {
- background: $primary-accent-bg;
- color: $primary-accent-fg;
- }
- .jqCron-selector-list li:hover {
- background: $form-field-bg;
- }
- .jqCron-error .jqCron-selector-title {
- background: $critical-bg;
- border: 1px solid darken($critical-bg, 10%);
- color: $critical-text;
- }
- .jqCron-container.disable * {
- color: darken($form-field-text, 20%);
- }
- .jqCron-container.disable .jqCron-selector-title {
- background: $content-bg !important;
- }
- .hint-icon {
- color: $notice_bg;
- }
|