preset.scss 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364
  1. // Load Third Party Libraries
  2. @import "configuration/template/base";
  3. @import "template/modules/scrollbars";
  4. @import "template/modules/bourbon_essentials";
  5. @import "template/modules/buttons";
  6. @import "template/colors";
  7. // Logo
  8. $logo-bg: #323640 !default;
  9. $logo-link: #FFFFFF !default;
  10. // Nav
  11. $nav-bg: #3D424E !default;
  12. $nav-text: #B7B9BD !default;
  13. $nav-link: #ffffff !default;
  14. $nav-selected-bg: #323640 !default;
  15. $nav-selected-link: #ffffff !default;
  16. $nav-hover-bg: #434753 !default;
  17. $nav-hover-link: #ffffff !default;
  18. // Toolbar
  19. $toolbar-bg: #ffffff !default;
  20. $toolbar-text: #3D424E !default;
  21. // Page
  22. $page-bg: #F6F6F6 !default;
  23. $page-text: #6f7b8a !default;
  24. $page-link: #0090D9 !default;
  25. // Content
  26. $content-bg: #ffffff !default;
  27. $content-text: #6f7b8a !default;
  28. $content-link: #0090D9 !default;
  29. $content-link2: #da4b46 !default;
  30. $content-header: #414147 !default;
  31. $content-tabs-bg: #e3e3e3 !default;
  32. $content-tabs-text: #808080 !default;
  33. $content-highlight: #ffffd7 !default;
  34. // Buttons
  35. $button-bg: #0090D9 !default;
  36. $button-text: #ffffff !default;
  37. // Notice
  38. $notice-bg: #06A599 !default;
  39. $notice-text: #ffffff !default;
  40. // Updates
  41. $update-bg: #77559D !default;
  42. $update-text: #ffffff !default;
  43. // Critical
  44. $critical-bg: #F45857 !default;
  45. $critical-text: #ffffff !default;
  46. // Calculated values
  47. $primary-accent: button !default;
  48. $secondary-accent: notice !default;
  49. $tertiary-accent: critical !default;
  50. // Initial values
  51. $primary-accent-bg: $notice-bg;
  52. $primary-accent-fg: $notice-text;
  53. $secondary-accent-bg: $notice-bg;
  54. $secondary-accent-fg: $notice-text;
  55. $tertiary-accent-bg: $notice-bg;
  56. $tertiary-accent-fg: $notice-text;
  57. $element-map: (
  58. button: $button-bg $button-text,
  59. notice: $notice-bg $notice-text,
  60. content: $content-bg $content-text,
  61. tabs: $content-tabs-bg $content-tabs-text,
  62. update: $update-bg $update-text,
  63. critical: $critical-bg $critical-text,
  64. page: $page-bg $page-text,
  65. nav: $nav-bg $nav-text,
  66. toolbar: $toolbar-bg $toolbar-text,
  67. logo: $logo-bg $logo-link
  68. );
  69. // Set based on configuration
  70. @each $element, $element-parts in $element-map {
  71. @if $primary-accent == $element {
  72. $primary-accent-bg: nth($element-parts, 1);
  73. $primary-accent-fg: nth($element-parts, 2);
  74. }
  75. }
  76. @each $element, $element-parts in $element-map {
  77. @if $secondary-accent == $element {
  78. $secondary-accent-bg: nth($element-parts, 1);
  79. $secondary-accent-fg: nth($element-parts, 2);
  80. }
  81. }
  82. @each $element, $element-parts in $element-map {
  83. @if $tertiary-accent == $element {
  84. $tertiary-accent-bg: nth($element-parts, 1);
  85. $tertiary-accent-fg: nth($element-parts, 2);
  86. }
  87. }
  88. $form-border: #f00;
  89. $form-field-bg: #00f;
  90. $form-field-text: #0f0;
  91. $underline: #ff0;
  92. $subtle-text: #0ff;
  93. $ir-slider-bg: #f0f;
  94. @if (lightness($content-bg) < 50) {
  95. $form-border: lighten($content-bg, 10%);
  96. $form-field-bg: lighten($content-bg, 1%);
  97. $ir-slider-bg: lighten($content-bg, 2%);
  98. $form-field-text: lighten($content-text, 5%);
  99. $underline: lighten($content-bg, 3%);
  100. $subtle-text: darken($content-text, 10%);
  101. } @else {
  102. $form-border: darken($content-bg, 10%);
  103. $form-field-bg: darken($content-bg, 1%);
  104. $ir-slider-bg: darken($content-bg, 2%);
  105. $form-field-text: darken($content-text, 5%);
  106. $underline: darken($content-bg, 3%);
  107. $subtle-text: lighten($content-text, 10%);
  108. }
  109. $form-border-width: 1px;
  110. // Core
  111. body {
  112. background: $page-bg;
  113. color: $page-text;
  114. }
  115. a {
  116. color: $page-link;
  117. &:hover {
  118. color: darken($page-link, 5%);
  119. }
  120. }
  121. .text-gray, .text-grey {
  122. color: $nav-text;
  123. }
  124. .text-update {
  125. color: $update-bg;
  126. }
  127. // Typography
  128. blockquote {
  129. border-left: 10px solid darken($content-bg, 7%);
  130. background: darken($content-bg, 2%);
  131. p {
  132. color: darken($page-text, 5%);
  133. }
  134. cite {
  135. color: $page-text;
  136. }
  137. }
  138. code {
  139. background: $code-bg;
  140. color: darken($code-text,10%);
  141. }
  142. pre {
  143. background: $pre-bg;
  144. border: 1px solid $core-border-color;
  145. code {
  146. color: $pre-text;
  147. }
  148. }
  149. hr {
  150. border-bottom: 2px solid $underline;
  151. }
  152. .label {
  153. background: $page-link;
  154. color: $white;
  155. }
  156. .badge {
  157. background: $update-bg;
  158. color: $update-text;
  159. }
  160. .light-border {
  161. border-color: $underline !important;
  162. }
  163. .subtle-text {
  164. color: $subtle-text !important;
  165. }
  166. // Tables
  167. td, thead th {
  168. border-bottom: 1px solid $underline;
  169. }
  170. tr {
  171. td {
  172. &.gpm-details {
  173. background-color: darken($content-bg,2%);
  174. }
  175. }
  176. }
  177. // Tabs
  178. .tab-bar {
  179. background: $content-tabs-bg;
  180. color: $content-tabs-text;
  181. li {
  182. &.active {
  183. span, a {
  184. background: $content-bg;
  185. color: $content-text;
  186. }
  187. }
  188. }
  189. span, a {
  190. color: $content-tabs-text;
  191. &:hover {
  192. color: lighten($content-tabs-text, 10%);
  193. background: lighten($content-tabs-bg,10%);
  194. }
  195. }
  196. }
  197. // Buttons
  198. .button {
  199. @include button-color($button-bg);
  200. &.dropdown-toggle {
  201. border-left: 1px solid darken($button-bg, 5%);
  202. }
  203. &.secondary {
  204. @include button-color(shade($button-bg, 20%));
  205. &.dropdown-toggle {
  206. border-left: 1px solid darken(shade($button-bg, 20%), 5%);
  207. }
  208. }
  209. &.danger {
  210. @include button-color($critical-bg);
  211. }
  212. }
  213. .button-group {
  214. .dropdown-menu {
  215. background-color: $button-bg;
  216. box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
  217. .divider {
  218. background-color: $button-bg;
  219. }
  220. li > a {
  221. color: $button-text;
  222. &:focus, &:hover {
  223. color: $button-text;
  224. &:hover {
  225. background: tint($button-bg,15%);
  226. }
  227. }
  228. }
  229. &.language-switcher {
  230. a.active {
  231. background-color: lighten($button-bg, 10%);
  232. }
  233. }
  234. }
  235. }
  236. #admin-main .admin-block a.gumroad-button {
  237. background: $critical-bg !important;
  238. color: $critical-text !important;
  239. }
  240. #admin-login-wrapper {
  241. background: radial-gradient(circle at center, lighten($nav-bg, 10%) 40%, darken($nav-bg, 10%) 100%);
  242. }
  243. #admin-login {
  244. background: $nav-bg;
  245. &.wide form {
  246. label {
  247. color: $nav-text;
  248. }
  249. input {
  250. @include placeholder {
  251. color: rgba($nav-text, 0.5);
  252. }
  253. }
  254. }
  255. .wrapper-spacer {
  256. h3 {
  257. color: rgba(white, 0.4);
  258. border-bottom: 3px solid rgba($nav-link, 0.1);
  259. }
  260. }
  261. .instructions, p {
  262. color: rgba($nav-text,0.8);
  263. }
  264. h1 {
  265. background-color: $logo-bg;
  266. &.text-logo {
  267. color: $logo-link;
  268. }
  269. svg {
  270. path:first-child {
  271. fill: darken($logo-bg, 3%);
  272. }
  273. path:last-child {
  274. fill: rgba($logo-link, 0.9) !important;
  275. }
  276. }
  277. }
  278. h5 {
  279. color: $nav-text;
  280. }
  281. form {
  282. input {
  283. background: lighten($nav-bg, 3%);
  284. color: $nav-link;
  285. border: 1px solid shade($nav-bg, 20%);
  286. @include placeholder {
  287. color: rgba($nav-text, 0.5);
  288. }
  289. }
  290. }
  291. }
  292. #admin-sidebar {
  293. background: $nav-bg;
  294. a {
  295. color: rgba($nav-link, 0.9);
  296. &:hover {
  297. color: $nav-link;
  298. }
  299. }
  300. }
  301. #admin-logo {
  302. background-color: $logo-bg;
  303. .grav-logo {
  304. path {
  305. fill: rgba($logo-link, 0.9) !important;
  306. }
  307. &:hover {
  308. path {
  309. fill: $logo-link !important;
  310. }
  311. }
  312. }
  313. a, i {
  314. color: shade($logo-link, 10%);
  315. &:hover {
  316. color: $logo-link;
  317. }
  318. }
  319. }
  320. #open-handle {
  321. background-color: darken($logo-bg, 5%);
  322. border-left: 1px solid lighten($logo-bg, 5%);
  323. i {
  324. color: rgba($logo-link, 0.6);
  325. &:hover {
  326. color: rgba($logo-link, 0.8);
  327. }
  328. }
  329. }
  330. #admin-nav-quick-tray {
  331. background: darken($nav-bg, 2%);
  332. border-bottom: 1px solid darken($nav-bg, 3%);
  333. color: $nav-link;
  334. i:hover {
  335. @if (lightness($nav-bg) < 50) {
  336. color: lighten($nav-link, 10%);
  337. } @else {
  338. color: darken($nav-link, 10%);
  339. }
  340. }
  341. }
  342. .block-userinfo {
  343. img {
  344. border: 4px solid $form-border;
  345. }
  346. }
  347. #offline-status {
  348. background-color: $update-bg;
  349. color: $update-text;
  350. }
  351. #admin-user-details, .admin-user-details {
  352. border-bottom: 1px solid lighten($nav-bg, 5%);
  353. &:hover img {
  354. box-shadow: 0px 0px 0 50px lighten($nav-bg, 3%);
  355. }
  356. .admin-user-names {
  357. h4, h5 {
  358. color: $nav-link;
  359. }
  360. }
  361. }
  362. #admin-menu {
  363. li {
  364. .badges {
  365. .count {
  366. color: $nav-link;
  367. background-color: darken($nav-bg, 5%);
  368. }
  369. .updates {
  370. color: $notice-text;
  371. background-color: $notice-bg;
  372. }
  373. }
  374. a {
  375. &:hover {
  376. background: $nav-hover-bg;
  377. color: $nav-hover-link;
  378. .fa {
  379. color: $nav-hover-link;
  380. }
  381. }
  382. }
  383. &.selected {
  384. a {
  385. background: $nav-selected-bg;
  386. color: $nav-selected-link;
  387. border-left: 9px solid shade($button-bg, 15%);
  388. .fa {
  389. color: $nav-selected-link;
  390. }
  391. }
  392. }
  393. }
  394. }
  395. #admin-main {
  396. .grav-update {
  397. background: $update-bg;
  398. color: $update-text;
  399. a.button, span.button, button.button {
  400. @include button-color(shade($update-bg, 20%), $update-text, true);
  401. }
  402. }
  403. .titlebar {
  404. background: $toolbar-bg;
  405. color: $toolbar-text;
  406. .button-bar {
  407. .button {
  408. @include button-color($button-bg, $button-text, false);
  409. &.danger {
  410. @include button-color($critical-bg);
  411. }
  412. &.success {
  413. @include button-color($update-bg);
  414. &.dropdown-toggle {
  415. border-left-color: darken($update-bg, 7%);
  416. }
  417. & + .dropdown-menu {
  418. background-color: $update-bg;
  419. }
  420. }
  421. }
  422. span.button {
  423. @include button-color(rgba($button-bg, 0.5), rgba($button-text, 0.6));
  424. }
  425. }
  426. }
  427. .lines-button {
  428. background: rgba($black, 0.1); // move this
  429. .lines, .lines:before, .lines:after {
  430. background: $toolbar-text;
  431. }
  432. }
  433. .admin-block {
  434. background: $content-bg;
  435. color: $content-text;
  436. h1 {
  437. color: $content-header;
  438. border-bottom: 1px solid $underline;
  439. }
  440. //.button {
  441. // @include button-color($button-bg);
  442. //}
  443. }
  444. .danger, .success {
  445. &.button-bar {
  446. background: darken($content-bg, 3%);
  447. }
  448. }
  449. .danger {
  450. .button {
  451. @include button-color($critical-bg);
  452. }
  453. }
  454. // Notifications
  455. .content-padding {
  456. div[class*=notifications-container] {
  457. .alert.note {
  458. background: $content-bg;
  459. color: $content-text;
  460. &.alert {
  461. border-bottom: 2px solid darken($content-bg, 5%);
  462. }
  463. a:not(.button) {
  464. color: $content-link;
  465. &:hover {
  466. color: darken($content-link, 5%);
  467. }
  468. }
  469. }
  470. .alert.warning {
  471. background: $critical_bg;
  472. color: $critical_text;
  473. &.alert {
  474. border-bottom: 2px solid darken($critical_bg, 5%);
  475. }
  476. a {
  477. color: $critical_text;
  478. &:hover {
  479. color: lighten($critical_text, 10%);
  480. }
  481. }
  482. }
  483. }
  484. }
  485. #notifications {
  486. .badge.alert {
  487. &.note {
  488. background: $notice-bg;
  489. color: $notice-text;
  490. }
  491. &.warning {
  492. background: $critical_bg;
  493. color: $critical_text;
  494. }
  495. }
  496. }
  497. }
  498. .sidebar-mobile-open {
  499. #admin-main {
  500. .lines-button {
  501. .lines, .lines:before, .lines:after {
  502. background: $logo-link;
  503. }
  504. }
  505. }
  506. }
  507. #dependency-missing {
  508. margin-bottom: 1.75rem;
  509. .alert {
  510. padding: 1rem 1.5rem;
  511. h1 {
  512. color: $white;
  513. border-bottom: 0;
  514. display: inline;
  515. }
  516. }
  517. }
  518. #admin-dashboard {
  519. .admin-block {
  520. li {
  521. border-bottom: 1px solid $underline;
  522. }
  523. }
  524. .primary-accent {
  525. @include linear-gradient(darken($primary-accent-bg, 7%), $primary-accent-bg);
  526. h1 {
  527. color: $primary-accent-fg;
  528. border-bottom: 0;
  529. }
  530. p {
  531. color: rgba($primary-accent-fg, 0.95);
  532. }
  533. .stat {
  534. i {
  535. color: rgba($primary-accent-fg, 0.75);
  536. }
  537. }
  538. .numeric {
  539. em {
  540. color: rgba($primary-accent-fg, .85);
  541. }
  542. }
  543. .chart-loader {
  544. color: shade($primary-accent-bg, 20%);
  545. }
  546. }
  547. .secondary-accent {
  548. @include linear-gradient(darken($secondary-accent-bg, 7%), $secondary-accent-bg);
  549. h1 {
  550. color: $secondary-accent-fg;
  551. border-bottom: 0;
  552. }
  553. p {
  554. color: rgba($secondary-accent-fg, 0.95);
  555. }
  556. .stat {
  557. i {
  558. color: rgba($secondary-accent-fg, 0.75);
  559. }
  560. }
  561. .numeric {
  562. em {
  563. color: rgba($secondary-accent-fg, .85);
  564. }
  565. }
  566. .chart-loader {
  567. color: shade($secondary-accent-bg, 20%);
  568. }
  569. }
  570. }
  571. .sidebar-mobile-open {
  572. #admin-main {
  573. .lines-button {
  574. .lines, .lines:before, .lines:after {
  575. background: $logo-link;
  576. }
  577. }
  578. }
  579. }
  580. // Forms
  581. form {
  582. h1, h3 {
  583. border-bottom: 3px solid $underline;
  584. }
  585. h1, h2, h3, h4, h5 {
  586. color: $content-header;
  587. }
  588. .note {
  589. color: $critical-bg;
  590. }
  591. .required {
  592. color: $content-link2;
  593. }
  594. .overlay {
  595. background: darken($content-bg, 2%);
  596. pre {
  597. background: lighten($pre-bg, 3%);
  598. }
  599. }
  600. .form-border {
  601. border: 1px solid $form-border;
  602. }
  603. .form-field-colors {
  604. background-color: $form-field-bg;
  605. color: $form-field-text;
  606. }
  607. .form-select-wrapper, .selectize-control.single .selectize-input {
  608. &:after {
  609. color: $form-field-text;
  610. }
  611. }
  612. .selectize-control {
  613. &.single, &.multi {
  614. .selectize-input {
  615. &, &.full, &.items, &.active {
  616. color: $form-field-text;
  617. border-color: $form-border;
  618. background-color: $form-field-bg;
  619. }
  620. input {
  621. color: $form-field-text;
  622. }
  623. a.remove {
  624. color: $page-bg !important;
  625. }
  626. }
  627. }
  628. }
  629. .form-input-wrapper {
  630. .form-input-addon {
  631. border: 1px solid $form-border;
  632. background: $content-bg;
  633. &.copy-to-clipboard {
  634. background: $button-bg;
  635. color: $button-text;
  636. &:hover {
  637. background: darken($button-bg, 5%);
  638. }
  639. }
  640. }
  641. input[name="data[folder]"].highlight {
  642. background-color: $content-highlight;
  643. }
  644. }
  645. .selectize-control.single.plugin-remove_button .selectize-input,
  646. .selectize-control.multi .selectize-input {
  647. .item, .remove-single {
  648. color: $content-bg !important;
  649. background: $content-text;
  650. &.active {
  651. background: $notice-bg;
  652. color: $notice-text;
  653. }
  654. }
  655. }
  656. select {
  657. border: $form-border-width solid $form-border;
  658. background: $form-field-bg;
  659. color: $form-field-text;
  660. }
  661. input[type=text],
  662. input[type=password],
  663. input[type=email],
  664. input[type=date],
  665. input[type=tel],
  666. input[type=time],
  667. input[type=week],
  668. input[type=month],
  669. input[type=number],
  670. input[type=color],
  671. input[type=url] {
  672. border: $form-border-width solid $form-border;
  673. background: $form-field-bg;
  674. color: $form-field-text;
  675. }
  676. input[readonly=readonly] {
  677. background: $content-bg;
  678. }
  679. textarea {
  680. color: $form-field-text;
  681. border: $form-border-width solid $form-border;
  682. background: $form-field-bg;
  683. }
  684. .form-frontmatter-wrapper {
  685. border: $form-border-width solid $form-border;
  686. }
  687. .button-bar {
  688. background: lighten($form-border,7%);
  689. }
  690. .checkboxes {
  691. label:before {
  692. background: $form-field-bg;
  693. border: $form-border-width solid $form-border;
  694. }
  695. }
  696. input, textarea, select {
  697. @include placeholder {
  698. color: rgba($form-field-text, 0.4);
  699. }
  700. }
  701. .g-colorpicker {
  702. width: 230px;
  703. .g-colorpicker-preview-wrap {
  704. border-color: $form-border;
  705. }
  706. input {
  707. }
  708. }
  709. .form-input-file {
  710. border: 2px dashed $form-border;
  711. p {
  712. color: $form-field-text;
  713. }
  714. ul {
  715. color: $primary-accent-fg;
  716. background: $primary-accent-bg;
  717. }
  718. }
  719. .file-thumbnail-remove {
  720. background: $button-bg;
  721. .fa {
  722. color: $button-text;
  723. }
  724. &:hover {
  725. background: $button-text;
  726. .fa {
  727. color: $button-bg;
  728. }
  729. }
  730. }
  731. // Range
  732. input[type=range] {
  733. &::-webkit-slider-runnable-track {
  734. background: $ir-slider-bg;
  735. border: 1px solid $form-border;
  736. }
  737. &::-webkit-slider-thumb {
  738. border: 1px solid $form-border;
  739. background: $button-bg;
  740. }
  741. &:focus::-webkit-slider-runnable-track {
  742. background: $ir-slider-bg;
  743. }
  744. &::-moz-range-track {
  745. background: $ir-slider-bg;
  746. border: 1px solid $form-border;
  747. }
  748. &::-moz-range-progress {
  749. background: $ir-slider-bg;
  750. }
  751. &::-moz-range-thumb {
  752. border: 1px solid $form-border;
  753. background: $button-bg;
  754. }
  755. &::-ms-fill-lower, &::-ms-fill-upper {
  756. background: $ir-slider-bg;
  757. border: 1px solid $form-border;
  758. }
  759. &::-ms-thumb {
  760. border: 1px solid $form-border;
  761. background: $button-bg;
  762. }
  763. &:focus::-ms-fill-lower, &:focus::-ms-fill-upper {
  764. background: $ir-slider-bg;
  765. }
  766. }
  767. }
  768. // Display RESET
  769. form {
  770. .form-display-wrapper {
  771. table {
  772. border: 1px solid $form-border;
  773. th {
  774. background-color: lighten($form-border, 6%);
  775. border-bottom: 3px solid $form-border;
  776. border-right: 1px solid $form-border;
  777. }
  778. td {
  779. border-right: 1px solid $form-border;
  780. }
  781. tr {
  782. border-bottom: 1px solid $form-border;
  783. }
  784. }
  785. }
  786. }
  787. .grav-editor-resizer {
  788. background-color: $form-border;
  789. //@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%);
  790. }
  791. .form-order-wrapper {
  792. ul.orderable {
  793. li {
  794. border: 1px solid $form-border;
  795. background: lighten($content-bg, 2%);
  796. color: $content-text;
  797. &.drag-handle {
  798. background: $form-field-bg;
  799. color: $form-field-text;
  800. }
  801. &[data-active-id] {
  802. border-color: $content-link;
  803. }
  804. }
  805. &.disabled li {
  806. opacity: 0.7;
  807. }
  808. }
  809. }
  810. .form-list-wrapper {
  811. ul[data-collection-holder] {
  812. > li {
  813. border: 1px solid $form-border;
  814. background: lighten($content-bg, 4%);
  815. color: lighten($content-text, 10%);
  816. .item-actions {
  817. color: darken($content-text, 10%);
  818. }
  819. }
  820. }
  821. .collection-sort {
  822. background: darken($content-bg, 2%);
  823. border-right: 1px solid $form-border;
  824. }
  825. }
  826. .form-fieldset {
  827. background-color: darken($content-bg, 1%);
  828. border: 1px solid $form-border;
  829. }
  830. .form-fieldset--label {
  831. background-color: darken($content-bg, 4%);
  832. &:hover,
  833. .form-fieldset input:checked + & {
  834. background-color: darken($content-bg, 6%);
  835. }
  836. }
  837. #admin-main {
  838. #admin-topbar {
  839. background: $content-tabs-bg;
  840. }
  841. .form-tabs {
  842. background: $content-tabs-bg;
  843. &.side-tabs {
  844. > .tabs-nav {
  845. background: $content-bg;
  846. a {
  847. color: $content-link;
  848. cursor: pointer;
  849. &:hover {
  850. background: $page-bg;
  851. }
  852. &.active {
  853. background: lighten($content-tabs-bg, 5%);
  854. color: $content-tabs-text;
  855. }
  856. }
  857. }
  858. > .tabs-content {
  859. box-shadow: -20px 0 50px -40px rgba(#000, 0.3);
  860. }
  861. }
  862. .tabs-nav {
  863. a {
  864. color: $content-tabs-text;
  865. &:hover {
  866. color: darken($content-tabs-text, 5%);
  867. background: darken($content-tabs-bg,5%);
  868. }
  869. &.active {
  870. background: $content-bg;
  871. color: $content-text;
  872. }
  873. }
  874. }
  875. &.subtle {
  876. background: $content-bg;
  877. .tabs-nav {
  878. background: linear-gradient(to bottom, rgba($content-bg,0), shade($content-bg,3%));
  879. }
  880. a {
  881. color: shade($content-text, 10%);
  882. border: 0 solid transparent;
  883. &:hover {
  884. color: shade($content-text, 20%);
  885. background: linear-gradient(to bottom, rgba($content-bg,0), shade($content-bg,7%));
  886. }
  887. border-bottom: 1px solid $form-border;
  888. &.active {
  889. border-top: 1px solid $form-border;
  890. border-left: 1px solid $form-border;
  891. border-right: 1px solid $form-border;
  892. border-bottom: 0;
  893. &:hover {
  894. background: $content-bg;
  895. }
  896. &:first-child {
  897. border-left: 0;
  898. }
  899. &:last-child {
  900. border-right: 0;
  901. }
  902. }
  903. }
  904. }
  905. .tabs-content {
  906. background: $content-bg;
  907. }
  908. }
  909. }
  910. .switch-grav {
  911. background-color: $form-field-bg;
  912. border: $form-border-width solid $form-border;
  913. label {
  914. color: $content-text;
  915. transition: background-color 0.5s ease;
  916. }
  917. &.switch-toggle input.highlight:checked + label {
  918. background: $button-bg;
  919. color: $button-text;
  920. }
  921. &.switch-toggle input:checked + label {
  922. color: $content-bg;
  923. background: $content-text;
  924. }
  925. }
  926. // Toaster
  927. .toast {
  928. background-color: #030303;
  929. }
  930. .toast-success {
  931. background-color: $update-bg;
  932. .button {
  933. background: lighten($update-bg, 5%);
  934. @include button-color(lighten($update-bg, 10%));
  935. }
  936. }
  937. .toast-error {
  938. background-color: $critical-bg;
  939. .button {
  940. background-color: darken($critical-bg, 10);
  941. @include button-color(darken($critical-bg, 20));
  942. }
  943. }
  944. .toast-info {
  945. background-color: $notice-bg;
  946. .button {
  947. background-color: darken($notice-bg, 10);
  948. @include button-color(darken($notice-bg, 20));
  949. }
  950. }
  951. // Info
  952. .info {
  953. background: $update-bg;
  954. color: $update-text;
  955. a {
  956. color: darken($update-text, 5%);
  957. &:hover {
  958. color: $update-text;
  959. }
  960. }
  961. a.button, span.button, button.button {
  962. @include button-color(shade($update-bg, 20%), $update-text, true);
  963. }
  964. }
  965. .info-reverse {
  966. color: $update-bg;
  967. }
  968. .notice, .note {
  969. background: $notice-bg;
  970. color: $notice-text;
  971. a {
  972. color: darken($notice-text, 5%);
  973. &:hover {
  974. color: $notice-text;
  975. }
  976. }
  977. a.button, span.button, button.button {
  978. @include button-color(shade($notice-bg, 20%), $notice-text, true);
  979. }
  980. }
  981. .notice-reverse, .note-reverse {
  982. color: $notice-bg;
  983. }
  984. .error, .warning {
  985. background: $critical-bg;
  986. color: $critical-text;
  987. a {
  988. color: darken($critical-text, 5%);
  989. &:hover {
  990. color: $critical-text;
  991. }
  992. }
  993. a.button, span.button, button.button {
  994. @include button-color(shade($critical-bg, 20%), $critical-text, true);
  995. }
  996. }
  997. .error-reverse, .warning-reverse {
  998. color: $critical-bg;
  999. }
  1000. .primary-accent {
  1001. background: darken($primary-accent-bg, 5%);
  1002. color: $primary-accent-fg;
  1003. .button-bar {
  1004. background: darken($primary-accent-bg, 7%);
  1005. }
  1006. .button {
  1007. @include button-color($primary-accent-bg, $primary-accent-fg);
  1008. }
  1009. }
  1010. .secondary-accent {
  1011. background: darken($secondary-accent-bg, 5%);
  1012. color: $secondary-accent-fg;
  1013. .button-bar {
  1014. background: darken($secondary-accent-bg, 7%);
  1015. }
  1016. .button {
  1017. @include button-color($secondary-accent-bg, $secondary-accent-fg);
  1018. }
  1019. .button-group {
  1020. .dropdown-menu {
  1021. background: $secondary-accent-bg;
  1022. li {
  1023. a {
  1024. &:hover {
  1025. background: tint($secondary-accent-bg,15%);
  1026. }
  1027. }
  1028. }
  1029. }
  1030. }
  1031. }
  1032. .card-item {
  1033. border: 1px solid $form-border;
  1034. background: lighten($content-bg, 3%);
  1035. .gpm-actions {
  1036. background: darken($content-bg, 2%);
  1037. }
  1038. &.active-theme {
  1039. border: 1px solid $notice-bg;
  1040. .gpm-actions {
  1041. background: $notice-bg;
  1042. color: $notice-text;
  1043. }
  1044. }
  1045. }
  1046. .user-details {
  1047. h2 {
  1048. color: $content-header;
  1049. span {
  1050. color: $content-text;
  1051. }
  1052. }
  1053. .gravatar {
  1054. color: lighten($content-text,20%);
  1055. a {
  1056. color: $content-text !important;
  1057. }
  1058. }
  1059. }
  1060. #admin-main .grav-editor-toolbar .dropdown-menu {
  1061. box-shadow: 0 3px 6px rgba(0, 0, 0, .075);
  1062. border: 1px solid $form-border;
  1063. background: lighten($content-bg, 5%);
  1064. }
  1065. #admin-main .grav-editor-toolbar {
  1066. border: 1px solid $form-border;
  1067. border-top-right-radius: $border-radius;
  1068. border-top-left-radius: $border-radius;
  1069. background: lighten($content-bg, 5%);
  1070. ul {
  1071. a {
  1072. color: $content-text;
  1073. &:hover, &:focus {
  1074. background: darken($content-bg, 3%);
  1075. color: $form-field-text;
  1076. border-top: 1px solid $form-border;
  1077. }
  1078. }
  1079. .editor-active {
  1080. a {
  1081. cursor: auto;
  1082. background: lighten($content-bg, 8%);
  1083. border-top: 1px solid $form-border;
  1084. border-left: 1px solid $form-border;
  1085. border-right: 1px solid $form-border;
  1086. &:hover {
  1087. background: darken($content-bg, 3%);
  1088. color: $form-field-text;
  1089. border-top: 0;
  1090. border-bottom: 1px solid $form-border;
  1091. }
  1092. }
  1093. &:last-child a, &:last-child a:hover {
  1094. border-right: 1px solid transparent;
  1095. }
  1096. }
  1097. .button-disabled a {
  1098. color: rgba($content-text, 0.5);
  1099. &:hover, &:focus {
  1100. background: lighten($content-bg, 5%);
  1101. color: $content-text;
  1102. border-left: 1px solid transparent;
  1103. border-right: 1px solid transparent;
  1104. }
  1105. }
  1106. }
  1107. }
  1108. #admin-main .grav-editor-hide-toolbar + div {
  1109. border: 1px solid $form-border;
  1110. }
  1111. .grav-editor-content, .grav-editor-preview {
  1112. border: 1px solid $form-border;
  1113. border-top: 0;
  1114. }
  1115. .grav-mdeditor-content {
  1116. border: 1px solid $form-border;
  1117. }
  1118. [data-mode=split] {
  1119. .grav-mdeditor-code {
  1120. border-right: 1px solid $form-border;
  1121. }
  1122. }
  1123. .primary-accent {
  1124. .ct-chart {
  1125. .ct-series {
  1126. &.ct-series-a {
  1127. .ct-bar {
  1128. stroke: rgba($primary-accent-fg, 0.85) !important;
  1129. }
  1130. .ct-slice-donut {
  1131. stroke: $primary-accent-fg !important;
  1132. }
  1133. }
  1134. &.ct-series-b {
  1135. .ct-slice-donut {
  1136. stroke: rgba($primary-accent-fg, 0.2) !important;
  1137. }
  1138. }
  1139. }
  1140. .ct-label {
  1141. fill: rgba($primary-accent-fg, 0.5);
  1142. color: rgba($primary-accent-fg, 0.5);
  1143. }
  1144. .ct-grid {
  1145. stroke: rgba($primary-accent-fg, 0.2);
  1146. }
  1147. }
  1148. }
  1149. .secondary-accent {
  1150. .ct-chart {
  1151. .ct-series {
  1152. &.ct-series-a {
  1153. .ct-bar {
  1154. stroke: rgba($secondary-accent-fg, 0.85) !important;
  1155. }
  1156. .ct-slice-donut {
  1157. stroke: $secondary-accent-fg !important;
  1158. }
  1159. }
  1160. &.ct-series-b {
  1161. .ct-slice-donut {
  1162. stroke: rgba($secondary-accent-fg, 0.2) !important;
  1163. }
  1164. }
  1165. }
  1166. .ct-label {
  1167. fill: rgba($secondary-accent-fg, 0.5);
  1168. color: rgba($secondary-accent-fg, 0.5);
  1169. }
  1170. .ct-grid {
  1171. stroke: rgba($secondary-accent-fg, 0.2);
  1172. }
  1173. }
  1174. }
  1175. .dropzone {
  1176. background: $form-field-bg;
  1177. border: 1px $form-border solid;
  1178. &.dz-drag-hover {
  1179. border-color: darken($form-border, 10%);
  1180. background: rgba(0,0,0,0.04);
  1181. }
  1182. .dz-preview {
  1183. border:1px solid darken($content-bg,5%);
  1184. .dz-success-mark, .dz-error-mark {
  1185. color: $white;
  1186. }
  1187. .dz-success-mark {
  1188. background-color: lighten($button-bg,10%);
  1189. }
  1190. .dz-error-mark {
  1191. background-color: $critical-bg;
  1192. }
  1193. .dz-progress {
  1194. background: #d7d7d7;
  1195. .dz-upload {
  1196. background-color: lighten($button-bg,10%);
  1197. }
  1198. }
  1199. .dz-error-message {
  1200. background: lighten($content-bg,3%);
  1201. color: $critical-bg;
  1202. }
  1203. &:hover {
  1204. .dz-details {
  1205. box-shadow: 0px 0px 20px -5px rgba(0,0,0,0.4);
  1206. }
  1207. }
  1208. .dz-remove, .dz-unset, .dz-view, .dz-insert, .dz-metadata {
  1209. background: darken($content-bg,7%);
  1210. &:hover {
  1211. &:after {
  1212. color: $content-link;
  1213. }
  1214. }
  1215. &:after {
  1216. color: $content-text;
  1217. }
  1218. }
  1219. .dz-remove {
  1220. &:hover {
  1221. &:after {
  1222. color: $critical-bg;
  1223. }
  1224. }
  1225. }
  1226. }
  1227. &.dz-clickable {
  1228. .dz-message, .dz-message span {
  1229. @if (lightness($form-field-bg) < 50) {
  1230. color: lighten($content-text,20%);
  1231. } @else {
  1232. color: lighten($content-text,20%);
  1233. }
  1234. .dz-button {
  1235. @if (lightness($form-field-bg) < 50) {
  1236. background-color: lighten($content-bg, 5%);
  1237. } @else {
  1238. background-color: darken($content-bg, 5%);
  1239. }
  1240. }
  1241. }
  1242. }
  1243. }
  1244. .gpm {
  1245. > table > tbody {
  1246. > tr {
  1247. border-bottom: 1px solid $underline;
  1248. &:hover {
  1249. background: lighten($content-bg, 2%);
  1250. }
  1251. }
  1252. }
  1253. .gpm-name {
  1254. color: lighten($content-text, 15%);
  1255. }
  1256. .gpm-version {
  1257. color: lighten($content-text, 10%);
  1258. }
  1259. .gpm-ribbon, .badge.update {
  1260. background: $update-bg;
  1261. a, & {
  1262. color: $update-text !important;
  1263. &:hover {
  1264. background: shade($update-bg, 15%);
  1265. }
  1266. }
  1267. }
  1268. .gpm-update {
  1269. .gpm-name {
  1270. color: $button-bg;
  1271. }
  1272. }
  1273. .gpm-item-info {
  1274. border-bottom: 3px solid $underline;
  1275. .gpm-item-icon {
  1276. color: darken($content-bg, 2%);
  1277. }
  1278. }
  1279. .gpm-actions {
  1280. .disabled {
  1281. color: lighten($content-text, 10%);
  1282. }
  1283. }
  1284. .gpm-testing {
  1285. background-color: $secondary-accent-bg;
  1286. color: $secondary-accent-fg;
  1287. }
  1288. }
  1289. .pages-list {
  1290. border-top: 1px solid $underline;
  1291. .row {
  1292. border-bottom: 1px solid $underline;
  1293. &:hover {
  1294. background: lighten($content-bg, 2%);
  1295. }
  1296. p.page-route {
  1297. color: $content-text;
  1298. .spacer {
  1299. color: $content-text;
  1300. }
  1301. }
  1302. .badge.lang {
  1303. background-color: $content-tabs-bg;
  1304. color: $content-tabs-text;
  1305. }
  1306. .badge.lang.info {
  1307. background-color: $update-bg;
  1308. color: $update-text;
  1309. }
  1310. }
  1311. .page-home {
  1312. color: $subtle-text;
  1313. }
  1314. .page-info {
  1315. color: $subtle-text;
  1316. }
  1317. }
  1318. #admin-topbar {
  1319. #admin-lang-toggle {
  1320. z-index: 3;
  1321. button {
  1322. @include button-color($update-bg);
  1323. }
  1324. .dropdown-menu {
  1325. background: $update-bg;
  1326. }
  1327. }
  1328. .switch-grav {
  1329. background-color: lighten($content-tabs-bg,10%);
  1330. }
  1331. .switch-toggle {
  1332. input:checked + label {
  1333. color: $white;
  1334. }
  1335. input + label {
  1336. color: $content-tabs-text;
  1337. @if (lightness($content-tabs-bg) < 50) {
  1338. background: lighten($content-tabs-bg,5%);
  1339. } @else {
  1340. background: darken($content-tabs-bg,5%);
  1341. }
  1342. }
  1343. input.highlight:checked + label {
  1344. background: $button-bg;
  1345. }
  1346. }
  1347. }
  1348. body .selectize-dropdown .optgroup-header {
  1349. color: $black;
  1350. border-bottom: 1px solid #eee;
  1351. background-color: #fafafa;
  1352. }
  1353. body .bootstrap-datetimepicker-widget {
  1354. &.dropdown-menu.bottom {
  1355. background-color: $form-field-bg;
  1356. color: $form-field-text;
  1357. border-color: $form-border;
  1358. &:before {
  1359. border-bottom-color: $form-border;
  1360. }
  1361. &:after {
  1362. border-bottom-color: $form-field-bg;
  1363. }
  1364. }
  1365. table {
  1366. td span:hover, th:hover, td.day:hover {
  1367. @if (lightness($form-field-bg) < 50) {
  1368. background: lighten($form-field-bg,5%) !important;
  1369. } @else {
  1370. background: darken($form-field-bg,3%) !important;
  1371. }
  1372. }
  1373. td.active, td.active:hover {
  1374. background-color: $update-bg !important;
  1375. color: $update-text !important;
  1376. }
  1377. }
  1378. }
  1379. .scheduler-content {
  1380. pre {
  1381. background: darken($content-bg, 2%);
  1382. border-color: $form-border;
  1383. code {
  1384. color: $content-header;
  1385. }
  1386. }
  1387. }
  1388. #phpinfo {
  1389. th {
  1390. background: $form-field-bg;
  1391. }
  1392. td {
  1393. word-wrap: break-word;
  1394. &:first-child {
  1395. color: $content-header;
  1396. }
  1397. }
  1398. }
  1399. .remodal {
  1400. @if (lightness($content-bg) < 50) {
  1401. background: lighten($content-bg, 3%);
  1402. } @else {
  1403. background: $content-bg;
  1404. }
  1405. color: $content-text;
  1406. // box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  1407. }
  1408. .remodal-close {
  1409. color: $content-text;
  1410. }
  1411. .remodal-close:hover,
  1412. .remodal-close:focus {
  1413. color: darken($content-text, 20%);
  1414. }
  1415. // Scrollbars
  1416. * {
  1417. @include native-scrollbars(rgba($content-text, 0.4), $content-bg);
  1418. }
  1419. .simplebar-scrollbar:before {
  1420. background-color: $page-text;
  1421. }
  1422. #admin-sidebar .simplebar-scrollbar:before {
  1423. background-color: $nav-text;
  1424. }
  1425. #page-filtering {
  1426. .page-shortcuts {
  1427. .button {
  1428. @include button-color(rgba(darken($content-text,5%), 0.5));
  1429. }
  1430. }
  1431. }
  1432. .reports-content {
  1433. .report-output {
  1434. table {
  1435. thead {
  1436. tr {
  1437. th {
  1438. background-color: darken($content-bg, 2%);
  1439. color: $content-header;
  1440. }
  1441. }
  1442. }
  1443. }
  1444. }
  1445. }
  1446. .preview-wrapper {
  1447. iframe {
  1448. @if (lightness($page-bg) < 50) {
  1449. border: 1px solid lighten($page-bg, 3%)
  1450. } @else {
  1451. border: 1px solid darken($page-bg, 3%)
  1452. }
  1453. }
  1454. }
  1455. #backups-stats {
  1456. .backups-usage-wrapper {
  1457. > div {
  1458. background: linear-gradient(-90deg, darken($primary-accent-bg, 10%) 0, darken($primary-accent-bg, 15%) 100%);
  1459. &.full {
  1460. background: linear-gradient(-90deg, darken($critical-bg, 5%) 0, darken($critical-bg, 35%) 100%);
  1461. }
  1462. }
  1463. }
  1464. }
  1465. // Log Viewer
  1466. .logs-output {
  1467. table.noflex {
  1468. td.level .badge {
  1469. &.error, &.critical, &.alert {
  1470. background-color: #DC3023;
  1471. color: #fff;
  1472. }
  1473. &.notice, &.warning {
  1474. background-color: #E08A1E;
  1475. color: #fff;
  1476. }
  1477. &.debug {
  1478. background-color: #26A65B;
  1479. color: #fff;
  1480. }
  1481. &.info {
  1482. background-color: #22A7F0;
  1483. color: #fff;
  1484. }
  1485. &.emergency {
  1486. background-color: #8E44AD;
  1487. color: #fff;
  1488. }
  1489. }
  1490. }
  1491. }
  1492. .permission-container {
  1493. overflow: hidden;
  1494. }
  1495. [data-grav-field="parents"] {
  1496. .form-input-wrapper {
  1497. &:hover {
  1498. color: $content-link;
  1499. }
  1500. }
  1501. }
  1502. // loader
  1503. .grav-loader,
  1504. .grav-loader:after {
  1505. border-radius: 50%;
  1506. width: 10em;
  1507. height: 10em;
  1508. }
  1509. .grav-loader {
  1510. margin: 60px auto;
  1511. font-size: 10px;
  1512. position: relative;
  1513. text-indent: -9999em;
  1514. border-top: 1.1em solid transparentize($content-text, 0.8);
  1515. border-right: 1.1em solid transparentize($content-text, 0.8);
  1516. border-bottom: 1.1em solid transparentize($content-text, 0.8);
  1517. border-left: 1.1em solid $content-text;
  1518. transform: translateZ(0);
  1519. animation: gravloader 1.1s infinite linear;
  1520. }
  1521. @-webkit-keyframes gravloader {
  1522. 0% {
  1523. -webkit-transform: rotate(0deg);
  1524. transform: rotate(0deg);
  1525. }
  1526. 100% {
  1527. -webkit-transform: rotate(360deg);
  1528. transform: rotate(360deg);
  1529. }
  1530. }
  1531. @keyframes gravloader {
  1532. 0% {
  1533. -webkit-transform: rotate(0deg);
  1534. transform: rotate(0deg);
  1535. }
  1536. 100% {
  1537. -webkit-transform: rotate(360deg);
  1538. transform: rotate(360deg);
  1539. }
  1540. }
  1541. // Range-field
  1542. @import "template/modules/input-range";
  1543. // Page Column View
  1544. #pages-filters {
  1545. background: $nav-bg;
  1546. color: rgba($nav-text, 0.9);
  1547. .button-border {
  1548. @include button-color-border(lighten($nav-bg, 10%), $nav-text);
  1549. color: $nav-text !important;
  1550. }
  1551. .filters-bar {
  1552. input {
  1553. color: $nav-link;
  1554. border-color: lighten($nav-bg, 12%);
  1555. background-color: lighten($nav-bg, 6%);
  1556. @include placeholder {
  1557. color: rgba($nav-text, 0.5);
  1558. }
  1559. }
  1560. }
  1561. .filters-advanced {
  1562. fieldset {
  1563. border: 1px solid lighten($nav-bg, 5%);
  1564. legend {
  1565. background: $nav-bg;
  1566. color: $nav-text;
  1567. font-weight: bold;
  1568. }
  1569. }
  1570. }
  1571. form {
  1572. .checkboxes {
  1573. label:before {
  1574. background-color: lighten($nav-bg, 8%);
  1575. border-color: lighten($nav-bg, 12%);
  1576. color: $nav-link;
  1577. }
  1578. }
  1579. }
  1580. }
  1581. #pages-columns {
  1582. background: $content-bg;
  1583. border-top: 1px solid rgba($form-border, 0.5);
  1584. &.fjs-container {
  1585. .fjs-col {
  1586. border-right: 1px solid rgba($form-border, 0.5);
  1587. border-bottom: 1px solid rgba($form-border, 0.5);
  1588. }
  1589. }
  1590. .fjs-item {
  1591. &:hover {
  1592. .fjs-info > b {
  1593. color: $content-link;
  1594. }
  1595. .fjs-action-toggle, .fjs-children {
  1596. color: $content-link !important;
  1597. }
  1598. }
  1599. .fjs-icon {
  1600. background-color: #999;
  1601. box-shadow: 0px 0px 0px 1px lighten($form-border, 20%);
  1602. &.home {
  1603. background-color: $flat-blue-2;
  1604. }
  1605. &.visible {
  1606. background-color: $flat-blue-1;
  1607. }
  1608. &.lock {
  1609. background-color: $flat-orange-2;
  1610. }
  1611. &.modular {
  1612. background-color: $flat-purple-1;
  1613. }
  1614. &:after {
  1615. border: 1px solid $content-bg;
  1616. }
  1617. &.badge-published:after {
  1618. background-color: $flat-green-4;
  1619. }
  1620. &.badge-unpublished:after {
  1621. background-color: $flat-red-1;
  1622. }
  1623. .badge-lang {
  1624. background-color: darken($content-tabs-bg, 2%);
  1625. color: darken($content-tabs-text, 5%);
  1626. border: 1px solid $content-bg;
  1627. &.translated {
  1628. background-color: $update-bg;
  1629. color: $update-text;
  1630. }
  1631. &.not-available {
  1632. background-color: $nav-selected-bg;
  1633. color: $nav-selected-link;
  1634. }
  1635. }
  1636. }
  1637. .fjs-info {
  1638. > b {
  1639. color: $content-text;
  1640. }
  1641. > em {
  1642. color: lighten($content-text, 10%);
  1643. }
  1644. }
  1645. .fjs-actions {
  1646. .child-count {
  1647. background-color: darken($content-bg, 10%);
  1648. color: $content-text;
  1649. }
  1650. }
  1651. .fjs-action-toggle {
  1652. color: $primary-accent-bg;
  1653. }
  1654. .fjs-action-toggle, .fjs-children {
  1655. @include button-color-border($form-border, rgba($page-text, 0.5));
  1656. &:hover {
  1657. @if (lightness($form-field-bg) < 50) {
  1658. border-color: lighten($form-border, 5%);
  1659. } @else {
  1660. border-color: darken($form-border, 5%);
  1661. }
  1662. }
  1663. }
  1664. > a {
  1665. position: relative;
  1666. }
  1667. &.fjs-active {
  1668. & > .fjs-item-wrapper {
  1669. @if (lightness($form-field-bg) < 50) {
  1670. background-color: lighten($content-bg, 4%);
  1671. } @else {
  1672. background-color: darken($content-bg, 4%);
  1673. }
  1674. a {
  1675. background: none;
  1676. }
  1677. }
  1678. }
  1679. $highlight-color: #FFFF00;
  1680. &.filters-hit {
  1681. & > .fjs-item-wrapper {
  1682. background-color: lighten($highlight-color, 46%);
  1683. }
  1684. &.fjs-active > .fjs-item-wrapper {
  1685. background-color: lighten($highlight-color, 42%);
  1686. }
  1687. }
  1688. }
  1689. .tags {
  1690. .tag {
  1691. margin: 0 .15rem;
  1692. }
  1693. .tag-published {
  1694. background-color: #219e0d;
  1695. }
  1696. .tag-visible {
  1697. background-color: #018fd9;
  1698. }
  1699. .tag-non-routable {
  1700. background-color: #ff392a;
  1701. }
  1702. }
  1703. .langs {
  1704. .badge {
  1705. align-items: center;
  1706. background-color: darken($content-tabs-bg, 2%);
  1707. color: darken($content-tabs-text, 5%);
  1708. }
  1709. .lang:hover {
  1710. .badge {
  1711. background-color: $page-link;
  1712. color: $page-bg;
  1713. }
  1714. }
  1715. .lang-translated {
  1716. .fa { color: #219e0d; }
  1717. }
  1718. .lang-non-translated {
  1719. .fa { color: #ff392a; }
  1720. }
  1721. }
  1722. .dropdown-menu {
  1723. background-color: darken($content-bg, 5%) !important;
  1724. .divider {
  1725. @if (lightness($form-field-bg) < 50) {
  1726. border-top: 1px solid darken($form-border,8%);
  1727. } @else {
  1728. border-top: 1px solid $form-border;
  1729. }
  1730. }
  1731. td, thead th {
  1732. border-bottom: 1px solid $form-border;
  1733. }
  1734. .dropdown-item {
  1735. color: $content-text;
  1736. background-color: inherit;
  1737. &:hover {
  1738. color: $page-link;
  1739. background-color: darken($content-bg, 8%) !important;
  1740. }
  1741. &.danger {
  1742. .fa {
  1743. color: $critical-bg;
  1744. }
  1745. &:hover {
  1746. background-color: $critical-bg !important;
  1747. .fa {
  1748. color: $critical-text;
  1749. }
  1750. }
  1751. }
  1752. }
  1753. .action-bar {
  1754. background: darken($page-bg, 4%);
  1755. a {
  1756. color: $page-text;
  1757. &:hover {
  1758. background: $page-bg !important;
  1759. color: $page-link !important;
  1760. }
  1761. }
  1762. }
  1763. .fa {
  1764. color: #999;
  1765. }
  1766. a:not(.lang):hover .fa {
  1767. color: $page-link;
  1768. }
  1769. .infos {
  1770. tr td {
  1771. color: $content-text;
  1772. }
  1773. tr td:first-child {
  1774. color: lighten($content-text, 10%);
  1775. }
  1776. }
  1777. }
  1778. }
  1779. #pages-content-wrapper {
  1780. .fjs-path-bar {
  1781. background-color: $content-bg;
  1782. }
  1783. }
  1784. // Flex Pages Breadcrumbs
  1785. .breadcrumb-node {
  1786. &:hover span {
  1787. text-decoration: none;
  1788. color: $content-link;
  1789. }
  1790. & > i:not(.fa) {
  1791. background-color: #999;
  1792. box-shadow: 0px 0px 0px 1px #fff;
  1793. &.home {
  1794. background-color: $flat-blue-2;
  1795. }
  1796. &.visible {
  1797. background-color: $flat-blue-1;
  1798. }
  1799. &.lock {
  1800. background-color: $flat-orange-2;
  1801. }
  1802. &.modular {
  1803. background-color: $flat-purple-1;
  1804. }
  1805. }
  1806. }
  1807. // New Parents Field
  1808. [data-remodal-id].parents-container {
  1809. $remodal_border: #f00;
  1810. @if (lightness($content-bg) < 50) {
  1811. $remodal_border: lighten($content-bg, 10%);
  1812. } @else {
  1813. $remodal_border: darken($content-bg, 10%);
  1814. }
  1815. form > h1 {
  1816. border-bottom: 1px solid $remodal_border;
  1817. }
  1818. .fjs-col {
  1819. border-right: 1px solid $remodal_border;
  1820. }
  1821. .fjs-item a {
  1822. color: $content-link;
  1823. }
  1824. }
  1825. .parents-content.fjs-container {
  1826. .fjs-active a {
  1827. background-color: $button-bg;
  1828. color: $button-text;
  1829. }
  1830. }
  1831. // New 1.7 Permissions
  1832. .permissions-container {
  1833. .switch-toggle {
  1834. input:checked+label {
  1835. }
  1836. input.label0:checked+label {
  1837. color: $white;
  1838. background: $flat-pomegranate !important;
  1839. }
  1840. input.label1:checked+label {
  1841. color: $white;
  1842. background-color: $color-olive !important;
  1843. }
  1844. }
  1845. .badge {
  1846. &.badge-denied {
  1847. background: $flat-pomegranate !important;
  1848. }
  1849. &.badge-access {
  1850. background-color: $color-olive !important;
  1851. }
  1852. &.badge-super {
  1853. background-color: $flat-wisteria !important;
  1854. }
  1855. }
  1856. fieldset {
  1857. border: 1px solid $form-border;
  1858. legend {
  1859. background-color: $content-bg;
  1860. color: $content-header;
  1861. }
  1862. fieldset {
  1863. legend {
  1864. border-bottom: 1px solid $form-border;
  1865. }
  1866. }
  1867. }
  1868. .crudp-container {
  1869. .checkboxes.toggleable {
  1870. label {
  1871. border-color: $form-border ;
  1872. background-color: $form-field-bg;
  1873. }
  1874. }
  1875. .checkboxes input[type=checkbox] + label:before {
  1876. color: rgba($content-text, 0.3);
  1877. }
  1878. .checkboxes[data-_check-status="1"] input[type=checkbox] + label {
  1879. background-color: $color-olive;
  1880. color: $white;
  1881. &:before {
  1882. color: $white;
  1883. }
  1884. }
  1885. .checkboxes[data-_check-status="2"] input[type=checkbox] + label {
  1886. background-color: $flat-pomegranate;
  1887. color: $white;
  1888. &:before {
  1889. color: $white;
  1890. }
  1891. }
  1892. }
  1893. }
  1894. .permission-container {
  1895. .permission-name {
  1896. span:not(.badge) {
  1897. background-color: $content-bg;
  1898. }
  1899. span.badge {
  1900. border: 2px solid $content-bg;
  1901. }
  1902. }
  1903. }
  1904. // Icon Picker
  1905. .icon-set {
  1906. background: lighten($content-bg, 2%);
  1907. }
  1908. // Cron field
  1909. .jqCron-cross,
  1910. .jqCron-selector-title {
  1911. border: 1px solid $form-border;
  1912. }
  1913. .jqCron-container.disable .jqCron-cross:hover,
  1914. .jqCron-container.disable .jqCron-selector-title:hover,
  1915. .jqCron-cross,
  1916. .jqCron-selector-title {
  1917. background: $form-field-bg;
  1918. border-color: $form-border;
  1919. }
  1920. .jqCron-cross:hover,
  1921. .jqCron-selector-title:hover {
  1922. background-color: darken($form-field-bg,10%);
  1923. }
  1924. .jqCron-selector-list {
  1925. background-color: darken($form-field-bg,10%);
  1926. border: 1px solid $form-border;
  1927. }
  1928. .jqCron-selector-list li.selected {
  1929. background: $primary-accent-bg;
  1930. color: $primary-accent-fg;
  1931. }
  1932. .jqCron-selector-list li:hover {
  1933. background: $form-field-bg;
  1934. }
  1935. .jqCron-error .jqCron-selector-title {
  1936. background: $critical-bg;
  1937. border: 1px solid darken($critical-bg, 10%);
  1938. color: $critical-text;
  1939. }
  1940. .jqCron-container.disable * {
  1941. color: darken($form-field-text, 20%);
  1942. }
  1943. .jqCron-container.disable .jqCron-selector-title {
  1944. background: $content-bg !important;
  1945. }