default.css 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727
  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: 25px;
  401. padding-right: 25px;
  402. }
  403. }
  404. .main-menu-item-label {
  405. color: #5b5b5b;
  406. font-weight: 600;
  407. & .fas {
  408. color: #999;
  409. margin-left: 6px;
  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;
  976. border-right: 1px solid transparent;
  977. &:hover {
  978. border-left: 1px solid transparent;
  979. border-right: 1px solid transparent;
  980. box-shadow: none;
  981. background: none;
  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 {
  1001. float: left;
  1002. width: 110px;
  1003. &.border {
  1004. border-left: 1px solid #ebebeb;
  1005. }
  1006. &.border-clear {
  1007. border-left: 1px solid transparent;
  1008. }
  1009. & a,
  1010. & a:visited {
  1011. color: #353535;
  1012. }
  1013. & a:hover {
  1014. color: #4c8bbe;
  1015. }
  1016. &.super-compact {
  1017. width: 50px;
  1018. white-space: nowrap;
  1019. }
  1020. &.compact {
  1021. width: 60px;
  1022. }
  1023. &.compact-1 {
  1024. width: 70px;
  1025. }
  1026. &.compact-2 {
  1027. width: 80px;
  1028. }
  1029. &.compact-3 {
  1030. width: 90px;
  1031. }
  1032. &.compact-4 {
  1033. width: 130px;
  1034. }
  1035. &.compact-5 {
  1036. width: 160px;
  1037. }
  1038. &.wide {
  1039. width: 190px;
  1040. }
  1041. &.wide-2 {
  1042. width: 230px;
  1043. }
  1044. &.wide-3 {
  1045. width: 250px;
  1046. }
  1047. &.wide-4 {
  1048. width: 320px;
  1049. }
  1050. &.wide-5 {
  1051. width: 350px;
  1052. }
  1053. &.wide-6 {
  1054. width: 440px;
  1055. }
  1056. &.wide-7 {
  1057. width: 550px;
  1058. }
  1059. }
  1060. .l-unit__stat-col--right {
  1061. float: left;
  1062. max-width: 170px;
  1063. }
  1064. .l-unit-toolbar__col--right {
  1065. float: right;
  1066. }
  1067. .l-unit-toolbar .shortcut {
  1068. display: none;
  1069. }
  1070. .units.active .l-unit.focus .l-unit-toolbar .shortcut {
  1071. display: block;
  1072. background-color: #69a298;
  1073. border-radius: 13px;
  1074. color: #fff;
  1075. cursor: pointer;
  1076. font-size: 0.8rem;
  1077. font-weight: 600;
  1078. line-height: 25px;
  1079. padding-left: 7px;
  1080. padding-right: 9px;
  1081. position: absolute;
  1082. right: 3px;
  1083. top: 3px;
  1084. }
  1085. .units.active .l-unit.focus .l-unit-toolbar .shortcut.delete {
  1086. font-size: 10px;
  1087. padding-left: 2px;
  1088. padding-right: 5px;
  1089. text-transform: capitalize;
  1090. }
  1091. .units.active .l-unit.focus .l-unit-toolbar .shortcut.enter {
  1092. font-size: 17px;
  1093. padding-left: 1px;
  1094. padding-right: 7px;
  1095. }
  1096. .units.active .l-unit.focus .l-unit-toolbar i {
  1097. background: none;
  1098. }
  1099. .actions-panel {
  1100. line-height: 1.1rem;
  1101. }
  1102. .actions-panel__col {
  1103. display: inline-block;
  1104. margin-left: 3px;
  1105. text-transform: uppercase;
  1106. & a {
  1107. color: #777;
  1108. font-weight: 600;
  1109. font-size: 0.9rem;
  1110. display: inline-block;
  1111. cursor: pointer;
  1112. }
  1113. }
  1114. .l-unit__col .actions-panel .fas {
  1115. display: none;
  1116. }
  1117. .l-unit__col:hover .actions-panel .fas {
  1118. display: inline-block;
  1119. }
  1120. .l-unit__stat-cols {
  1121. padding-right: 10px;
  1122. }
  1123. .l-unit__stat-cols.last {
  1124. padding-right: 0;
  1125. }
  1126. .l-unit__stat-cols.graph {
  1127. width: 242px;
  1128. }
  1129. .l-percent {
  1130. border-bottom: 3px solid #e6e6e6;
  1131. margin-top: 2px;
  1132. width: 242px;
  1133. }
  1134. .l-percent__fill {
  1135. background-color: #54e000;
  1136. height: 3px;
  1137. position: relative;
  1138. bottom: -3px;
  1139. }
  1140. .statistics-count {
  1141. min-width: 24px;
  1142. text-align: right;
  1143. border-bottom: 1px dotted #ddd;
  1144. border-right: 1px dotted #ddd;
  1145. padding-right: 4px;
  1146. }
  1147. /* Forms
  1148. ========================================================================== */
  1149. .form-container {
  1150. max-width: 640px;
  1151. margin-left: auto;
  1152. margin-right: auto;
  1153. padding: 30px 20px;
  1154. }
  1155. .form-container-wide {
  1156. max-width: 920px;
  1157. }
  1158. @media (--viewport-medium) {
  1159. .sidebar-right-container {
  1160. display: grid;
  1161. gap: 50px;
  1162. grid-template-columns: 2fr 1.3fr;
  1163. }
  1164. }
  1165. @media (--viewport-medium) {
  1166. .sidebar-left-container {
  1167. display: grid;
  1168. gap: 50px;
  1169. grid-template-columns: 1fr 3fr;
  1170. }
  1171. }
  1172. .form-title {
  1173. color: #4b4b4b;
  1174. font-size: 1.4rem;
  1175. font-weight: 500;
  1176. padding-bottom: 30px;
  1177. letter-spacing: -0.01em;
  1178. }
  1179. .form-label {
  1180. margin-bottom: 5px;
  1181. display: inline-block;
  1182. }
  1183. .form-label,
  1184. .form-check label {
  1185. color: #4b4b4b;
  1186. font-weight: 600;
  1187. }
  1188. .form-control {
  1189. background-color: #fff;
  1190. border: 1px solid #cfcfcf;
  1191. display: block;
  1192. width: 100%;
  1193. padding: 8px 12px;
  1194. font-size: 0.8rem;
  1195. font-weight: normal;
  1196. color: #4e4e4e;
  1197. border-radius: var(--border-radius-base);
  1198. line-height: 1.5;
  1199. appearance: none;
  1200. box-shadow: 0 1px 4px rgb(0 0 0 / 15%);
  1201. transition: background-color 0.5s;
  1202. &:hover {
  1203. border-color: #94c8f0;
  1204. }
  1205. &:focus {
  1206. border-color: #008fee;
  1207. background-color: #d7f9ff;
  1208. color: #333;
  1209. }
  1210. &.list-editor {
  1211. border-color: transparent;
  1212. box-shadow: none;
  1213. position: absolute;
  1214. padding-top: 7px;
  1215. padding-bottom: 7px;
  1216. width: auto;
  1217. top: 1px;
  1218. left: 1px;
  1219. right: 30px;
  1220. &:hover {
  1221. border-color: transparent;
  1222. }
  1223. &:focus {
  1224. background-color: #fff;
  1225. }
  1226. }
  1227. &.highlighted {
  1228. color: #444;
  1229. background-color: #fff7b6;
  1230. }
  1231. }
  1232. .form-select {
  1233. display: block;
  1234. width: 100%;
  1235. font-weight: normal;
  1236. font-size: 0.8rem;
  1237. padding: 8px 30px 8px 12px;
  1238. line-height: 1.5;
  1239. border-radius: var(--border-radius-base);
  1240. background-color: #fff;
  1241. border: 1px solid #ccc;
  1242. color: #4e4e4e;
  1243. appearance: none;
  1244. background-image: url("/images/arrow.svg");
  1245. background-size: 16px auto;
  1246. background-repeat: no-repeat;
  1247. background-position: right 9px center;
  1248. text-shadow: 0 0 0 #4b4b4b;
  1249. box-shadow: 0 1px 4px rgb(0 0 0 / 15%);
  1250. &:hover {
  1251. border-color: #94c8f0;
  1252. }
  1253. &:focus {
  1254. border-color: #008fee;
  1255. }
  1256. }
  1257. .form-check {
  1258. position: relative;
  1259. padding-left: 20px;
  1260. margin-left: 3px;
  1261. min-height: 24px;
  1262. }
  1263. .form-check-input {
  1264. position: absolute;
  1265. margin-top: 3px;
  1266. margin-left: -20px;
  1267. }
  1268. .form-control:disabled,
  1269. .form-select:disabled {
  1270. background-color: #e7e7e7;
  1271. text-shadow: 1px 1px rgb(255 255 255 / 100%);
  1272. color: #686868;
  1273. }
  1274. .form-control:focus:disabled {
  1275. border-color: #dedede;
  1276. background-color: #f1f1f1;
  1277. }
  1278. .form-control:disabled:hover,
  1279. .form-select:disabled:hover {
  1280. border-color: #cfcfcf;
  1281. }
  1282. .form-link {
  1283. color: #326b9b;
  1284. cursor: pointer;
  1285. text-decoration: underline;
  1286. font-weight: 600;
  1287. border-radius: var(--border-radius-base);
  1288. margin-left: -3px;
  1289. border: 0;
  1290. padding-left: 3px;
  1291. padding-right: 3px;
  1292. background-color: transparent;
  1293. &:hover {
  1294. text-decoration: none;
  1295. color: #fff;
  1296. background-color: #3b9de8;
  1297. }
  1298. &:active {
  1299. background-color: #54a6e5;
  1300. }
  1301. }
  1302. .form-link-danger {
  1303. &:hover {
  1304. background-color: #c36;
  1305. }
  1306. &:active {
  1307. background-color: #f7d616;
  1308. }
  1309. }
  1310. .toggle-password {
  1311. color: #aaa;
  1312. z-index: 1;
  1313. position: absolute;
  1314. top: 9px;
  1315. right: 12px;
  1316. }
  1317. .toggle-psw-visibility-icon {
  1318. cursor: pointer;
  1319. opacity: 1;
  1320. margin: -2px;
  1321. }
  1322. .password-meter {
  1323. height: 3px;
  1324. overflow: hidden;
  1325. margin-left: 3px;
  1326. margin-right: 3px;
  1327. border-bottom-left-radius: 3px;
  1328. border-bottom-right-radius: 3px;
  1329. box-shadow: 0 1px 2px rgb(0 0 0 / 25%);
  1330. }
  1331. .password-meter-input {
  1332. appearance: none;
  1333. display: block;
  1334. size: 100%;
  1335. background: #e7e7e7;
  1336. &[value="1"] {
  1337. background: red;
  1338. &::-moz-meter-bar {
  1339. background: red;
  1340. }
  1341. &::-webkit-meter-bar {
  1342. background: red;
  1343. }
  1344. &::-webkit-meter-optimum-value {
  1345. background: red;
  1346. }
  1347. }
  1348. &[value="2"] {
  1349. background: orange;
  1350. &::-moz-meter-bar {
  1351. background: orange;
  1352. }
  1353. &::-webkit-meter-bar {
  1354. background: orange;
  1355. }
  1356. &::-webkit-meter-optimum-value {
  1357. background: orange;
  1358. }
  1359. }
  1360. &[value="3"] {
  1361. background: yellow;
  1362. &::-moz-meter-bar {
  1363. background: yellow;
  1364. }
  1365. &::-webkit-meter-bar {
  1366. background: yellow;
  1367. }
  1368. &::-webkit-meter-optimum-value {
  1369. background: yellow;
  1370. }
  1371. }
  1372. &[value="4"] {
  1373. background: green;
  1374. &::-moz-meter-bar {
  1375. background: green;
  1376. }
  1377. &::-webkit-meter-bar {
  1378. background: green;
  1379. }
  1380. &::-webkit-meter-optimum-value {
  1381. background: green;
  1382. }
  1383. }
  1384. }
  1385. .unlim-trigger {
  1386. cursor: pointer;
  1387. position: absolute;
  1388. top: 13px;
  1389. right: 12px;
  1390. z-index: 1;
  1391. font-size: 0.8rem;
  1392. }
  1393. .optional {
  1394. font-size: 0.8rem;
  1395. margin-left: 6px;
  1396. font-weight: normal;
  1397. }
  1398. .hint {
  1399. color: #777;
  1400. font-size: 0.8rem;
  1401. font-style: italic;
  1402. font-weight: normal;
  1403. }
  1404. .hint-prefix {
  1405. color: #555;
  1406. font-size: 0.8rem;
  1407. }
  1408. .section-title {
  1409. display: flex;
  1410. color: #4b4b4b;
  1411. cursor: pointer;
  1412. justify-content: space-between;
  1413. align-items: center;
  1414. font-size: 1.05rem;
  1415. font-weight: 600;
  1416. padding-top: 28px;
  1417. padding-bottom: 12px;
  1418. border-bottom: 1px solid #ccc;
  1419. }
  1420. /* Modals
  1421. ========================================================================== */
  1422. .dialog {
  1423. display: none;
  1424. }
  1425. /* Hide the default close button in dialog header */
  1426. .ui-dialog-titlebar-close {
  1427. display: none;
  1428. }
  1429. /* Set dialog z-index */
  1430. .ui-front {
  1431. z-index: 2;
  1432. }
  1433. .ui-dialog {
  1434. font-family: Exo, system-ui;
  1435. font-weight: 500;
  1436. background-color: rgb(255 255 255 / 90%);
  1437. box-shadow: inset 0 1px 3px rgb(0 0 0 / 25%), 0 8px 40px 0 rgb(0 0 0 / 35%);
  1438. border-radius: 6px;
  1439. border: 1px solid rgb(255 255 255 / 98%);
  1440. text-align: center;
  1441. }
  1442. .ui-dialog .ui-dialog-content {
  1443. color: #535353;
  1444. padding: 20px 26px 30px;
  1445. }
  1446. .ui-dialog .ui-dialog-title {
  1447. margin: 0;
  1448. color: #305ba9;
  1449. font-size: 1rem;
  1450. text-transform: none;
  1451. letter-spacing: -0.01em;
  1452. text-align: center;
  1453. float: none;
  1454. font-weight: 500;
  1455. }
  1456. .ui-widget-overlay {
  1457. background-color: rgb(0 0 0 / 60%);
  1458. }
  1459. .ui-dialog .ui-dialog-buttonpane {
  1460. border-color: #fff;
  1461. box-shadow: inset 0 0 2px rgb(0 0 0 / 25%);
  1462. margin-top: 0;
  1463. padding: 0;
  1464. }
  1465. .ui-dialog .ui-dialog-buttonpane button {
  1466. margin: 0.5em 0.5em 0.5em 0;
  1467. box-shadow: 0 1px 4px rgb(0 0 0 / 20%), inset 0 0 1px #fff, inset 0 0 3px rgb(255 255 255 / 50%);
  1468. }
  1469. /* Shortcuts panel
  1470. ========================================================================== */
  1471. .shortcuts {
  1472. background: rgb(50 50 50 / 93%);
  1473. color: #eee;
  1474. border: 1px solid rgb(255 255 255 / 70%);
  1475. border-radius: 6px;
  1476. box-shadow: 0 4px 30px rgb(0 0 0 / 50%);
  1477. & li {
  1478. padding: 5px 20px;
  1479. }
  1480. & .key {
  1481. color: #ff3478;
  1482. display: inline-block;
  1483. font-weight: 600;
  1484. padding-right: 20px;
  1485. &.bigger {
  1486. font-size: 1.1rem;
  1487. }
  1488. }
  1489. }
  1490. .shortcuts-header {
  1491. display: flex;
  1492. align-items: center;
  1493. justify-content: space-between;
  1494. border-bottom: 1px solid #606060;
  1495. padding: 10px 10px 10px 20px;
  1496. }
  1497. .shortcuts-title {
  1498. text-transform: uppercase;
  1499. color: #ff3478;
  1500. letter-spacing: -0.01em;
  1501. font-weight: 600;
  1502. }
  1503. .shortcuts-close {
  1504. cursor: pointer;
  1505. padding: 5px 10px;
  1506. &:hover {
  1507. color: #db0000;
  1508. }
  1509. &:active {
  1510. color: #a60000;
  1511. }
  1512. }
  1513. .shortcuts-inner {
  1514. @media (--viewport-medium) {
  1515. display: flex;
  1516. }
  1517. }
  1518. .shortcuts-list {
  1519. flex-grow: 1;
  1520. padding: 40px;
  1521. }
  1522. /* Buttons
  1523. ========================================================================== */
  1524. .button {
  1525. cursor: pointer;
  1526. display: inline-block;
  1527. line-height: 1.5;
  1528. font-size: 0.85rem;
  1529. font-weight: 500;
  1530. padding: 3px 25px;
  1531. user-select: none;
  1532. color: #30659d;
  1533. min-width: 100px;
  1534. text-align: center;
  1535. text-shadow: 0 1px 1px rgb(255 255 255 / 85%);
  1536. border: 1px solid #0083db;
  1537. border-radius: 3px;
  1538. background-color: #3b9de8;
  1539. background: linear-gradient(
  1540. to bottom,
  1541. rgb(235 243 249 / 100%) 0%,
  1542. rgb(192 216 236 / 100%) 51%,
  1543. rgb(223 235 245 / 100%) 100%
  1544. );
  1545. box-shadow: 0 1px 3px rgb(0 0 0 / 25%), inset 0 0 1px #fff, inset 0 0 3px rgb(255 255 255 / 50%);
  1546. &:hover {
  1547. color: #0077c6;
  1548. text-shadow: 1px 1px rgb(255 255 255 / 50%);
  1549. border-color: #54a6e5;
  1550. background: linear-gradient(
  1551. to bottom,
  1552. rgb(241 248 253 / 100%) 0%,
  1553. rgb(190 221 246 / 100%) 51%,
  1554. rgb(227 240 251 / 100%) 100%
  1555. );
  1556. box-shadow: 0 1px 3px rgb(0 0 0 / 25%), inset 0 0 1px #fff, inset 0 0 6px rgb(255 255 255 / 60%);
  1557. transition: 0.2s;
  1558. }
  1559. &:active,
  1560. &:focus {
  1561. color: #517bab;
  1562. text-shadow: 0 -1px 2px rgb(255 255 255 / 85%);
  1563. border-color: #0066b4;
  1564. background: linear-gradient(
  1565. to bottom,
  1566. rgb(194 224 248 / 100%) 0%,
  1567. rgb(162 207 244 / 100%) 51%,
  1568. rgb(210 232 250 / 100%) 100%
  1569. );
  1570. box-shadow: 0 1px 2px rgb(0 0 0 / 20%), inset 0 0 1px #fff,
  1571. inset -1px -1px 4px rgb(220 220 220 / 40%);
  1572. }
  1573. & .fas {
  1574. margin-right: 6px;
  1575. }
  1576. }
  1577. .button-secondary {
  1578. color: #717171;
  1579. border-color: #aaa;
  1580. background: linear-gradient(
  1581. to bottom,
  1582. rgb(250 250 250 / 100%) 0%,
  1583. rgb(230 230 230 / 100%) 51%,
  1584. rgb(242 242 242 / 100%) 100%
  1585. );
  1586. }
  1587. .button-danger:hover {
  1588. background: linear-gradient(to bottom, #fbf2f1 0%, #f6b4ac 51%, #fde6e3 100%);
  1589. color: #f4301a;
  1590. text-shadow: 0 1px rgb(255 255 255 / 50%);
  1591. border-color: #f27e71;
  1592. }
  1593. .button-danger:active,
  1594. .button-danger:focus {
  1595. background: linear-gradient(to bottom, #fcd0ca 0%, #f5a69d 50%, #f9e3df 100%);
  1596. color: #ce1500;
  1597. text-shadow: 0 1px 1px rgb(255 255 255 / 20%), 0 -1px 1px rgb(255 255 255 / 60%);
  1598. border-color: #f4301a;
  1599. }
  1600. .button-circle {
  1601. border-radius: 50%;
  1602. min-width: 28px;
  1603. padding: 3px;
  1604. & .fas {
  1605. margin-right: 0;
  1606. }
  1607. }
  1608. .button-floating {
  1609. display: none;
  1610. @media (--viewport-medium) {
  1611. display: block;
  1612. position: fixed;
  1613. z-index: 1;
  1614. bottom: 70px;
  1615. }
  1616. }
  1617. .button-floating-top {
  1618. right: 60px;
  1619. }
  1620. .button-floating-shortcuts {
  1621. right: 110px;
  1622. }
  1623. /* Values List component
  1624. ========================================================================== */
  1625. .values-list {
  1626. }
  1627. .values-list-item {
  1628. margin-bottom: 3px;
  1629. @media (--viewport-small) {
  1630. display: flex;
  1631. }
  1632. }
  1633. .values-list-label {
  1634. display: block;
  1635. font-weight: 600;
  1636. @media (--viewport-small) {
  1637. min-width: 130px;
  1638. }
  1639. }
  1640. .values-list-value {
  1641. }
  1642. /* Server summary component
  1643. ========================================================================== */
  1644. .server-summary {
  1645. padding: 20px;
  1646. @media (--viewport-medium) {
  1647. display: flex;
  1648. }
  1649. }
  1650. .server-summary-icon {
  1651. text-align: center;
  1652. margin-bottom: 10px;
  1653. & .fas {
  1654. font-size: 4.6rem;
  1655. }
  1656. @media (--viewport-medium) {
  1657. margin-top: 8px;
  1658. margin-bottom: 0;
  1659. }
  1660. }
  1661. .server-summary-content {
  1662. text-align: center;
  1663. @media (--viewport-medium) {
  1664. text-align: left;
  1665. flex-grow: 1;
  1666. margin-left: 30px;
  1667. }
  1668. @media (--viewport-large) {
  1669. margin-left: 40px;
  1670. }
  1671. }
  1672. .server-summary-title {
  1673. color: #414141;
  1674. margin-bottom: 10px;
  1675. @media (--viewport-medium) {
  1676. font-size: 1.7rem;
  1677. margin-bottom: 0;
  1678. }
  1679. }
  1680. .server-summary-list {
  1681. @media (--viewport-medium) {
  1682. display: flex;
  1683. justify-content: space-between;
  1684. }
  1685. }
  1686. .server-summary-item {
  1687. @media (--viewport-large) {
  1688. min-width: 200px;
  1689. }
  1690. }
  1691. .server-summary-list-label {
  1692. font-weight: 600;
  1693. @media (--viewport-medium) {
  1694. display: block;
  1695. }
  1696. }
  1697. .server-summary-list-value {
  1698. }
  1699. /* Panel component
  1700. ========================================================================== */
  1701. .panel {
  1702. padding: 20px;
  1703. border: 1px solid #d9d9d9;
  1704. box-shadow: 0 1px 4px rgb(0 0 0 / 15%);
  1705. border-radius: var(--border-radius-base);
  1706. }
  1707. /* Collapse component
  1708. ========================================================================== */
  1709. .collapse {
  1710. }
  1711. .collapse[open] .collapse-header::after {
  1712. transform: rotate(180deg);
  1713. }
  1714. .collapse-header {
  1715. background: linear-gradient(to bottom, rgb(247 247 247 / 100%) 0%, rgb(255 255 255 / 100%) 100%);
  1716. border: 1px solid #ddd;
  1717. text-shadow: 0 1px rgb(255 255 255 / 95%);
  1718. box-shadow: inset 0 0 1px rgb(255 255 255 / 100%), inset 0 0 4px rgb(255 255 255 / 80%),
  1719. 0 4px 6px rgb(190 190 190 / 40%);
  1720. font-weight: 600;
  1721. color: #30659d;
  1722. cursor: pointer;
  1723. position: relative;
  1724. padding: 8px 18px;
  1725. &:hover {
  1726. color: #ff3478;
  1727. }
  1728. &::after {
  1729. content: "";
  1730. display: block;
  1731. background-image: url("/images/arrow.svg");
  1732. background-size: 22px auto;
  1733. background-repeat: no-repeat;
  1734. background-position: center;
  1735. size: 22px 100%;
  1736. position: absolute;
  1737. top: 0;
  1738. right: 15px;
  1739. }
  1740. }
  1741. .collapse-content {
  1742. box-sizing: border-box; /* Work around box-sizing not inheriting in <details> in many browsers */
  1743. padding: 20px 20px 10px;
  1744. @media (--viewport-medium) {
  1745. padding: 20px 50px 10px;
  1746. }
  1747. }
  1748. /* Login
  1749. ========================================================================== */
  1750. .body-login,
  1751. .body-reset {
  1752. display: flex;
  1753. align-items: center;
  1754. justify-content: center;
  1755. background: rgb(102 158 231);
  1756. background: radial-gradient(circle, rgb(102 158 231 / 100%) 0%, rgb(43 86 177 / 100%) 100%);
  1757. & .debug-panel {
  1758. display: none;
  1759. }
  1760. }
  1761. .login {
  1762. flex-grow: 1;
  1763. padding: 30px;
  1764. margin-bottom: 20%;
  1765. & .form-label {
  1766. color: #fff;
  1767. }
  1768. & .error {
  1769. color: #be5abf;
  1770. margin-bottom: 20px;
  1771. }
  1772. @media (--viewport-small) {
  1773. border-radius: 6px;
  1774. background-color: rgb(255 255 255 / 70%);
  1775. box-shadow: 0 8px 25px rgb(0 0 0 / 30%), inset 0 0 2px rgb(255 255 255 / 100%);
  1776. padding: 70px 50px;
  1777. max-width: 370px;
  1778. & .form-label {
  1779. color: #4b4b4b;
  1780. }
  1781. }
  1782. @media (--viewport-medium) {
  1783. display: flex;
  1784. align-items: flex-end;
  1785. max-width: 500px;
  1786. & form {
  1787. flex-grow: 1;
  1788. }
  1789. }
  1790. }
  1791. .login-title {
  1792. color: #fff;
  1793. font-size: 1.05rem;
  1794. font-weight: 500;
  1795. margin-bottom: 30px;
  1796. @media (--viewport-small) {
  1797. color: #4b4b4b;
  1798. }
  1799. }
  1800. .login-form-link {
  1801. color: #fff;
  1802. text-transform: uppercase;
  1803. @media (--viewport-small) {
  1804. color: #326b9b;
  1805. &:hover {
  1806. color: #0077c6;
  1807. }
  1808. }
  1809. }
  1810. /* Spinner
  1811. ========================================================================== */
  1812. .spinner {
  1813. -webkit-mask-box-image: radial-gradient(
  1814. center,
  1815. ellipse farthest-corner,
  1816. rgb(0 0 0 / 100%) 68%,
  1817. rgb(0 0 0 / 0%) 69.5%
  1818. );
  1819. background: #eee;
  1820. size: 20px;
  1821. position: relative;
  1822. clip-path: ellipse(10px 10px at 50% 50%);
  1823. }
  1824. .spinner-inner {
  1825. position: absolute;
  1826. top: 0;
  1827. left: 0;
  1828. background: transparent;
  1829. border-width: 10px;
  1830. size: 0;
  1831. border-style: solid;
  1832. border-color: transparent;
  1833. border-top-color: rgb(124 124 124 / 100%);
  1834. transform: rotate(-45deg);
  1835. animation: inner 15s linear infinite;
  1836. }
  1837. .spinner-mask {
  1838. position: absolute;
  1839. top: 0;
  1840. left: 0;
  1841. background: transparent;
  1842. border-width: 10px;
  1843. size: 0;
  1844. border-style: solid;
  1845. border-color: transparent;
  1846. border-top-color: #eee;
  1847. transform: rotate(-45deg);
  1848. animation: mask 15s linear infinite;
  1849. }
  1850. .spinner-mask::after,
  1851. .spinner-mask-two {
  1852. display: block;
  1853. content: "";
  1854. opacity: 0;
  1855. position: absolute;
  1856. top: 0;
  1857. left: 0;
  1858. background: transparent;
  1859. border-width: 10px;
  1860. size: 0;
  1861. border-style: solid;
  1862. border-color: transparent;
  1863. border-top-color: rgb(124 124 124 / 100%);
  1864. transform: rotate(45deg);
  1865. animation: mask-two 15s linear infinite;
  1866. }
  1867. @keyframes inner {
  1868. 0% {
  1869. transform: rotate(-45deg);
  1870. }
  1871. 25% {
  1872. border-left-color: transparent;
  1873. }
  1874. 26% {
  1875. border-left-color: rgb(124 124 124 / 100%);
  1876. }
  1877. 50% {
  1878. border-bottom-color: transparent;
  1879. }
  1880. 51% {
  1881. border-bottom-color: rgb(124 124 124 / 100%);
  1882. }
  1883. 75% {
  1884. border-right-color: transparent;
  1885. }
  1886. 76% {
  1887. border-right-color: rgb(124 124 124 / 100%);
  1888. }
  1889. 100% {
  1890. transform: rotate(315deg);
  1891. border-left-color: rgb(124 124 124 / 100%);
  1892. border-bottom-color: rgb(124 124 124 / 100%);
  1893. border-right-color: rgb(124 124 124 / 100%);
  1894. }
  1895. }
  1896. @keyframes mask {
  1897. 0% {
  1898. transform: rotate(-45deg);
  1899. }
  1900. 75% {
  1901. transform: rotate(-45deg);
  1902. }
  1903. 100% {
  1904. transform: rotate(45deg);
  1905. }
  1906. }
  1907. @keyframes mask-two {
  1908. 0% {
  1909. opacity: 0;
  1910. }
  1911. 25% {
  1912. opacity: 0;
  1913. }
  1914. 26% {
  1915. opacity: 1;
  1916. }
  1917. 100% {
  1918. opacity: 1;
  1919. }
  1920. }
  1921. .qr-code {
  1922. border: 1px solid #cfcfcf;
  1923. border-radius: var(--border-radius-base);
  1924. box-shadow: 0 1px 4px rgb(0 0 0 / 15%);
  1925. }
  1926. .l-unit.selected {
  1927. background-color: #f8f8f8;
  1928. color: #4b4b4b;
  1929. box-shadow: 0 2px 10px rgb(150 150 150 / 20%);
  1930. text-shadow: 0 1px rgb(255 255 255 / 50%);
  1931. border-left: 1px solid #ddd;
  1932. border-right: 1px solid #ddd;
  1933. & b,
  1934. & strong {
  1935. color: #4b4b4b;
  1936. }
  1937. &:hover {
  1938. background-color: #fff5ce;
  1939. color: #4b4b4b;
  1940. box-shadow: 0 2px 14px rgb(150 150 150 / 25%);
  1941. text-shadow: 0 1px rgb(255 255 255 / 60%);
  1942. }
  1943. }
  1944. .console-output {
  1945. font-family: var(--font-family-monospace);
  1946. font-size: 0.92rem;
  1947. color: #202020;
  1948. }
  1949. #vstobjects.suspended {
  1950. background-color: #fff;
  1951. padding-bottom: 30px;
  1952. }
  1953. /* Badge component
  1954. ========================================================================== */
  1955. .badge {
  1956. display: inline-block;
  1957. min-width: 26px;
  1958. min-height: 24px;
  1959. line-height: 24px;
  1960. border-radius: 50%;
  1961. font-weight: 700;
  1962. font-size: 0.75rem;
  1963. box-shadow: 0 1px 2px rgb(70 70 70 / 50%), inset 0 2px 2px #fff;
  1964. color: #6c6c6c;
  1965. text-shadow: 0 1px #fafafa;
  1966. border: 1px solid #b8b8b8;
  1967. background-color: #eaeaea;
  1968. margin-top: -2px;
  1969. }
  1970. .l-unit--suspended .badge {
  1971. background: #eaeaea;
  1972. color: #c0c0c0;
  1973. text-shadow: 0 -1px #fafafa;
  1974. box-shadow: 0 1px 2px rgb(120 120 120 / 30%);
  1975. }
  1976. /* Icon component
  1977. ========================================================================== */
  1978. .icon-large {
  1979. font-size: 1rem;
  1980. }
  1981. .icon-teal {
  1982. color: var(--icon-color-teal);
  1983. &:hover {
  1984. color: var(--icon-color-teal);
  1985. }
  1986. }
  1987. .icon-purple {
  1988. color: var(--icon-color-purple);
  1989. &:hover {
  1990. color: var(--icon-color-purple);
  1991. }
  1992. }
  1993. .icon-maroon {
  1994. color: var(--icon-color-maroon);
  1995. &:hover {
  1996. color: var(--icon-color-maroon);
  1997. }
  1998. }
  1999. .icon-red {
  2000. color: var(--icon-color-red);
  2001. &:hover {
  2002. color: var(--icon-color-red);
  2003. }
  2004. }
  2005. .icon-green {
  2006. color: var(--icon-color-green);
  2007. &:hover {
  2008. color: var(--icon-color-green);
  2009. }
  2010. }
  2011. .icon-orange {
  2012. color: var(--icon-color-orange);
  2013. &:hover {
  2014. color: var(--icon-color-orange);
  2015. }
  2016. }
  2017. .icon-blue {
  2018. color: var(--icon-color-blue);
  2019. &:hover {
  2020. color: var(--icon-color-blue);
  2021. }
  2022. }
  2023. .icon-lightblue {
  2024. color: var(--icon-color-lightblue);
  2025. &:hover {
  2026. color: var(--icon-color-lightblue);
  2027. }
  2028. }
  2029. .icon-highlight {
  2030. color: #323232;
  2031. &:hover {
  2032. color: #323232;
  2033. }
  2034. }
  2035. .icon-dim {
  2036. color: #ddd;
  2037. text-shadow: 1px 1px rgb(255 255 255 / 30%);
  2038. }
  2039. .l-unit--suspended .icon-dim {
  2040. color: #c0c0c0;
  2041. }
  2042. .cron-helper-panel {
  2043. border: 1px solid #cfcfcf;
  2044. border-radius: var(--border-radius-base);
  2045. box-shadow: 0 1px 4px rgb(0 0 0 / 15%);
  2046. margin-top: 20px;
  2047. & .ui-tabs-tab a {
  2048. color: #777;
  2049. font-weight: 600;
  2050. line-height: 30px;
  2051. padding: 0 12px;
  2052. text-transform: uppercase;
  2053. &:hover {
  2054. color: #c36;
  2055. }
  2056. &:active {
  2057. color: #3b9de8;
  2058. }
  2059. }
  2060. & .ui-tabs-tab[aria-expanded="true"] a {
  2061. color: #c36;
  2062. }
  2063. @media (--viewport-medium) {
  2064. margin-top: 25px;
  2065. & .form-label {
  2066. padding-right: 15px;
  2067. padding-left: 25px;
  2068. &.first {
  2069. display: inline-block;
  2070. width: 120px;
  2071. padding-left: 0;
  2072. }
  2073. }
  2074. & .form-select {
  2075. display: inline-block;
  2076. max-width: 384px;
  2077. }
  2078. }
  2079. }
  2080. .server-console-output {
  2081. color: #c36;
  2082. padding: 10px 0 20px 20px;
  2083. background: #fff;
  2084. }
  2085. .userlist-email {
  2086. font-size: 0.75rem;
  2087. white-space: nowrap;
  2088. text-overflow: ellipsis;
  2089. }
  2090. .userlist-username {
  2091. margin-top: -2px;
  2092. line-height: 1.2rem;
  2093. }
  2094. /* App footer
  2095. ========================================================================== */
  2096. .app-footer {
  2097. color: #7c7c7c;
  2098. border-top: 1px solid #ddd;
  2099. font-size: 0.8rem;
  2100. padding-top: 20px;
  2101. padding-bottom: 20px;
  2102. @media (--viewport-medium) {
  2103. padding-top: 40px;
  2104. padding-bottom: 40px;
  2105. }
  2106. }
  2107. .app-footer-inner {
  2108. padding-left: 20px;
  2109. padding-right: 20px;
  2110. @media (--viewport-large) {
  2111. padding-left: 15px;
  2112. padding-right: 15px;
  2113. }
  2114. }
  2115. /* Alerts
  2116. ========================================================================== */
  2117. .alert {
  2118. border-radius: var(--border-radius-base);
  2119. border: 1px solid var(--alert-border-color);
  2120. color: #fff;
  2121. font-weight: 400;
  2122. padding: 15px;
  2123. box-shadow: var(--alert-box-shadow);
  2124. text-shadow: var(--alert-text-shadow);
  2125. & a {
  2126. color: #fff;
  2127. font-weight: bold;
  2128. &:hover {
  2129. text-decoration: underline;
  2130. }
  2131. }
  2132. & .fas {
  2133. flex-shrink: 0;
  2134. size: 32px;
  2135. font-size: 1.3rem;
  2136. font-weight: 600;
  2137. line-height: 30px;
  2138. border-radius: 50%;
  2139. text-align: center;
  2140. background-color: #fff;
  2141. margin-bottom: 10px;
  2142. }
  2143. @media (--viewport-small) {
  2144. display: flex;
  2145. & .fas {
  2146. margin-right: 15px;
  2147. margin-bottom: 0;
  2148. }
  2149. }
  2150. }
  2151. .alert-info {
  2152. background-color: var(--alert-info-color);
  2153. & .fas {
  2154. color: var(--alert-info-color);
  2155. }
  2156. }
  2157. .alert-danger {
  2158. background-color: var(--alert-danger-color);
  2159. & .fas {
  2160. color: var(--alert-danger-color);
  2161. }
  2162. }
  2163. .alert-success {
  2164. background-color: var(--alert-success-color);
  2165. & .fas {
  2166. color: var(--alert-success-color);
  2167. }
  2168. }
  2169. /* Inline alerts
  2170. ========================================================================== */
  2171. .inline-alert {
  2172. display: flex;
  2173. font-weight: 600;
  2174. & .fas {
  2175. margin-top: 4px;
  2176. margin-right: 6px;
  2177. }
  2178. }
  2179. .inline-alert-danger {
  2180. color: #f33;
  2181. }
  2182. .inline-alert-success {
  2183. color: #53ba55;
  2184. & a {
  2185. color: #326b9b;
  2186. &:hover {
  2187. color: #c36;
  2188. }
  2189. &:active {
  2190. color: #d53067;
  2191. }
  2192. }
  2193. }
  2194. /* Updates banner
  2195. ========================================================================== */
  2196. .updates-banner {
  2197. width: 100%;
  2198. text-align: center;
  2199. border-top: 1px solid rgb(255 255 255 / 25%);
  2200. box-shadow: 0 -2px 4px rgb(0 0 0 / 40%);
  2201. background-color: green;
  2202. color: #fff;
  2203. font-size: 0.75rem;
  2204. padding: 10px;
  2205. position: fixed;
  2206. bottom: 0;
  2207. & button {
  2208. border: 0;
  2209. padding: 0;
  2210. background-color: transparent;
  2211. color: #fff;
  2212. font-weight: 500;
  2213. &:hover {
  2214. color: #fff;
  2215. text-decoration: underline;
  2216. }
  2217. }
  2218. }
  2219. /* Debug panel
  2220. ========================================================================== */
  2221. .debug-panel {
  2222. position: fixed;
  2223. bottom: 0;
  2224. left: 0;
  2225. width: 100%;
  2226. z-index: 3;
  2227. box-shadow: 0 0 5px rgb(0 0 0 / 40%);
  2228. @media (--viewport-medium) {
  2229. width: auto;
  2230. }
  2231. }
  2232. .debug-panel-toggle {
  2233. display: block;
  2234. width: 100%;
  2235. border: 0;
  2236. text-align: center;
  2237. font-size: 0.8rem;
  2238. font-weight: 500;
  2239. color: #000;
  2240. padding: 10px 15px;
  2241. background-color: #ff0;
  2242. &:hover {
  2243. background-color: #ee0;
  2244. }
  2245. }
  2246. .debug-panel-content {
  2247. background-color: #eee;
  2248. font-size: 0.75rem;
  2249. padding: 20px;
  2250. max-height: 300px;
  2251. overflow: auto;
  2252. }