default.css 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739
  1. @import url("normalize.css");
  2. @import url("@fortawesome/fontawesome-free/css/fontawesome");
  3. @import url("@fortawesome/fontawesome-free/css/brands");
  4. @import url("@fortawesome/fontawesome-free/css/solid");
  5. @import url("../dependencies/animate");
  6. @import url("../dependencies/jquery-ui");
  7. @import url("../media_queries");
  8. @import url("../fonts");
  9. @import url("../base");
  10. @import url("../utilities");
  11. :root {
  12. --animate-duration: 300ms;
  13. --font-family: "Exo", system-ui;
  14. --font-family-monospace: "Inconsolata", "Lucida Console", "Monaco", monospace;
  15. --color-text: #7c7c7c;
  16. --color-text-link: #326b9b;
  17. --color-text-link-hover: #c36;
  18. --color-background: #fff;
  19. --border-radius-base: 4px;
  20. /* Alerts */
  21. --alert-border-color: #fff;
  22. --alert-box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
  23. --alert-text-shadow: 0 1px rgb(0 0 0 / 45%);
  24. --alert-info-color: #618ecc;
  25. --alert-danger-color: #ec6c6c;
  26. --alert-success-color: #5ea64c;
  27. /* Icons */
  28. --icon-color-teal: #3cc;
  29. --icon-color-purple: #8e2fca;
  30. --icon-color-maroon: #c36;
  31. --icon-color-red: #f33;
  32. --icon-color-green: #53ba55;
  33. --icon-color-orange: #ffc043;
  34. --icon-color-blue: #326b9b;
  35. --icon-color-lightblue: #6eb6f0;
  36. }
  37. /* App header
  38. ========================================================================== */
  39. .app-header {
  40. padding-top: 40px;
  41. }
  42. /* Container
  43. ========================================================================== */
  44. .container {
  45. margin-left: auto;
  46. margin-right: auto;
  47. max-width: 1024px;
  48. }
  49. /* Top bar
  50. ========================================================================== */
  51. .top-bar {
  52. background: linear-gradient(
  53. to bottom,
  54. rgb(104 145 196 / 100%) 0%,
  55. rgb(69 114 181 / 100%) 50%,
  56. rgb(65 90 149 / 100%) 100%
  57. );
  58. background-color: #5070a6;
  59. box-shadow: 0 4px 10px rgb(100 100 100 / 40%);
  60. border-bottom: 1px solid #fff;
  61. position: fixed;
  62. display: flex;
  63. size: 100% 40px;
  64. z-index: 2;
  65. top: 0;
  66. }
  67. .top-bar-inner {
  68. display: flex;
  69. flex-grow: 1;
  70. padding-left: 20px;
  71. padding-right: 20px;
  72. justify-content: space-between;
  73. @media (--viewport-large) {
  74. padding-left: 0;
  75. padding-right: 0;
  76. }
  77. }
  78. .top-bar-left {
  79. display: flex;
  80. }
  81. .top-bar-logo {
  82. display: flex;
  83. align-items: center;
  84. margin-right: 30px;
  85. }
  86. .top-bar-usage {
  87. display: none;
  88. @media (--viewport-small) {
  89. display: flex;
  90. align-items: center;
  91. }
  92. }
  93. .top-bar-usage-inner {
  94. display: flex;
  95. color: #fff;
  96. text-shadow: 1px 1px rgb(0 0 0 / 25%);
  97. font-weight: 500;
  98. }
  99. .top-bar-usage-item {
  100. margin-right: 11px;
  101. &:last-child {
  102. margin-right: 0;
  103. }
  104. & .fas {
  105. margin-right: 3px;
  106. }
  107. }
  108. .top-bar-right {
  109. display: flex;
  110. }
  111. .top-bar-notifications {
  112. display: flex;
  113. position: relative;
  114. }
  115. .top-bar-notifications-list {
  116. background-color: #fff;
  117. box-shadow: 0 3px 20px 0 rgb(0 0 0 / 40%);
  118. max-height: 500px;
  119. overflow-y: auto;
  120. position: absolute;
  121. top: 100%;
  122. right: 0;
  123. width: 280px;
  124. z-index: 1;
  125. border-bottom-left-radius: 6px;
  126. border-bottom-right-radius: 6px;
  127. border: 1px solid #fff;
  128. border-top: none;
  129. @media (--viewport-small) {
  130. width: 330px;
  131. }
  132. @media (--viewport-medium) {
  133. width: 400px;
  134. }
  135. }
  136. .top-bar-notification-item {
  137. color: #6f6f6f;
  138. font-size: 0.8rem;
  139. border-bottom: 1px solid #e9e4e4;
  140. padding: 15px;
  141. &:last-child {
  142. border-bottom: none;
  143. }
  144. &.empty {
  145. text-align: center;
  146. font-size: 1.2rem;
  147. font-weight: normal;
  148. padding: 4rem;
  149. & .fas {
  150. font-size: 4rem;
  151. margin-bottom: 20px;
  152. }
  153. }
  154. &.unseen {
  155. & .top-bar-notification-title {
  156. color: #c36;
  157. }
  158. & .top-bar-notification-delete {
  159. display: block;
  160. }
  161. }
  162. & a {
  163. font-weight: 600;
  164. }
  165. }
  166. .top-bar-notification-timestamp {
  167. font-size: 0.75rem;
  168. font-weight: 600;
  169. text-align: right;
  170. margin-top: 10px;
  171. }
  172. .top-bar-notification-header {
  173. display: flex;
  174. align-items: center;
  175. justify-content: space-between;
  176. margin-bottom: 10px;
  177. }
  178. .top-bar-notification-title {
  179. color: #9e9e9e;
  180. font-size: 0.85rem;
  181. font-weight: 600;
  182. & a {
  183. color: #9e9e9e;
  184. }
  185. }
  186. .top-bar-notification-delete {
  187. display: none;
  188. background-color: transparent;
  189. border: 0;
  190. padding-left: 5px;
  191. padding-right: 5px;
  192. background: none;
  193. & .fas {
  194. color: #c36;
  195. font-size: 0.9rem;
  196. }
  197. &:hover .fas {
  198. opacity: 0.8;
  199. }
  200. }
  201. .top-bar-notification-delete-all {
  202. display: block;
  203. background-color: transparent;
  204. text-align: center;
  205. border: 0;
  206. padding: 10px 15px;
  207. width: 100%;
  208. background: none;
  209. color: var(--color-text-link);
  210. &:hover {
  211. background-color: rgb(0 0 0 / 5%);
  212. color: var(--color-text-link-hover);
  213. }
  214. & .fas {
  215. color: #c36;
  216. margin-right: 5px;
  217. }
  218. }
  219. .top-bar-menu {
  220. display: flex;
  221. position: relative;
  222. }
  223. .top-bar-menu-list {
  224. display: block;
  225. background-color: #4673b6;
  226. box-shadow: 0 3px 20px 0 rgb(0 0 0 / 40%);
  227. position: absolute;
  228. top: 100%;
  229. right: 0;
  230. @media (--viewport-medium) {
  231. display: flex !important; /* NOTE: Overrides inline style set by JS */
  232. background-color: transparent;
  233. box-shadow: none;
  234. position: static;
  235. }
  236. }
  237. .top-bar-menu-item {
  238. @media (--viewport-medium) {
  239. display: flex;
  240. }
  241. }
  242. .top-bar-menu-link {
  243. color: #f7f7f7;
  244. display: flex;
  245. align-items: center;
  246. font-size: 0.8rem;
  247. font-weight: 600;
  248. text-shadow: 1px 1px rgb(0 0 0 / 25%);
  249. background-color: transparent;
  250. border: 0;
  251. border-left: 1px solid transparent;
  252. border-right: 1px solid transparent;
  253. padding: 10px;
  254. &:hover {
  255. box-shadow: inset 0 0 6px rgb(255 255 255 / 60%);
  256. transition: 0.2s;
  257. color: #4686b8;
  258. border-left: 1px solid rgb(0 0 0 / 10%);
  259. border-right: 1px solid rgb(0 0 0 / 10%);
  260. background: linear-gradient(
  261. to bottom,
  262. rgb(255 255 255 / 60%) 0%,
  263. rgb(255 255 255 / 75%) 30%,
  264. rgb(255 255 255 / 100%) 95%
  265. );
  266. text-shadow: 0 1px rgb(255 255 255 / 80%);
  267. }
  268. &:active {
  269. color: #046c98;
  270. border-left: 1px solid rgb(0 0 0 / 15%);
  271. border-right: 1px solid rgb(0 0 0 / 15%);
  272. text-shadow: 0 -1px 1px rgb(255 255 255 / 50%);
  273. background: linear-gradient(
  274. to bottom,
  275. rgb(255 255 255 / 50%) 0%,
  276. rgb(255 255 255 / 60%) 30%,
  277. rgb(255 255 255 / 95%) 95%
  278. );
  279. box-shadow: inset 0 0 1px #fff, inset -1px -1px 4px rgb(220 220 220 / 40%);
  280. transition: 0.2s;
  281. }
  282. &.active {
  283. color: #4686b8;
  284. background: linear-gradient(
  285. to bottom,
  286. rgb(255 255 255 / 60%) 0%,
  287. rgb(255 255 255 / 75%) 30%,
  288. rgb(255 255 255 / 100%) 95%
  289. );
  290. text-shadow: 0 1px rgb(255 255 255 / 80%);
  291. border-left: 1px solid rgb(255 255 255 / 98%);
  292. border-right: 1px solid rgb(255 255 255 / 98%);
  293. }
  294. & .fas {
  295. font-size: 1.1rem;
  296. }
  297. }
  298. .top-bar-menu-link-logout {
  299. color: #dbf94e;
  300. }
  301. .top-bar-menu-link-label {
  302. margin-left: 6px;
  303. white-space: nowrap;
  304. @media (--viewport-medium) {
  305. display: none;
  306. }
  307. @media (--viewport-large) {
  308. display: inline;
  309. }
  310. }
  311. /* Main menu
  312. ========================================================================== */
  313. .main-menu {
  314. @media (--viewport-medium) {
  315. padding-top: 10px;
  316. }
  317. }
  318. .main-menu-toggle {
  319. border: 0;
  320. background-color: transparent;
  321. padding: 10px;
  322. display: block;
  323. width: 100%;
  324. &:hover {
  325. background-color: rgb(0 0 0 / 5%);
  326. & .main-menu-toggle-label {
  327. color: #c36;
  328. }
  329. }
  330. & .fas {
  331. color: #999;
  332. margin-right: 5px;
  333. }
  334. @media (--viewport-small) {
  335. display: none;
  336. }
  337. }
  338. .main-menu-toggle-label {
  339. color: #5b5b5b;
  340. font-weight: 600;
  341. }
  342. .main-menu-list {
  343. display: block;
  344. border-top: 1px solid #ddd;
  345. @media (--viewport-small) {
  346. border-top: 0;
  347. display: flex !important; /* NOTE: Overrides inline style set by JS */
  348. justify-content: space-evenly;
  349. }
  350. }
  351. .main-menu-item {
  352. @media (--viewport-small) {
  353. flex-grow: 1;
  354. }
  355. @media (--viewport-medium) {
  356. flex-grow: 0;
  357. display: flex;
  358. &.focus {
  359. & .main-menu-item-link {
  360. border-bottom-color: #5edad0;
  361. }
  362. & .main-menu-item-label {
  363. color: #5edad0;
  364. }
  365. }
  366. }
  367. }
  368. .main-menu-item-link {
  369. display: block;
  370. text-align: center;
  371. padding: 10px;
  372. &:hover {
  373. background-color: rgb(0 0 0 / 5%);
  374. & .main-menu-item-label {
  375. color: #c36;
  376. }
  377. }
  378. &.active {
  379. & .main-menu-item-label {
  380. color: #c36;
  381. & .fas {
  382. color: #c36;
  383. }
  384. }
  385. }
  386. @media (--viewport-small) {
  387. padding-top: 20px;
  388. padding-bottom: 20px;
  389. }
  390. @media (--viewport-medium) {
  391. border-bottom: 4px solid #fff;
  392. &:hover,
  393. &.active {
  394. background-color: transparent;
  395. border-bottom-color: #c36;
  396. transition: 0.3s;
  397. }
  398. }
  399. @media (--viewport-large) {
  400. padding-left: 30px;
  401. padding-right: 30px;
  402. }
  403. }
  404. .main-menu-item-label {
  405. color: #5b5b5b;
  406. font-weight: 600;
  407. & .fas {
  408. color: #999;
  409. margin-left: 5px;
  410. }
  411. @media (--viewport-medium) {
  412. font-size: 1rem;
  413. & .fas {
  414. margin-left: 10px;
  415. }
  416. }
  417. }
  418. .main-menu-stats {
  419. display: none;
  420. @media (--viewport-medium) {
  421. color: var(--color-text);
  422. display: block;
  423. font-size: 0.75rem;
  424. text-transform: lowercase;
  425. line-height: 1.8;
  426. padding-top: 10px;
  427. padding-bottom: 10px;
  428. }
  429. }
  430. /* Toolbar
  431. ========================================================================== */
  432. .toolbar {
  433. background-color: #fff;
  434. border-top: 1px solid #ddd;
  435. border-bottom: 1px solid #ddd;
  436. & .form-select {
  437. color: inherit;
  438. padding-top: 4px;
  439. padding-bottom: 4px;
  440. box-shadow: none;
  441. border-color: #ddd;
  442. border-right-color: transparent;
  443. border-top-right-radius: 0;
  444. border-bottom-right-radius: 0;
  445. &:focus {
  446. box-shadow: none;
  447. }
  448. }
  449. & .form-control {
  450. padding-top: 4px;
  451. padding-bottom: 4px;
  452. box-shadow: none;
  453. border-color: #ddd;
  454. border-right-color: transparent;
  455. border-top-right-radius: 0;
  456. border-bottom-right-radius: 0;
  457. &:hover {
  458. border-right-color: #94c8f0;
  459. }
  460. &:focus {
  461. border-right-color: #008fee;
  462. }
  463. }
  464. @media (--viewport-large) {
  465. position: sticky;
  466. z-index: 1;
  467. top: 39px;
  468. height: 45px;
  469. display: flex;
  470. justify-content: center;
  471. align-items: center;
  472. &.active {
  473. box-shadow: 0 4px 6px rgb(0 0 0 / 10%);
  474. }
  475. }
  476. }
  477. .toolbar-inner {
  478. padding: 10px 20px;
  479. @media (--viewport-large) {
  480. display: flex;
  481. justify-content: space-between;
  482. align-items: center;
  483. flex-grow: 1;
  484. max-width: 1024px;
  485. padding: 5px 0;
  486. }
  487. }
  488. .toolbar-right {
  489. & form {
  490. display: flex;
  491. }
  492. @media (--viewport-large) {
  493. display: flex;
  494. }
  495. }
  496. .toolbar-sorting {
  497. position: relative;
  498. font-size: 0.8rem;
  499. padding-bottom: 5px;
  500. & form {
  501. flex-grow: 1;
  502. }
  503. @media (--viewport-small) {
  504. display: flex;
  505. align-items: center;
  506. & form {
  507. margin-left: 10px;
  508. }
  509. }
  510. @media (--viewport-large) {
  511. padding-bottom: 0;
  512. }
  513. }
  514. .toolbar-sorting-toggle {
  515. color: var(--color-text);
  516. display: block;
  517. border: 0;
  518. padding-bottom: 5px;
  519. background: none;
  520. text-transform: uppercase;
  521. &:hover {
  522. color: #4b4b4b;
  523. & b {
  524. color: #4b4b4b;
  525. }
  526. }
  527. &:active {
  528. color: #3b9de8;
  529. & b {
  530. color: #3b9de8;
  531. }
  532. }
  533. & b {
  534. padding-left: 3px;
  535. }
  536. @media (--viewport-small) {
  537. padding-bottom: 0;
  538. }
  539. }
  540. .toolbar-sorting-menu {
  541. position: absolute;
  542. top: 25px;
  543. left: 0;
  544. z-index: 1;
  545. overflow: hidden;
  546. border-radius: var(--border-radius-base);
  547. border: 1px solid rgb(255 255 255 / 100%);
  548. background-color: rgb(255 255 255 / 95%);
  549. box-shadow: 0 2px 14px 0 rgb(20 20 20 / 35%);
  550. & li {
  551. border-bottom: 1px solid #ddd;
  552. color: #2e2e2e;
  553. cursor: pointer;
  554. &:last-child {
  555. border-bottom: none;
  556. }
  557. }
  558. & span {
  559. &.name {
  560. display: inline-block;
  561. padding: 11px;
  562. width: 141px;
  563. font-weight: 500;
  564. & .fas.fa-arrow-down-a-z {
  565. float: right;
  566. margin-top: 2px;
  567. }
  568. }
  569. &.up {
  570. display: inline-block;
  571. padding: 11px 14px;
  572. width: 44px;
  573. }
  574. &.active {
  575. background-color: #4f8bbc;
  576. color: #4686b8;
  577. background: linear-gradient(
  578. to bottom,
  579. rgb(255 255 255 / 60%) 0%,
  580. rgb(255 255 255 / 75%) 50%,
  581. rgb(255 255 255 / 95%) 95%
  582. );
  583. text-shadow: 0 1px rgb(255 255 255 / 80%);
  584. }
  585. &:hover {
  586. color: #3b9de8;
  587. text-shadow: 1px 1px rgb(255 255 255 / 50%);
  588. background: linear-gradient(
  589. to bottom,
  590. rgb(241 248 253 / 100%) 0%,
  591. rgb(218 236 250 / 100%) 50%,
  592. rgb(190 221 246 / 100%) 51%,
  593. rgb(227 240 251 / 100%) 100%
  594. );
  595. box-shadow: inset 0 0 1px #fff, inset 0 0 6px rgb(255 255 255 / 60%);
  596. transition: 0.2s;
  597. }
  598. &:active,
  599. &:focus {
  600. background: linear-gradient(
  601. to bottom,
  602. rgb(210 232 250 / 100%) 0%,
  603. rgb(187 220 247 / 100%) 50%,
  604. rgb(162 207 244 / 100%) 51%,
  605. rgb(194 224 248 / 100%) 100%
  606. );
  607. color: #046c98;
  608. text-shadow: 0 -1px 1px rgb(255 255 255 / 50%);
  609. box-shadow: inset 0 0 1px #fff, inset -1px -1px 4px rgb(220 220 220 / 40%);
  610. }
  611. }
  612. @media (--viewport-small) {
  613. top: 35px;
  614. }
  615. }
  616. .toolbar-input-submit {
  617. display: flex;
  618. align-items: center;
  619. border: 1px solid #ddd;
  620. border-left: 0;
  621. background-color: rgb(255 255 255 / 90%);
  622. border-radius: 0 var(--border-radius-base) var(--border-radius-base) 0;
  623. box-shadow: inset 0 0 1px rgb(41 90 152 / 10%), inset 0 0 2px rgb(255 255 255 / 100%);
  624. text-shadow: 1px 1px rgb(255 255 255 / 90%);
  625. color: #069;
  626. min-width: 32px;
  627. padding: 0 10px;
  628. font-size: 0.75rem;
  629. &:hover {
  630. color: #39c;
  631. background-color: #fff;
  632. }
  633. &:active {
  634. color: #409fd5;
  635. box-shadow: inset 1px 1px 0 rgb(0 0 0 / 10%);
  636. }
  637. }
  638. .toolbar-link {
  639. display: block;
  640. padding: 6px 12px;
  641. color: #777;
  642. text-transform: uppercase;
  643. font-weight: 600;
  644. &.selected {
  645. color: #c36;
  646. }
  647. &:hover {
  648. color: #c36;
  649. }
  650. &:active {
  651. color: #3b9de8;
  652. }
  653. }
  654. .toolbar-buttons {
  655. padding-bottom: 10px;
  656. &:last-child {
  657. padding-bottom: 0;
  658. }
  659. & .button {
  660. min-width: 0;
  661. width: 100%;
  662. margin-bottom: 5px;
  663. padding: 2px 10px;
  664. &:last-child {
  665. margin-bottom: 0;
  666. }
  667. }
  668. @media (--viewport-medium) {
  669. display: flex;
  670. align-items: center;
  671. & .inline-alert {
  672. margin-right: 20px;
  673. }
  674. & .button {
  675. margin-bottom: 0;
  676. margin-right: 8px;
  677. &:last-child {
  678. margin-right: 0;
  679. }
  680. }
  681. }
  682. @media (--viewport-large) {
  683. padding-bottom: 0;
  684. & .button {
  685. width: auto;
  686. }
  687. }
  688. }
  689. .toolbar-search {
  690. @media (--viewport-large) {
  691. margin-left: 12px;
  692. }
  693. }
  694. /* Cards
  695. ========================================================================== */
  696. .cards {
  697. @media (--viewport-small) {
  698. display: grid;
  699. gap: 25px;
  700. grid-template-columns: repeat(2, 1fr);
  701. }
  702. @media (--viewport-medium) {
  703. grid-template-columns: repeat(4, 1fr);
  704. }
  705. }
  706. .card {
  707. overflow: hidden;
  708. background-color: #f5f5f5;
  709. border: 1px solid #d3d3d3;
  710. box-shadow: 0 1px 4px rgb(0 0 0 / 20%);
  711. border-radius: var(--border-radius-base);
  712. margin-bottom: 20px;
  713. @media (--viewport-small) {
  714. margin-bottom: 0;
  715. }
  716. &.disabled {
  717. color: #b6b6b6;
  718. & .card-thumb {
  719. filter: grayscale(100%);
  720. opacity: 0.3;
  721. }
  722. }
  723. }
  724. .card-thumb {
  725. background-color: #fff;
  726. display: flex;
  727. align-items: center;
  728. justify-content: center;
  729. height: 180px;
  730. padding: 20px;
  731. & img {
  732. max-width: 100%;
  733. max-height: 100%;
  734. }
  735. }
  736. .card-content {
  737. padding: 10px;
  738. color: #353535;
  739. border-top: 1px solid #e6e6e6;
  740. text-align: center;
  741. }
  742. .card-title {
  743. font-size: 1rem;
  744. font-weight: 600;
  745. }
  746. .body-user .l-unit.animate__animated.animate__fadeIn {
  747. line-height: 2rem;
  748. }
  749. .body-user .actions-panel {
  750. line-height: 2rem;
  751. }
  752. .l-unit {
  753. color: #707070;
  754. padding-left: 15px;
  755. overflow: hidden;
  756. font-size: 0.8rem;
  757. border-left: 1px solid transparent;
  758. border-right: 1px solid transparent;
  759. }
  760. .table-header {
  761. font-size: 0.8rem;
  762. background: linear-gradient(to bottom, rgb(247 247 247 / 100%) 0%, rgb(255 255 255 / 100%) 100%);
  763. background-color: #fff;
  764. border-left: 1px solid #d0d0d0;
  765. border-right: 1px solid #d0d0d0;
  766. border-bottom: 1px solid #d0d0d0;
  767. text-shadow: 0 1px rgb(255 255 255 / 100%);
  768. box-shadow: inset 0 1px 1px rgb(255 255 255 / 100%), inset 0 0 1px rgb(255 255 255 / 100%),
  769. inset 0 0 4px rgb(255 255 255 / 80%), 0 1px 4px rgb(140 140 140 / 35%);
  770. border-radius: 0 0 6px 6px;
  771. min-height: 28px;
  772. padding: 4px 0 4px 15px;
  773. color: #707070;
  774. overflow: hidden;
  775. width: 1024px;
  776. line-height: 1rem;
  777. & .fas {
  778. font-size: 1rem;
  779. }
  780. @media (--viewport-large) {
  781. &.active {
  782. position: fixed;
  783. top: 84px;
  784. z-index: 1;
  785. }
  786. }
  787. }
  788. .units {
  789. overflow-x: auto;
  790. padding-left: 20px;
  791. padding-right: 20px;
  792. padding-bottom: 20px;
  793. @media (--viewport-large) {
  794. padding-left: 0;
  795. padding-right: 0;
  796. padding-bottom: 0;
  797. }
  798. }
  799. .units .l-unit {
  800. border-bottom: 1px solid #ddd;
  801. border-left: 1px solid transparent;
  802. border-right: 1px solid transparent;
  803. width: 1024px;
  804. }
  805. .l-unit:hover,
  806. .units .l-unit:hover {
  807. box-shadow: 0 2px 10px rgb(150 150 150 / 20%);
  808. background-color: #f8f8f8;
  809. text-shadow: 0 1px rgb(255 255 255 / 50%);
  810. border-left: 1px solid #ddd;
  811. border-right: 1px solid #ddd;
  812. }
  813. .units .l-unit.l-unit--starred {
  814. border-left: 2px solid #c36;
  815. }
  816. .units.active .l-unit.focus {
  817. border-left: 2px solid #5edad0;
  818. background-color: #eff5fc;
  819. }
  820. .units.active .l-unit.focus .l-unit__name {
  821. color: #36b3a9;
  822. }
  823. .units.active .l-unit.focus .l-unit-toolbar__col--right {
  824. display: block;
  825. }
  826. .units > div:last-child {
  827. border-bottom: none;
  828. }
  829. .l-unit:hover .l-unit-toolbar__col--right {
  830. display: block;
  831. }
  832. .l-unit--blue {
  833. border-left: 2px solid #3b9de8;
  834. }
  835. .l-unit--suspended {
  836. background-color: #eaeaea !important;
  837. color: #c0c0c0;
  838. & a {
  839. color: #c0c0c0 !important;
  840. }
  841. }
  842. .units .l-unit.l-unit--outdated {
  843. background-color: #ffcaca;
  844. color: #4b4b4b;
  845. }
  846. .body-updates .units .l-unit.l-unit--outdated .fas.fa-box-open {
  847. color: #da1010;
  848. }
  849. .l-unit--suspended .l-unit__name,
  850. .l-unit--suspended b,
  851. .l-unit--outdated .l-unit__name,
  852. .l-unit--outdated b {
  853. color: #c0c0c0;
  854. }
  855. .l-unit--outdated .l-unit__name {
  856. color: #333;
  857. }
  858. .l-unit--outdated b {
  859. color: #4b4b4b;
  860. }
  861. .l-unit--suspended .l-percent {
  862. border-color: #fff;
  863. }
  864. .l-unit--suspended .l-percent__fill {
  865. background-color: #fff;
  866. }
  867. .l-unit--suspended .l-unit__name,
  868. .l-unit--suspended .l-unit__name span {
  869. color: #adadad;
  870. }
  871. .l-unit--suspended.selected {
  872. background-color: #f2eab8 !important;
  873. color: #b2ac87 !important;
  874. }
  875. .l-unit--outdated.selected {
  876. background: #ff9494 !important;
  877. color: #333 !important;
  878. text-shadow: none !important;
  879. }
  880. .l-unit--suspended.selected b,
  881. .l-unit--outdated.selected .l-unit__name,
  882. .l-unit--outdated.selected b,
  883. .l-unit--suspended.selected .l-percent,
  884. .l-unit--suspended.selected .l-percent__fill,
  885. .l-unit--suspended.selected .l-unit__name,
  886. .l-unit--suspended.selected .l-unit__name span {
  887. color: #333 !important;
  888. }
  889. .l-unit.selected .l-percent {
  890. border-bottom: 1px dotted #777;
  891. }
  892. .l-unit--selected {
  893. background-color: #d1eddc;
  894. }
  895. .l-unit-toolbar {
  896. display: none;
  897. }
  898. .l-unit label {
  899. margin-bottom: 20px;
  900. }
  901. .l-unit__columns {
  902. display: table;
  903. width: 100%;
  904. }
  905. .l-unit__col {
  906. display: table-cell;
  907. padding-top: 12px;
  908. vertical-align: top;
  909. padding-bottom: 10px;
  910. }
  911. .l-unit__col--left {
  912. width: 110px;
  913. padding-right: 10px;
  914. }
  915. .units.compact .l-unit__col--left {
  916. vertical-align: top;
  917. }
  918. .l-unit__col--right.total {
  919. padding-left: 16px;
  920. }
  921. .l-unit__suspended {
  922. display: none;
  923. font-size: 0.8rem;
  924. font-weight: 600;
  925. margin-top: 36px;
  926. text-transform: uppercase;
  927. margin-bottom: 14px;
  928. }
  929. .units.compact .l-unit__suspended {
  930. margin-top: 1px;
  931. }
  932. .l-unit--outdated .l-unit__suspended,
  933. .l-unit--suspended .l-unit__suspended {
  934. display: block;
  935. }
  936. .l-unit__name {
  937. color: #414141;
  938. font-size: 1.4rem;
  939. margin-top: 10px;
  940. margin-bottom: 10px;
  941. font-weight: 500;
  942. letter-spacing: -0.02em;
  943. }
  944. .l-unit__servername {
  945. color: #414141;
  946. font-size: 1.7rem;
  947. margin-bottom: 10px;
  948. font-weight: 300;
  949. letter-spacing: -0.02em;
  950. }
  951. .l-unit__stats.separate,
  952. .l-unit__name.separate {
  953. padding-bottom: 15px;
  954. }
  955. .body-stats .l-unit__name {
  956. margin-left: -42px;
  957. margin-top: 12px;
  958. color: #606060;
  959. }
  960. .l-unit__name span {
  961. color: #999;
  962. margin-left: 30px;
  963. font-style: italic;
  964. &:first-of-type {
  965. margin-left: 39px;
  966. }
  967. }
  968. .l-unit__name b {
  969. font-weight: normal;
  970. font-style: italic;
  971. }
  972. .l-unit__stats {
  973. margin-bottom: 10px;
  974. margin-left: 15%;
  975. border-left: 1px solid transparent !important;
  976. border-right: 1px solid transparent !important;
  977. &:hover {
  978. border-left: 1px solid transparent !important;
  979. border-right: 1px solid transparent !important;
  980. box-shadow: none !important;
  981. background: none !important;
  982. }
  983. & table {
  984. table-layout: fixed;
  985. margin-top: -54px;
  986. margin-left: -20px;
  987. }
  988. & td {
  989. height: 32px;
  990. padding-bottom: 4px;
  991. vertical-align: middle;
  992. }
  993. }
  994. .body-stats .l-unit__stat-col--left {
  995. width: 180px;
  996. }
  997. .body-stats .l-unit__stat-col--right {
  998. float: right;
  999. }
  1000. .l-unit__stat-col--left a,
  1001. .l-unit__stat-col--left a:visited {
  1002. color: #353535;
  1003. }
  1004. .l-unit__stat-col--left a:hover {
  1005. color: #4c8bbe;
  1006. }
  1007. .l-unit__stat-col--left {
  1008. float: left;
  1009. width: 110px;
  1010. }
  1011. .l-unit__stat-col--left.border {
  1012. border-left: 1px solid #ebebeb;
  1013. }
  1014. .l-unit__stat-col--left.border-clear {
  1015. border-left: 1px solid transparent;
  1016. }
  1017. .l-unit__stat-col--left.super-compact {
  1018. width: 50px;
  1019. white-space: nowrap;
  1020. }
  1021. .l-unit__stat-col--left.compact {
  1022. width: 60px;
  1023. }
  1024. .l-unit__stat-col--left.compact-1 {
  1025. width: 70px;
  1026. }
  1027. .l-unit__stat-col--left.compact-2 {
  1028. width: 80px;
  1029. }
  1030. .l-unit__stat-col--left.compact-3 {
  1031. width: 90px;
  1032. }
  1033. .l-unit__stat-col--left.compact-4 {
  1034. width: 130px;
  1035. }
  1036. .l-unit__stat-col--left.compact-5 {
  1037. width: 160px;
  1038. }
  1039. .l-unit__stat-col--left.wide {
  1040. width: 190px;
  1041. }
  1042. .l-unit__stat-col--left.wide-2 {
  1043. width: 230px;
  1044. }
  1045. .l-unit__stat-col--left.wide-3 {
  1046. width: 250px;
  1047. }
  1048. .l-unit__stat-col--left.wide-4 {
  1049. width: 320px;
  1050. }
  1051. .l-unit__stat-col--left.wide-5 {
  1052. width: 350px;
  1053. }
  1054. .l-unit__stat-col--left.wide-6 {
  1055. width: 440px;
  1056. }
  1057. .l-unit__stat-col--left.wide-7 {
  1058. width: 550px;
  1059. }
  1060. .l-unit__stat-col--right {
  1061. float: left;
  1062. max-width: 170px;
  1063. }
  1064. .l-unit-toolbar__col--left {
  1065. float: left;
  1066. margin-left: -15px;
  1067. margin-top: 0;
  1068. padding-bottom: 0;
  1069. padding-left: 15px;
  1070. padding-top: 15px;
  1071. width: 30px;
  1072. cursor: pointer;
  1073. display: none;
  1074. }
  1075. .l-unit-toolbar__col--right {
  1076. float: right;
  1077. }
  1078. .l-unit-toolbar .shortcut {
  1079. display: none;
  1080. }
  1081. .units.active .l-unit.focus .l-unit-toolbar .shortcut {
  1082. display: block;
  1083. background-color: #69a298;
  1084. border-radius: 13px;
  1085. color: #fff;
  1086. cursor: pointer;
  1087. font-size: 0.8rem;
  1088. font-weight: 600;
  1089. line-height: 25px;
  1090. padding-left: 7px;
  1091. padding-right: 9px;
  1092. position: absolute;
  1093. right: 3px;
  1094. top: 3px;
  1095. }
  1096. .units.active .l-unit.focus .l-unit-toolbar .shortcut.delete {
  1097. font-size: 10px;
  1098. padding-left: 2px;
  1099. padding-right: 5px;
  1100. text-transform: capitalize;
  1101. }
  1102. .units.active .l-unit.focus .l-unit-toolbar .shortcut.enter {
  1103. font-size: 17px;
  1104. padding-left: 1px;
  1105. padding-right: 7px;
  1106. }
  1107. .units.active .l-unit.focus .l-unit-toolbar i {
  1108. background: none;
  1109. }
  1110. .actions-panel {
  1111. line-height: 1.1rem;
  1112. }
  1113. .actions-panel__col {
  1114. display: inline-block;
  1115. margin-left: 3px;
  1116. text-transform: uppercase;
  1117. & a {
  1118. color: #777;
  1119. font-weight: 600;
  1120. font-size: 0.9rem;
  1121. display: inline-block;
  1122. cursor: pointer;
  1123. }
  1124. }
  1125. .l-unit__col .actions-panel .fas {
  1126. display: none;
  1127. }
  1128. .l-unit__col:hover .actions-panel .fas {
  1129. display: inline-block;
  1130. }
  1131. .l-unit__stat-cols {
  1132. padding-right: 10px;
  1133. }
  1134. .l-unit__stat-cols.last {
  1135. padding-right: 0;
  1136. }
  1137. .l-unit__stat-cols.graph {
  1138. width: 242px;
  1139. }
  1140. .l-percent {
  1141. border-bottom: 3px solid #e6e6e6;
  1142. margin-top: 2px;
  1143. width: 242px;
  1144. }
  1145. .l-percent__fill {
  1146. background-color: #54e000;
  1147. height: 3px;
  1148. position: relative;
  1149. bottom: -3px;
  1150. }
  1151. .statistics-count {
  1152. min-width: 24px;
  1153. text-align: right;
  1154. border-bottom: 1px dotted #ddd;
  1155. border-right: 1px dotted #ddd;
  1156. padding-right: 4px;
  1157. }
  1158. /* Forms
  1159. ========================================================================== */
  1160. .form-container {
  1161. max-width: 640px;
  1162. margin-left: auto;
  1163. margin-right: auto;
  1164. padding: 30px 20px;
  1165. }
  1166. .form-container-wide {
  1167. max-width: 920px;
  1168. }
  1169. @media (--viewport-medium) {
  1170. .sidebar-right-container {
  1171. display: grid;
  1172. gap: 50px;
  1173. grid-template-columns: 2fr 1.3fr;
  1174. }
  1175. }
  1176. @media (--viewport-medium) {
  1177. .sidebar-left-container {
  1178. display: grid;
  1179. gap: 50px;
  1180. grid-template-columns: 1fr 3fr;
  1181. }
  1182. }
  1183. .form-title {
  1184. color: #4b4b4b;
  1185. font-size: 1.4rem;
  1186. font-weight: 500;
  1187. padding-bottom: 30px;
  1188. letter-spacing: -0.01em;
  1189. }
  1190. .form-label {
  1191. margin-bottom: 5px;
  1192. display: inline-block;
  1193. }
  1194. .form-label,
  1195. .form-check label {
  1196. color: #4b4b4b;
  1197. font-weight: 600;
  1198. }
  1199. .form-control {
  1200. background-color: #fff;
  1201. border: 1px solid #cfcfcf;
  1202. display: block;
  1203. width: 100%;
  1204. padding: 8px 12px;
  1205. font-size: 0.8rem;
  1206. font-weight: normal;
  1207. color: #4e4e4e;
  1208. border-radius: var(--border-radius-base);
  1209. line-height: 1.5;
  1210. appearance: none;
  1211. box-shadow: 0 1px 4px rgb(0 0 0 / 15%);
  1212. transition: background-color 0.5s;
  1213. &:hover {
  1214. border-color: #94c8f0;
  1215. }
  1216. &:focus {
  1217. border-color: #008fee;
  1218. background-color: #d7f9ff;
  1219. color: #333;
  1220. }
  1221. &.list-editor {
  1222. border-color: transparent;
  1223. box-shadow: none;
  1224. position: absolute;
  1225. padding-top: 7px;
  1226. padding-bottom: 7px;
  1227. width: auto;
  1228. top: 1px;
  1229. left: 1px;
  1230. right: 30px;
  1231. &:hover {
  1232. border-color: transparent;
  1233. }
  1234. &:focus {
  1235. background-color: #fff;
  1236. }
  1237. }
  1238. &.highlighted {
  1239. color: #444;
  1240. background-color: #fff7b6;
  1241. }
  1242. }
  1243. .form-select {
  1244. display: block;
  1245. width: 100%;
  1246. font-weight: normal;
  1247. font-size: 0.8rem;
  1248. padding: 8px 30px 8px 12px;
  1249. line-height: 1.5;
  1250. border-radius: var(--border-radius-base);
  1251. background-color: #fff;
  1252. border: 1px solid #ccc;
  1253. color: #4e4e4e;
  1254. appearance: none;
  1255. background-image: url("/images/arrow.svg");
  1256. background-size: 16px auto;
  1257. background-repeat: no-repeat;
  1258. background-position: right 9px center;
  1259. text-shadow: 0 0 0 #4b4b4b;
  1260. box-shadow: 0 1px 4px rgb(0 0 0 / 15%);
  1261. &:hover {
  1262. border-color: #94c8f0;
  1263. }
  1264. &:focus {
  1265. border-color: #008fee;
  1266. }
  1267. }
  1268. .form-check {
  1269. position: relative;
  1270. padding-left: 20px;
  1271. margin-left: 3px;
  1272. min-height: 24px;
  1273. }
  1274. .form-check-input {
  1275. position: absolute;
  1276. margin-top: 3px;
  1277. margin-left: -20px;
  1278. }
  1279. .form-control:disabled,
  1280. .form-select:disabled {
  1281. background-color: #e7e7e7;
  1282. text-shadow: 1px 1px rgb(255 255 255 / 100%);
  1283. color: #686868;
  1284. }
  1285. .form-control:focus:disabled {
  1286. border-color: #dedede;
  1287. background-color: #f1f1f1;
  1288. }
  1289. .form-control:disabled:hover,
  1290. .form-select:disabled:hover {
  1291. border-color: #cfcfcf;
  1292. }
  1293. .form-link {
  1294. color: #326b9b;
  1295. cursor: pointer;
  1296. text-decoration: underline;
  1297. font-weight: 600;
  1298. border-radius: var(--border-radius-base);
  1299. margin-left: -3px;
  1300. border: 0;
  1301. padding-left: 3px;
  1302. padding-right: 3px;
  1303. background-color: transparent;
  1304. &:hover {
  1305. text-decoration: none;
  1306. color: #fff;
  1307. background-color: #3b9de8;
  1308. }
  1309. &:active {
  1310. background-color: #54a6e5;
  1311. }
  1312. }
  1313. .form-link-danger {
  1314. &:hover {
  1315. background-color: #c36;
  1316. }
  1317. &:active {
  1318. background-color: #f7d616;
  1319. }
  1320. }
  1321. .toggle-password {
  1322. color: #aaa;
  1323. z-index: 1;
  1324. position: absolute;
  1325. top: 9px;
  1326. right: 12px;
  1327. }
  1328. .toggle-psw-visibility-icon {
  1329. cursor: pointer;
  1330. opacity: 1;
  1331. margin: -2px;
  1332. }
  1333. .password-meter {
  1334. height: 3px;
  1335. overflow: hidden;
  1336. margin-left: 3px;
  1337. margin-right: 3px;
  1338. border-bottom-left-radius: 3px;
  1339. border-bottom-right-radius: 3px;
  1340. box-shadow: 0 1px 2px rgb(0 0 0 / 25%);
  1341. }
  1342. .password-meter-input {
  1343. appearance: none;
  1344. display: block;
  1345. size: 100%;
  1346. background: #e7e7e7;
  1347. &[value="1"] {
  1348. background: red;
  1349. &::-moz-meter-bar {
  1350. background: red;
  1351. }
  1352. &::-webkit-meter-bar {
  1353. background: red;
  1354. }
  1355. &::-webkit-meter-optimum-value {
  1356. background: red;
  1357. }
  1358. }
  1359. &[value="2"] {
  1360. background: orange;
  1361. &::-moz-meter-bar {
  1362. background: orange;
  1363. }
  1364. &::-webkit-meter-bar {
  1365. background: orange;
  1366. }
  1367. &::-webkit-meter-optimum-value {
  1368. background: orange;
  1369. }
  1370. }
  1371. &[value="3"] {
  1372. background: yellow;
  1373. &::-moz-meter-bar {
  1374. background: yellow;
  1375. }
  1376. &::-webkit-meter-bar {
  1377. background: yellow;
  1378. }
  1379. &::-webkit-meter-optimum-value {
  1380. background: yellow;
  1381. }
  1382. }
  1383. &[value="4"] {
  1384. background: green;
  1385. &::-moz-meter-bar {
  1386. background: green;
  1387. }
  1388. &::-webkit-meter-bar {
  1389. background: green;
  1390. }
  1391. &::-webkit-meter-optimum-value {
  1392. background: green;
  1393. }
  1394. }
  1395. }
  1396. .unlim-trigger {
  1397. cursor: pointer;
  1398. position: absolute;
  1399. top: 13px;
  1400. right: 12px;
  1401. z-index: 1;
  1402. font-size: 0.8rem;
  1403. }
  1404. .optional {
  1405. font-size: 0.8rem;
  1406. margin-left: 6px;
  1407. font-weight: normal;
  1408. }
  1409. .hint {
  1410. color: #777;
  1411. font-size: 0.8rem;
  1412. font-style: italic;
  1413. font-weight: normal;
  1414. }
  1415. .hint-prefix {
  1416. color: #555;
  1417. font-size: 0.8rem;
  1418. }
  1419. .section-title {
  1420. display: flex;
  1421. color: #4b4b4b;
  1422. cursor: pointer;
  1423. justify-content: space-between;
  1424. align-items: center;
  1425. font-size: 1.05rem;
  1426. font-weight: 600;
  1427. padding-top: 28px;
  1428. padding-bottom: 12px;
  1429. border-bottom: 1px solid #ccc;
  1430. }
  1431. /* Modals
  1432. ========================================================================== */
  1433. .dialog {
  1434. display: none;
  1435. }
  1436. /* Hide the default close button in dialog header */
  1437. .ui-dialog-titlebar-close {
  1438. display: none;
  1439. }
  1440. /* Set dialog z-index */
  1441. .ui-front {
  1442. z-index: 2;
  1443. }
  1444. .ui-dialog {
  1445. font-family: Exo, system-ui;
  1446. font-weight: 500;
  1447. background-color: rgb(255 255 255 / 90%);
  1448. box-shadow: inset 0 1px 3px rgb(0 0 0 / 25%), 0 8px 40px 0 rgb(0 0 0 / 35%);
  1449. border-radius: 6px;
  1450. border: 1px solid rgb(255 255 255 / 98%);
  1451. text-align: center;
  1452. }
  1453. .ui-dialog .ui-dialog-content {
  1454. color: #535353;
  1455. padding: 20px 26px 30px;
  1456. }
  1457. .ui-dialog .ui-dialog-title {
  1458. margin: 0;
  1459. color: #305ba9;
  1460. font-size: 1rem;
  1461. text-transform: none;
  1462. letter-spacing: -0.01em;
  1463. text-align: center;
  1464. float: none;
  1465. font-weight: 500;
  1466. }
  1467. .ui-widget-overlay {
  1468. background-color: rgb(0 0 0 / 60%);
  1469. }
  1470. .ui-dialog .ui-dialog-buttonpane {
  1471. border-color: #fff;
  1472. box-shadow: inset 0 0 2px rgb(0 0 0 / 25%);
  1473. margin-top: 0;
  1474. padding: 0;
  1475. }
  1476. .ui-dialog .ui-dialog-buttonpane button {
  1477. margin: 0.5em 0.5em 0.5em 0;
  1478. box-shadow: 0 1px 4px rgb(0 0 0 / 20%), inset 0 0 1px #fff, inset 0 0 3px rgb(255 255 255 / 50%);
  1479. }
  1480. /* Shortcuts panel
  1481. ========================================================================== */
  1482. .shortcuts {
  1483. background: rgb(50 50 50 / 93%);
  1484. color: #eee;
  1485. border: 1px solid rgb(255 255 255 / 70%);
  1486. border-radius: 6px;
  1487. box-shadow: 0 4px 30px rgb(0 0 0 / 50%);
  1488. & li {
  1489. padding: 5px 20px;
  1490. }
  1491. & .key {
  1492. color: #ff3478;
  1493. display: inline-block;
  1494. font-weight: 600;
  1495. padding-right: 20px;
  1496. &.bigger {
  1497. font-size: 1.1rem;
  1498. }
  1499. }
  1500. }
  1501. .shortcuts-header {
  1502. display: flex;
  1503. align-items: center;
  1504. justify-content: space-between;
  1505. border-bottom: 1px solid #606060;
  1506. padding: 10px 10px 10px 20px;
  1507. }
  1508. .shortcuts-title {
  1509. text-transform: uppercase;
  1510. color: #ff3478;
  1511. letter-spacing: -0.01em;
  1512. font-weight: 600;
  1513. }
  1514. .shortcuts-close {
  1515. cursor: pointer;
  1516. padding: 5px 10px;
  1517. &:hover {
  1518. color: #db0000;
  1519. }
  1520. &:active {
  1521. color: #a60000;
  1522. }
  1523. }
  1524. .shortcuts-inner {
  1525. @media (--viewport-medium) {
  1526. display: flex;
  1527. }
  1528. }
  1529. .shortcuts-list {
  1530. flex-grow: 1;
  1531. padding: 40px;
  1532. }
  1533. /* Buttons
  1534. ========================================================================== */
  1535. .button {
  1536. cursor: pointer;
  1537. display: inline-block;
  1538. line-height: 1.5;
  1539. font-size: 0.85rem;
  1540. font-weight: 500;
  1541. padding: 3px 25px;
  1542. user-select: none;
  1543. color: #30659d;
  1544. min-width: 100px;
  1545. text-align: center;
  1546. text-shadow: 0 1px 1px rgb(255 255 255 / 85%);
  1547. border: 1px solid #0083db;
  1548. border-radius: 3px;
  1549. background-color: #3b9de8;
  1550. background: linear-gradient(
  1551. to bottom,
  1552. rgb(235 243 249 / 100%) 0%,
  1553. rgb(192 216 236 / 100%) 51%,
  1554. rgb(223 235 245 / 100%) 100%
  1555. );
  1556. box-shadow: 0 1px 3px rgb(0 0 0 / 25%), inset 0 0 1px #fff, inset 0 0 3px rgb(255 255 255 / 50%);
  1557. &:hover {
  1558. color: #0077c6;
  1559. text-shadow: 1px 1px rgb(255 255 255 / 50%);
  1560. border-color: #54a6e5;
  1561. background: linear-gradient(
  1562. to bottom,
  1563. rgb(241 248 253 / 100%) 0%,
  1564. rgb(190 221 246 / 100%) 51%,
  1565. rgb(227 240 251 / 100%) 100%
  1566. );
  1567. box-shadow: 0 1px 3px rgb(0 0 0 / 25%), inset 0 0 1px #fff, inset 0 0 6px rgb(255 255 255 / 60%);
  1568. transition: 0.2s;
  1569. }
  1570. &:active,
  1571. &:focus {
  1572. color: #517bab;
  1573. text-shadow: 0 -1px 2px rgb(255 255 255 / 85%);
  1574. border-color: #0066b4;
  1575. background: linear-gradient(
  1576. to bottom,
  1577. rgb(194 224 248 / 100%) 0%,
  1578. rgb(162 207 244 / 100%) 51%,
  1579. rgb(210 232 250 / 100%) 100%
  1580. );
  1581. box-shadow: 0 1px 2px rgb(0 0 0 / 20%), inset 0 0 1px #fff,
  1582. inset -1px -1px 4px rgb(220 220 220 / 40%);
  1583. }
  1584. & .fas {
  1585. margin-right: 6px;
  1586. }
  1587. }
  1588. .button-secondary {
  1589. color: #717171;
  1590. border-color: #aaa;
  1591. background: linear-gradient(
  1592. to bottom,
  1593. rgb(250 250 250 / 100%) 0%,
  1594. rgb(230 230 230 / 100%) 51%,
  1595. rgb(242 242 242 / 100%) 100%
  1596. );
  1597. }
  1598. .button-danger:hover {
  1599. background: linear-gradient(to bottom, #fbf2f1 0%, #f6b4ac 51%, #fde6e3 100%);
  1600. color: #f4301a;
  1601. text-shadow: 0 1px rgb(255 255 255 / 50%);
  1602. border-color: #f27e71;
  1603. }
  1604. .button-danger:active,
  1605. .button-danger:focus {
  1606. background: linear-gradient(to bottom, #fcd0ca 0%, #f5a69d 50%, #f9e3df 100%);
  1607. color: #ce1500;
  1608. text-shadow: 0 1px 1px rgb(255 255 255 / 20%), 0 -1px 1px rgb(255 255 255 / 60%);
  1609. border-color: #f4301a;
  1610. }
  1611. .button-circle {
  1612. border-radius: 50%;
  1613. min-width: 28px;
  1614. padding: 3px;
  1615. & .fas {
  1616. margin-right: 0;
  1617. }
  1618. }
  1619. .button-floating {
  1620. display: none;
  1621. @media (--viewport-medium) {
  1622. display: block;
  1623. position: fixed;
  1624. z-index: 1;
  1625. bottom: 70px;
  1626. }
  1627. }
  1628. .button-floating-top {
  1629. right: 60px;
  1630. }
  1631. .button-floating-shortcuts {
  1632. right: 110px;
  1633. }
  1634. /* Values List component
  1635. ========================================================================== */
  1636. .values-list {
  1637. }
  1638. .values-list-item {
  1639. margin-bottom: 3px;
  1640. @media (--viewport-small) {
  1641. display: flex;
  1642. }
  1643. }
  1644. .values-list-label {
  1645. display: block;
  1646. font-weight: 600;
  1647. @media (--viewport-small) {
  1648. min-width: 130px;
  1649. }
  1650. }
  1651. .values-list-value {
  1652. }
  1653. /* Server summary component
  1654. ========================================================================== */
  1655. .server-summary {
  1656. padding: 20px;
  1657. @media (--viewport-medium) {
  1658. display: flex;
  1659. }
  1660. }
  1661. .server-summary-icon {
  1662. text-align: center;
  1663. margin-bottom: 10px;
  1664. & .fas {
  1665. font-size: 4.6rem;
  1666. }
  1667. @media (--viewport-medium) {
  1668. margin-top: 8px;
  1669. margin-bottom: 0;
  1670. }
  1671. }
  1672. .server-summary-content {
  1673. text-align: center;
  1674. @media (--viewport-medium) {
  1675. text-align: left;
  1676. flex-grow: 1;
  1677. margin-left: 30px;
  1678. }
  1679. @media (--viewport-large) {
  1680. margin-left: 40px;
  1681. }
  1682. }
  1683. .server-summary-title {
  1684. color: #414141;
  1685. margin-bottom: 10px;
  1686. @media (--viewport-medium) {
  1687. font-size: 1.7rem;
  1688. margin-bottom: 0;
  1689. }
  1690. }
  1691. .server-summary-list {
  1692. @media (--viewport-medium) {
  1693. display: flex;
  1694. justify-content: space-between;
  1695. }
  1696. }
  1697. .server-summary-item {
  1698. @media (--viewport-large) {
  1699. min-width: 200px;
  1700. }
  1701. }
  1702. .server-summary-list-label {
  1703. font-weight: 600;
  1704. @media (--viewport-medium) {
  1705. display: block;
  1706. }
  1707. }
  1708. .server-summary-list-value {
  1709. }
  1710. /* Panel component
  1711. ========================================================================== */
  1712. .panel {
  1713. padding: 20px;
  1714. border: 1px solid #d9d9d9;
  1715. box-shadow: 0 1px 4px rgb(0 0 0 / 15%);
  1716. border-radius: var(--border-radius-base);
  1717. }
  1718. /* Collapse component
  1719. ========================================================================== */
  1720. .collapse {
  1721. }
  1722. .collapse[open] .collapse-header::after {
  1723. transform: rotate(180deg);
  1724. }
  1725. .collapse-header {
  1726. background: linear-gradient(to bottom, rgb(247 247 247 / 100%) 0%, rgb(255 255 255 / 100%) 100%);
  1727. border: 1px solid #ddd;
  1728. text-shadow: 0 1px rgb(255 255 255 / 95%);
  1729. box-shadow: inset 0 0 1px rgb(255 255 255 / 100%), inset 0 0 4px rgb(255 255 255 / 80%),
  1730. 0 4px 6px rgb(190 190 190 / 40%);
  1731. font-weight: 600;
  1732. color: #30659d;
  1733. cursor: pointer;
  1734. position: relative;
  1735. padding: 8px 18px;
  1736. &:hover {
  1737. color: #ff3478;
  1738. }
  1739. &::after {
  1740. content: "";
  1741. display: block;
  1742. background-image: url("/images/arrow.svg");
  1743. background-size: 22px auto;
  1744. background-repeat: no-repeat;
  1745. background-position: center;
  1746. size: 22px 100%;
  1747. position: absolute;
  1748. top: 0;
  1749. right: 15px;
  1750. }
  1751. }
  1752. .collapse-content {
  1753. box-sizing: border-box; /* Work around box-sizing not inheriting in <details> in many browsers */
  1754. padding: 20px 20px 10px;
  1755. @media (--viewport-medium) {
  1756. padding: 20px 50px 10px;
  1757. }
  1758. }
  1759. /* Login
  1760. ========================================================================== */
  1761. .body-login,
  1762. .body-reset {
  1763. display: flex;
  1764. align-items: center;
  1765. justify-content: center;
  1766. background: rgb(102 158 231);
  1767. background: radial-gradient(circle, rgb(102 158 231 / 100%) 0%, rgb(43 86 177 / 100%) 100%);
  1768. & .debug-panel {
  1769. display: none;
  1770. }
  1771. }
  1772. .login {
  1773. flex-grow: 1;
  1774. padding: 30px;
  1775. margin-bottom: 20%;
  1776. & .form-label {
  1777. color: #fff;
  1778. }
  1779. & .error {
  1780. color: #be5abf;
  1781. margin-bottom: 20px;
  1782. }
  1783. @media (--viewport-small) {
  1784. border-radius: 6px;
  1785. background-color: rgb(255 255 255 / 70%);
  1786. box-shadow: 0 8px 25px rgb(0 0 0 / 30%), inset 0 0 2px rgb(255 255 255 / 100%);
  1787. padding: 70px 50px;
  1788. max-width: 370px;
  1789. & .form-label {
  1790. color: #4b4b4b;
  1791. }
  1792. }
  1793. @media (--viewport-medium) {
  1794. display: flex;
  1795. align-items: flex-end;
  1796. max-width: 500px;
  1797. & form {
  1798. flex-grow: 1;
  1799. }
  1800. }
  1801. }
  1802. .login-title {
  1803. color: #fff;
  1804. font-size: 1.05rem;
  1805. font-weight: 500;
  1806. margin-bottom: 30px;
  1807. @media (--viewport-small) {
  1808. color: #4b4b4b;
  1809. }
  1810. }
  1811. .login-form-link {
  1812. color: #fff;
  1813. text-transform: uppercase;
  1814. @media (--viewport-small) {
  1815. color: #326b9b;
  1816. &:hover {
  1817. color: #0077c6;
  1818. }
  1819. }
  1820. }
  1821. /* Spinner
  1822. ========================================================================== */
  1823. .spinner {
  1824. -webkit-mask-box-image: radial-gradient(
  1825. center,
  1826. ellipse farthest-corner,
  1827. rgb(0 0 0 / 100%) 68%,
  1828. rgb(0 0 0 / 0%) 69.5%
  1829. );
  1830. background: #eee;
  1831. size: 20px;
  1832. position: relative;
  1833. clip-path: ellipse(10px 10px at 50% 50%);
  1834. }
  1835. .spinner-inner {
  1836. position: absolute;
  1837. top: 0;
  1838. left: 0;
  1839. background: transparent;
  1840. border-width: 10px;
  1841. size: 0;
  1842. border-style: solid;
  1843. border-color: transparent;
  1844. border-top-color: rgb(124 124 124 / 100%);
  1845. transform: rotate(-45deg);
  1846. animation: inner 15s linear infinite;
  1847. }
  1848. .spinner-mask {
  1849. position: absolute;
  1850. top: 0;
  1851. left: 0;
  1852. background: transparent;
  1853. border-width: 10px;
  1854. size: 0;
  1855. border-style: solid;
  1856. border-color: transparent;
  1857. border-top-color: #eee;
  1858. transform: rotate(-45deg);
  1859. animation: mask 15s linear infinite;
  1860. }
  1861. .spinner-mask::after,
  1862. .spinner-mask-two {
  1863. display: block;
  1864. content: "";
  1865. opacity: 0;
  1866. position: absolute;
  1867. top: 0;
  1868. left: 0;
  1869. background: transparent;
  1870. border-width: 10px;
  1871. size: 0;
  1872. border-style: solid;
  1873. border-color: transparent;
  1874. border-top-color: rgb(124 124 124 / 100%);
  1875. transform: rotate(45deg);
  1876. animation: mask-two 15s linear infinite;
  1877. }
  1878. @keyframes inner {
  1879. 0% {
  1880. transform: rotate(-45deg);
  1881. }
  1882. 25% {
  1883. border-left-color: transparent;
  1884. }
  1885. 26% {
  1886. border-left-color: rgb(124 124 124 / 100%);
  1887. }
  1888. 50% {
  1889. border-bottom-color: transparent;
  1890. }
  1891. 51% {
  1892. border-bottom-color: rgb(124 124 124 / 100%);
  1893. }
  1894. 75% {
  1895. border-right-color: transparent;
  1896. }
  1897. 76% {
  1898. border-right-color: rgb(124 124 124 / 100%);
  1899. }
  1900. 100% {
  1901. transform: rotate(315deg);
  1902. border-left-color: rgb(124 124 124 / 100%);
  1903. border-bottom-color: rgb(124 124 124 / 100%);
  1904. border-right-color: rgb(124 124 124 / 100%);
  1905. }
  1906. }
  1907. @keyframes mask {
  1908. 0% {
  1909. transform: rotate(-45deg);
  1910. }
  1911. 75% {
  1912. transform: rotate(-45deg);
  1913. }
  1914. 100% {
  1915. transform: rotate(45deg);
  1916. }
  1917. }
  1918. @keyframes mask-two {
  1919. 0% {
  1920. opacity: 0;
  1921. }
  1922. 25% {
  1923. opacity: 0;
  1924. }
  1925. 26% {
  1926. opacity: 1;
  1927. }
  1928. 100% {
  1929. opacity: 1;
  1930. }
  1931. }
  1932. .qr-code {
  1933. border: 1px solid #cfcfcf;
  1934. border-radius: var(--border-radius-base);
  1935. box-shadow: 0 1px 4px rgb(0 0 0 / 15%);
  1936. }
  1937. .l-unit.selected {
  1938. background-color: #f8f8f8;
  1939. color: #4b4b4b;
  1940. box-shadow: 0 2px 10px rgb(150 150 150 / 20%);
  1941. text-shadow: 0 1px rgb(255 255 255 / 50%);
  1942. border-left: 1px solid #ddd;
  1943. border-right: 1px solid #ddd;
  1944. & b,
  1945. & strong {
  1946. color: #4b4b4b;
  1947. }
  1948. &:hover {
  1949. background-color: #fff5ce;
  1950. color: #4b4b4b;
  1951. box-shadow: 0 2px 14px rgb(150 150 150 / 25%);
  1952. text-shadow: 0 1px rgb(255 255 255 / 60%);
  1953. }
  1954. }
  1955. .console-output {
  1956. font-family: var(--font-family-monospace);
  1957. font-size: 0.92rem;
  1958. color: #202020;
  1959. }
  1960. #vstobjects.suspended {
  1961. background-color: #fff;
  1962. padding-bottom: 30px;
  1963. }
  1964. /* Badge component
  1965. ========================================================================== */
  1966. .badge {
  1967. display: inline-block;
  1968. min-width: 26px;
  1969. min-height: 24px;
  1970. line-height: 24px;
  1971. border-radius: 50%;
  1972. font-weight: 700;
  1973. font-size: 0.75rem;
  1974. box-shadow: 0 1px 2px rgb(70 70 70 / 50%), inset 0 2px 2px #fff;
  1975. color: #6c6c6c;
  1976. text-shadow: 0 1px #fafafa;
  1977. border: 1px solid #b8b8b8;
  1978. background-color: #eaeaea;
  1979. margin-top: -2px;
  1980. }
  1981. .l-unit--suspended .badge {
  1982. background: #eaeaea;
  1983. color: #c0c0c0;
  1984. text-shadow: 0 -1px #fafafa;
  1985. box-shadow: 0 1px 2px rgb(120 120 120 / 30%);
  1986. }
  1987. /* Icon component
  1988. ========================================================================== */
  1989. .icon-large {
  1990. font-size: 1rem;
  1991. }
  1992. .icon-teal {
  1993. color: var(--icon-color-teal);
  1994. &:hover {
  1995. color: var(--icon-color-teal);
  1996. }
  1997. }
  1998. .icon-purple {
  1999. color: var(--icon-color-purple);
  2000. &:hover {
  2001. color: var(--icon-color-purple);
  2002. }
  2003. }
  2004. .icon-maroon {
  2005. color: var(--icon-color-maroon);
  2006. &:hover {
  2007. color: var(--icon-color-maroon);
  2008. }
  2009. }
  2010. .icon-red {
  2011. color: var(--icon-color-red);
  2012. &:hover {
  2013. color: var(--icon-color-red);
  2014. }
  2015. }
  2016. .icon-green {
  2017. color: var(--icon-color-green);
  2018. &:hover {
  2019. color: var(--icon-color-green);
  2020. }
  2021. }
  2022. .icon-orange {
  2023. color: var(--icon-color-orange);
  2024. &:hover {
  2025. color: var(--icon-color-orange);
  2026. }
  2027. }
  2028. .icon-blue {
  2029. color: var(--icon-color-blue);
  2030. &:hover {
  2031. color: var(--icon-color-blue);
  2032. }
  2033. }
  2034. .icon-lightblue {
  2035. color: var(--icon-color-lightblue);
  2036. &:hover {
  2037. color: var(--icon-color-lightblue);
  2038. }
  2039. }
  2040. .icon-highlight {
  2041. color: #323232;
  2042. &:hover {
  2043. color: #323232;
  2044. }
  2045. }
  2046. .icon-dim {
  2047. color: #ddd;
  2048. text-shadow: 1px 1px rgb(255 255 255 / 30%);
  2049. }
  2050. .l-unit--suspended .icon-dim {
  2051. color: #c0c0c0;
  2052. }
  2053. .cron-helper-panel {
  2054. border: 1px solid #cfcfcf;
  2055. border-radius: var(--border-radius-base);
  2056. box-shadow: 0 1px 4px rgb(0 0 0 / 15%);
  2057. margin-top: 20px;
  2058. & .ui-tabs-tab a {
  2059. color: #777;
  2060. font-weight: 600;
  2061. line-height: 30px;
  2062. padding: 0 12px;
  2063. text-transform: uppercase;
  2064. &:hover {
  2065. color: #c36;
  2066. }
  2067. &:active {
  2068. color: #3b9de8;
  2069. }
  2070. }
  2071. & .ui-tabs-tab[aria-expanded="true"] a {
  2072. color: #c36;
  2073. }
  2074. @media (--viewport-medium) {
  2075. margin-top: 25px;
  2076. & .form-label {
  2077. padding-right: 15px;
  2078. padding-left: 25px;
  2079. &.first {
  2080. display: inline-block;
  2081. width: 120px;
  2082. padding-left: 0;
  2083. }
  2084. }
  2085. & .form-select {
  2086. display: inline-block;
  2087. max-width: 384px;
  2088. }
  2089. }
  2090. }
  2091. .server-console-output {
  2092. color: #c36;
  2093. padding: 10px 0 20px 20px;
  2094. background: #fff;
  2095. }
  2096. .userlist-email {
  2097. font-size: 0.75rem;
  2098. white-space: nowrap;
  2099. text-overflow: ellipsis;
  2100. }
  2101. .userlist-username {
  2102. margin-top: -2px;
  2103. line-height: 1.2rem;
  2104. }
  2105. /* App footer
  2106. ========================================================================== */
  2107. .app-footer {
  2108. color: #7c7c7c;
  2109. border-top: 1px solid #ddd;
  2110. font-size: 0.8rem;
  2111. padding-top: 20px;
  2112. padding-bottom: 20px;
  2113. @media (--viewport-medium) {
  2114. padding-top: 40px;
  2115. padding-bottom: 40px;
  2116. }
  2117. }
  2118. .app-footer-inner {
  2119. padding-left: 20px;
  2120. padding-right: 20px;
  2121. @media (--viewport-large) {
  2122. padding-left: 15px;
  2123. padding-right: 15px;
  2124. }
  2125. }
  2126. /* Alerts
  2127. ========================================================================== */
  2128. .alert {
  2129. border-radius: var(--border-radius-base);
  2130. border: 1px solid var(--alert-border-color);
  2131. color: #fff;
  2132. font-weight: 400;
  2133. padding: 15px;
  2134. box-shadow: var(--alert-box-shadow);
  2135. text-shadow: var(--alert-text-shadow);
  2136. & a {
  2137. color: #fff;
  2138. font-weight: bold;
  2139. &:hover {
  2140. text-decoration: underline;
  2141. }
  2142. }
  2143. & .fas {
  2144. flex-shrink: 0;
  2145. size: 32px;
  2146. font-size: 1.3rem;
  2147. font-weight: 600;
  2148. line-height: 30px;
  2149. border-radius: 50%;
  2150. text-align: center;
  2151. background-color: #fff;
  2152. margin-bottom: 10px;
  2153. }
  2154. @media (--viewport-small) {
  2155. display: flex;
  2156. & .fas {
  2157. margin-right: 15px;
  2158. margin-bottom: 0;
  2159. }
  2160. }
  2161. }
  2162. .alert-info {
  2163. background-color: var(--alert-info-color);
  2164. & .fas {
  2165. color: var(--alert-info-color);
  2166. }
  2167. }
  2168. .alert-danger {
  2169. background-color: var(--alert-danger-color);
  2170. & .fas {
  2171. color: var(--alert-danger-color);
  2172. }
  2173. }
  2174. .alert-success {
  2175. background-color: var(--alert-success-color);
  2176. & .fas {
  2177. color: var(--alert-success-color);
  2178. }
  2179. }
  2180. /* Inline alerts
  2181. ========================================================================== */
  2182. .inline-alert {
  2183. display: flex;
  2184. font-weight: 600;
  2185. & .fas {
  2186. margin-top: 4px;
  2187. margin-right: 6px;
  2188. }
  2189. }
  2190. .inline-alert-danger {
  2191. color: #f33;
  2192. }
  2193. .inline-alert-success {
  2194. color: #53ba55;
  2195. & a {
  2196. color: #326b9b;
  2197. &:hover {
  2198. color: #c36;
  2199. }
  2200. &:active {
  2201. color: #d53067;
  2202. }
  2203. }
  2204. }
  2205. /* Updates banner
  2206. ========================================================================== */
  2207. .updates-banner {
  2208. width: 100%;
  2209. text-align: center;
  2210. border-top: 1px solid rgb(255 255 255 / 25%);
  2211. box-shadow: 0 -2px 4px rgb(0 0 0 / 40%);
  2212. background-color: green;
  2213. color: #fff;
  2214. font-size: 0.75rem;
  2215. padding: 10px;
  2216. position: fixed;
  2217. bottom: 0;
  2218. & button {
  2219. border: 0;
  2220. padding: 0;
  2221. background-color: transparent;
  2222. color: #fff;
  2223. font-weight: 500;
  2224. &:hover {
  2225. color: #fff;
  2226. text-decoration: underline;
  2227. }
  2228. }
  2229. }
  2230. /* Debug panel
  2231. ========================================================================== */
  2232. .debug-panel {
  2233. position: fixed;
  2234. bottom: 0;
  2235. left: 0;
  2236. width: 100%;
  2237. z-index: 3;
  2238. box-shadow: 0 0 5px rgb(0 0 0 / 40%);
  2239. @media (--viewport-medium) {
  2240. width: auto;
  2241. }
  2242. }
  2243. .debug-panel-toggle {
  2244. display: block;
  2245. width: 100%;
  2246. border: 0;
  2247. text-align: center;
  2248. font-size: 0.8rem;
  2249. font-weight: 500;
  2250. color: #000;
  2251. padding: 10px 15px;
  2252. background-color: #ff0;
  2253. &:hover {
  2254. background-color: #ee0;
  2255. }
  2256. }
  2257. .debug-panel-content {
  2258. background-color: #eee;
  2259. font-size: 0.75rem;
  2260. padding: 20px;
  2261. max-height: 300px;
  2262. overflow: auto;
  2263. }