preset.scss 51 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372
  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. @if (lightness($content-tabs-bg) < 50) {
  1250. background: lighten($content-bg, 2%);
  1251. } @else {
  1252. background: darken($content-bg, 5%);
  1253. }
  1254. }
  1255. }
  1256. }
  1257. .gpm-name {
  1258. color: lighten($content-text, 15%);
  1259. }
  1260. .gpm-version {
  1261. color: lighten($content-text, 10%);
  1262. }
  1263. .gpm-ribbon, .badge.update {
  1264. background: $update-bg;
  1265. a, & {
  1266. color: $update-text !important;
  1267. &:hover {
  1268. background: shade($update-bg, 15%);
  1269. }
  1270. }
  1271. }
  1272. .gpm-update {
  1273. .gpm-name {
  1274. color: $button-bg;
  1275. }
  1276. }
  1277. .gpm-item-info {
  1278. border-bottom: 3px solid $underline;
  1279. .gpm-item-icon {
  1280. color: darken($content-bg, 2%);
  1281. }
  1282. }
  1283. .gpm-actions {
  1284. .disabled {
  1285. color: lighten($content-text, 10%);
  1286. }
  1287. }
  1288. .gpm-testing {
  1289. background-color: $secondary-accent-bg;
  1290. color: $secondary-accent-fg;
  1291. }
  1292. }
  1293. .pages-list {
  1294. border-top: 1px solid $underline;
  1295. .row {
  1296. border-bottom: 1px solid $underline;
  1297. &:hover {
  1298. background: lighten($content-bg, 2%);
  1299. }
  1300. p.page-route {
  1301. color: $content-text;
  1302. .spacer {
  1303. color: $content-text;
  1304. }
  1305. }
  1306. .badge.lang {
  1307. background-color: $content-tabs-bg;
  1308. color: $content-tabs-text;
  1309. }
  1310. .badge.lang.info {
  1311. background-color: $update-bg;
  1312. color: $update-text;
  1313. }
  1314. }
  1315. .page-home {
  1316. color: $subtle-text;
  1317. }
  1318. .page-info {
  1319. color: $subtle-text;
  1320. }
  1321. }
  1322. #admin-topbar {
  1323. #admin-lang-toggle {
  1324. z-index: 3;
  1325. button {
  1326. @include button-color($update-bg);
  1327. }
  1328. .dropdown-menu {
  1329. background: $update-bg;
  1330. }
  1331. }
  1332. .switch-grav {
  1333. background-color: lighten($content-tabs-bg,10%);
  1334. }
  1335. .switch-toggle {
  1336. input:checked + label {
  1337. color: $white;
  1338. }
  1339. input + label {
  1340. color: $content-tabs-text;
  1341. @if (lightness($content-tabs-bg) < 50) {
  1342. background: lighten($content-tabs-bg,5%);
  1343. } @else {
  1344. background: darken($content-tabs-bg,5%);
  1345. }
  1346. }
  1347. input.highlight:checked + label {
  1348. background: $button-bg;
  1349. }
  1350. }
  1351. }
  1352. body .selectize-dropdown .optgroup-header {
  1353. color: $black;
  1354. border-bottom: 1px solid #eee;
  1355. background-color: #fafafa;
  1356. }
  1357. body .bootstrap-datetimepicker-widget {
  1358. &.dropdown-menu.bottom {
  1359. background-color: $form-field-bg;
  1360. color: $form-field-text;
  1361. border-color: $form-border;
  1362. &:before {
  1363. border-bottom-color: $form-border;
  1364. }
  1365. &:after {
  1366. border-bottom-color: $form-field-bg;
  1367. }
  1368. }
  1369. table {
  1370. td span:hover, th:hover, td.day:hover {
  1371. @if (lightness($form-field-bg) < 50) {
  1372. background: lighten($form-field-bg,5%) !important;
  1373. } @else {
  1374. background: darken($form-field-bg,3%) !important;
  1375. }
  1376. }
  1377. td.active, td.active:hover {
  1378. background-color: $update-bg !important;
  1379. color: $update-text !important;
  1380. }
  1381. }
  1382. }
  1383. .scheduler-content {
  1384. pre {
  1385. background: darken($content-bg, 2%);
  1386. border-color: $form-border;
  1387. code {
  1388. color: $content-header;
  1389. }
  1390. }
  1391. }
  1392. #phpinfo {
  1393. th {
  1394. background: $form-field-bg;
  1395. }
  1396. td {
  1397. word-wrap: break-word;
  1398. &:first-child {
  1399. color: $content-header;
  1400. }
  1401. }
  1402. }
  1403. .remodal {
  1404. @if (lightness($content-bg) < 50) {
  1405. background: lighten($content-bg, 3%);
  1406. } @else {
  1407. background: $content-bg;
  1408. }
  1409. color: $content-text;
  1410. // box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  1411. }
  1412. .remodal-close {
  1413. color: $content-text;
  1414. }
  1415. .remodal-close:hover,
  1416. .remodal-close:focus {
  1417. color: darken($content-text, 20%);
  1418. }
  1419. // Scrollbars
  1420. * {
  1421. @include native-scrollbars(rgba($content-text, 0.4), $content-bg);
  1422. }
  1423. .simplebar-scrollbar:before {
  1424. background-color: $page-text;
  1425. }
  1426. #admin-sidebar .simplebar-scrollbar:before {
  1427. background-color: $nav-text;
  1428. }
  1429. #page-filtering {
  1430. .page-shortcuts {
  1431. .button {
  1432. @include button-color(rgba(darken($content-text,5%), 0.5));
  1433. }
  1434. }
  1435. }
  1436. .reports-content {
  1437. .report-output {
  1438. table {
  1439. thead {
  1440. tr {
  1441. th {
  1442. background-color: darken($content-bg, 2%);
  1443. color: $content-header;
  1444. }
  1445. }
  1446. }
  1447. }
  1448. }
  1449. }
  1450. .preview-wrapper {
  1451. iframe {
  1452. @if (lightness($page-bg) < 50) {
  1453. border: 1px solid lighten($page-bg, 3%)
  1454. } @else {
  1455. border: 1px solid darken($page-bg, 3%)
  1456. }
  1457. }
  1458. }
  1459. #backups-stats {
  1460. .backups-usage-wrapper {
  1461. > div {
  1462. background: linear-gradient(-90deg, darken($primary-accent-bg, 10%) 0, darken($primary-accent-bg, 15%) 100%);
  1463. &.full {
  1464. background: linear-gradient(-90deg, darken($critical-bg, 5%) 0, darken($critical-bg, 35%) 100%);
  1465. }
  1466. }
  1467. }
  1468. }
  1469. // Log Viewer
  1470. .logs-output {
  1471. table.noflex {
  1472. td.level .badge {
  1473. &.error, &.critical, &.alert {
  1474. background-color: #DC3023;
  1475. color: #fff;
  1476. }
  1477. &.notice, &.warning {
  1478. background-color: #E08A1E;
  1479. color: #fff;
  1480. }
  1481. &.debug {
  1482. background-color: #26A65B;
  1483. color: #fff;
  1484. }
  1485. &.info {
  1486. background-color: #22A7F0;
  1487. color: #fff;
  1488. }
  1489. &.emergency {
  1490. background-color: #8E44AD;
  1491. color: #fff;
  1492. }
  1493. }
  1494. }
  1495. }
  1496. .permission-container {
  1497. overflow: hidden;
  1498. }
  1499. [data-grav-field="parents"] {
  1500. .form-input-wrapper {
  1501. &:hover {
  1502. color: $content-link;
  1503. }
  1504. }
  1505. }
  1506. // loader
  1507. .grav-loader,
  1508. .grav-loader:after {
  1509. border-radius: 50%;
  1510. width: 10em;
  1511. height: 10em;
  1512. }
  1513. .grav-loader {
  1514. margin: 60px auto;
  1515. font-size: 10px;
  1516. position: relative;
  1517. text-indent: -9999em;
  1518. border-top: 1.1em solid transparentize($content-text, 0.8);
  1519. border-right: 1.1em solid transparentize($content-text, 0.8);
  1520. border-bottom: 1.1em solid transparentize($content-text, 0.8);
  1521. border-left: 1.1em solid $content-text;
  1522. transform: translateZ(0);
  1523. animation: gravloader 1.1s infinite linear;
  1524. }
  1525. @-webkit-keyframes gravloader {
  1526. 0% {
  1527. -webkit-transform: rotate(0deg);
  1528. transform: rotate(0deg);
  1529. }
  1530. 100% {
  1531. -webkit-transform: rotate(360deg);
  1532. transform: rotate(360deg);
  1533. }
  1534. }
  1535. @keyframes gravloader {
  1536. 0% {
  1537. -webkit-transform: rotate(0deg);
  1538. transform: rotate(0deg);
  1539. }
  1540. 100% {
  1541. -webkit-transform: rotate(360deg);
  1542. transform: rotate(360deg);
  1543. }
  1544. }
  1545. // Range-field
  1546. @import "template/modules/input-range";
  1547. // Page Column View
  1548. #pages-filters {
  1549. background: $nav-bg;
  1550. color: rgba($nav-text, 0.9);
  1551. .button-border {
  1552. @include button-color-border(lighten($nav-bg, 10%), $nav-text);
  1553. color: $nav-text !important;
  1554. }
  1555. .filters-bar {
  1556. input {
  1557. color: $nav-link;
  1558. border-color: lighten($nav-bg, 12%);
  1559. background-color: lighten($nav-bg, 6%);
  1560. @include placeholder {
  1561. color: rgba($nav-text, 0.5);
  1562. }
  1563. }
  1564. }
  1565. .filters-advanced {
  1566. fieldset {
  1567. border: 1px solid lighten($nav-bg, 5%);
  1568. legend {
  1569. background: $nav-bg;
  1570. color: $nav-text;
  1571. font-weight: bold;
  1572. }
  1573. }
  1574. }
  1575. form {
  1576. .checkboxes {
  1577. label:before {
  1578. background-color: lighten($nav-bg, 8%);
  1579. border-color: lighten($nav-bg, 12%);
  1580. color: $nav-link;
  1581. }
  1582. }
  1583. }
  1584. }
  1585. #pages-columns {
  1586. background: $content-bg;
  1587. border-top: 1px solid rgba($form-border, 0.5);
  1588. &.fjs-container {
  1589. .fjs-col {
  1590. border-right: 1px solid rgba($form-border, 0.5);
  1591. border-bottom: 1px solid rgba($form-border, 0.5);
  1592. }
  1593. }
  1594. .fjs-item {
  1595. &:hover {
  1596. .fjs-info > b {
  1597. color: $content-link;
  1598. }
  1599. .fjs-action-toggle, .fjs-children {
  1600. color: $content-link !important;
  1601. }
  1602. }
  1603. .fjs-icon {
  1604. background-color: #999;
  1605. box-shadow: 0px 0px 0px 1px lighten($form-border, 20%);
  1606. &.home {
  1607. background-color: $flat-blue-2;
  1608. }
  1609. &.visible {
  1610. background-color: $flat-blue-1;
  1611. }
  1612. &.lock {
  1613. background-color: $flat-orange-2;
  1614. }
  1615. &.modular {
  1616. background-color: $flat-purple-1;
  1617. }
  1618. &:after {
  1619. border: 1px solid $content-bg;
  1620. }
  1621. &.badge-published:after {
  1622. background-color: $flat-green-4;
  1623. }
  1624. &.badge-unpublished:after {
  1625. background-color: $flat-red-1;
  1626. }
  1627. .badge-lang {
  1628. background-color: darken($content-tabs-bg, 2%);
  1629. color: darken($content-tabs-text, 5%);
  1630. border: 1px solid $content-bg;
  1631. &.translated {
  1632. background-color: $update-bg;
  1633. color: $update-text;
  1634. }
  1635. &.not-available {
  1636. background-color: $nav-selected-bg;
  1637. color: $nav-selected-link;
  1638. }
  1639. }
  1640. }
  1641. .fjs-info {
  1642. > b {
  1643. color: $content-text;
  1644. }
  1645. > em {
  1646. color: lighten($content-text, 10%);
  1647. }
  1648. }
  1649. .fjs-actions {
  1650. .child-count {
  1651. background-color: darken($content-bg, 10%);
  1652. color: $content-text;
  1653. }
  1654. }
  1655. .fjs-action-toggle {
  1656. color: $primary-accent-bg;
  1657. }
  1658. .fjs-action-toggle, .fjs-children {
  1659. @include button-color-border($form-border, rgba($page-text, 0.5));
  1660. &:hover {
  1661. @if (lightness($form-field-bg) < 50) {
  1662. border-color: lighten($form-border, 5%);
  1663. } @else {
  1664. border-color: darken($form-border, 5%);
  1665. }
  1666. }
  1667. }
  1668. > a {
  1669. position: relative;
  1670. }
  1671. &.fjs-active {
  1672. & > .fjs-item-wrapper {
  1673. @if (lightness($form-field-bg) < 50) {
  1674. background-color: lighten($content-bg, 4%);
  1675. } @else {
  1676. background-color: darken($content-bg, 4%);
  1677. }
  1678. a {
  1679. background: none;
  1680. }
  1681. }
  1682. }
  1683. $highlight-color: #FFFF00;
  1684. &.filters-hit {
  1685. & > .fjs-item-wrapper {
  1686. background-color: lighten($highlight-color, 46%);
  1687. }
  1688. &.fjs-active > .fjs-item-wrapper {
  1689. background-color: lighten($highlight-color, 42%);
  1690. }
  1691. }
  1692. }
  1693. .tags {
  1694. .tag {
  1695. margin: 0 .15rem;
  1696. }
  1697. .tag-published {
  1698. background-color: #219e0d;
  1699. }
  1700. .tag-visible {
  1701. background-color: #018fd9;
  1702. }
  1703. .tag-non-routable {
  1704. background-color: #ff392a;
  1705. }
  1706. }
  1707. .langs {
  1708. .badge {
  1709. align-items: center;
  1710. background-color: darken($content-tabs-bg, 2%);
  1711. color: darken($content-tabs-text, 5%);
  1712. }
  1713. .lang:hover {
  1714. .badge {
  1715. background-color: $page-link;
  1716. color: $page-bg;
  1717. }
  1718. }
  1719. .lang-translated {
  1720. .fa { color: #219e0d; }
  1721. }
  1722. .lang-non-translated {
  1723. .fa { color: #ff392a; }
  1724. }
  1725. }
  1726. .dropdown-menu {
  1727. background-color: darken($content-bg, 5%) !important;
  1728. .divider {
  1729. @if (lightness($form-field-bg) < 50) {
  1730. border-top: 1px solid darken($form-border,8%);
  1731. } @else {
  1732. border-top: 1px solid $form-border;
  1733. }
  1734. }
  1735. td, thead th {
  1736. border-bottom: 1px solid $form-border;
  1737. }
  1738. .dropdown-item {
  1739. color: $content-text;
  1740. background-color: inherit;
  1741. &:hover {
  1742. color: $page-link;
  1743. background-color: darken($content-bg, 8%) !important;
  1744. }
  1745. &.danger {
  1746. .fa {
  1747. color: $critical-bg;
  1748. }
  1749. &:hover {
  1750. background-color: $critical-bg !important;
  1751. .fa {
  1752. color: $critical-text;
  1753. }
  1754. }
  1755. }
  1756. }
  1757. .action-bar {
  1758. background: darken($page-bg, 4%);
  1759. a {
  1760. color: $page-text;
  1761. &:hover {
  1762. background: $page-bg !important;
  1763. color: $page-link !important;
  1764. }
  1765. }
  1766. }
  1767. .fa {
  1768. color: #999;
  1769. }
  1770. a:not(.lang):hover .fa {
  1771. color: $page-link;
  1772. }
  1773. .infos {
  1774. tr td {
  1775. color: $content-text;
  1776. }
  1777. tr td:first-child {
  1778. color: lighten($content-text, 10%);
  1779. }
  1780. }
  1781. }
  1782. }
  1783. #pages-content-wrapper {
  1784. .fjs-path-bar {
  1785. background-color: $content-bg;
  1786. }
  1787. }
  1788. // Flex Pages Breadcrumbs
  1789. .breadcrumb-node {
  1790. &:hover span {
  1791. text-decoration: none;
  1792. color: $content-link;
  1793. }
  1794. & > i:not(.fa) {
  1795. background-color: #999;
  1796. box-shadow: 0px 0px 0px 1px #fff;
  1797. &.home {
  1798. background-color: $flat-blue-2;
  1799. }
  1800. &.visible {
  1801. background-color: $flat-blue-1;
  1802. }
  1803. &.lock {
  1804. background-color: $flat-orange-2;
  1805. }
  1806. &.modular {
  1807. background-color: $flat-purple-1;
  1808. }
  1809. }
  1810. }
  1811. // New Parents Field
  1812. [data-remodal-id].parents-container {
  1813. $remodal_border: #f00;
  1814. @if (lightness($content-bg) < 50) {
  1815. $remodal_border: lighten($content-bg, 10%);
  1816. } @else {
  1817. $remodal_border: darken($content-bg, 10%);
  1818. }
  1819. form > h1 {
  1820. border-bottom: 1px solid $remodal_border;
  1821. }
  1822. .fjs-col {
  1823. border-right: 1px solid $remodal_border;
  1824. }
  1825. .fjs-item a {
  1826. color: $content-link;
  1827. }
  1828. }
  1829. .parents-content.fjs-container {
  1830. .fjs-active a {
  1831. background-color: $button-bg;
  1832. color: $button-text;
  1833. }
  1834. }
  1835. // New 1.7 Permissions
  1836. .permissions-container {
  1837. .switch-toggle {
  1838. input:checked+label {
  1839. }
  1840. input.label0:checked+label {
  1841. color: $white;
  1842. background: $flat-pomegranate !important;
  1843. }
  1844. input.label1:checked+label {
  1845. color: $white;
  1846. background-color: $color-olive !important;
  1847. }
  1848. }
  1849. .badge {
  1850. &.badge-denied {
  1851. background: $flat-pomegranate !important;
  1852. }
  1853. &.badge-access {
  1854. background-color: $color-olive !important;
  1855. }
  1856. &.badge-super {
  1857. background-color: $flat-wisteria !important;
  1858. }
  1859. }
  1860. fieldset {
  1861. border: 1px solid $form-border;
  1862. legend {
  1863. background-color: $content-bg;
  1864. color: $content-header;
  1865. }
  1866. fieldset {
  1867. legend {
  1868. border-bottom: 1px solid $form-border;
  1869. }
  1870. }
  1871. }
  1872. .crudp-container {
  1873. .checkboxes.toggleable {
  1874. label {
  1875. border-color: $form-border ;
  1876. background-color: $form-field-bg;
  1877. }
  1878. }
  1879. .checkboxes input[type=checkbox] + label:before {
  1880. color: rgba($content-text, 0.3);
  1881. }
  1882. .checkboxes[data-_check-status="1"] input[type=checkbox] + label {
  1883. background-color: $color-olive;
  1884. color: $white;
  1885. &:before {
  1886. color: $white;
  1887. }
  1888. }
  1889. .checkboxes[data-_check-status="2"] input[type=checkbox] + label {
  1890. background-color: $flat-pomegranate;
  1891. color: $white;
  1892. &:before {
  1893. color: $white;
  1894. }
  1895. }
  1896. }
  1897. }
  1898. .permission-container {
  1899. .permission-name {
  1900. span:not(.badge) {
  1901. background-color: $content-bg;
  1902. }
  1903. span.badge {
  1904. border: 2px solid $content-bg;
  1905. }
  1906. }
  1907. }
  1908. // Icon Picker
  1909. .icon-set {
  1910. background: lighten($content-bg, 2%);
  1911. }
  1912. // Cron field
  1913. .jqCron-cross,
  1914. .jqCron-selector-title {
  1915. border: 1px solid $form-border;
  1916. }
  1917. .jqCron-container.disable .jqCron-cross:hover,
  1918. .jqCron-container.disable .jqCron-selector-title:hover,
  1919. .jqCron-cross,
  1920. .jqCron-selector-title {
  1921. background: $form-field-bg;
  1922. border-color: $form-border;
  1923. }
  1924. .jqCron-cross:hover,
  1925. .jqCron-selector-title:hover {
  1926. background-color: darken($form-field-bg,10%);
  1927. }
  1928. .jqCron-selector-list {
  1929. background-color: darken($form-field-bg,10%);
  1930. border: 1px solid $form-border;
  1931. }
  1932. .jqCron-selector-list li.selected {
  1933. background: $primary-accent-bg;
  1934. color: $primary-accent-fg;
  1935. }
  1936. .jqCron-selector-list li:hover {
  1937. background: $form-field-bg;
  1938. }
  1939. .jqCron-error .jqCron-selector-title {
  1940. background: $critical-bg;
  1941. border: 1px solid darken($critical-bg, 10%);
  1942. color: $critical-text;
  1943. }
  1944. .jqCron-container.disable * {
  1945. color: darken($form-field-text, 20%);
  1946. }
  1947. .jqCron-container.disable .jqCron-selector-title {
  1948. background: $content-bg !important;
  1949. }
  1950. .hint-icon {
  1951. color: $notice_bg;
  1952. }