cascade.css 51 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557
  1. /*!
  2. * LuCI Bootstrap Theme
  3. * Copyright 2012 Nut & Bolt
  4. * By David Menting <david@nut-bolt.nl>
  5. * Based on Bootstrap v1.4.0
  6. *
  7. * Copyright 2011 Twitter, Inc
  8. * Licensed under the Apache License v2.0
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Designed and built with all the love in the world @twitter by @mdo and @fat.
  12. */
  13. /* Variables
  14. * --------- */
  15. :root {
  16. --background-color-delta-l-sign: -1;
  17. --background-color-h: 0;
  18. --background-color-s: 0%;
  19. --background-color-l: 100%;
  20. --background-color-high-hsl:
  21. var(--background-color-h),
  22. var(--background-color-s),
  23. var(--background-color-l);
  24. --background-color-high: hsl(var(--background-color-high-hsl));
  25. --background-color-medium-hsl:
  26. var(--background-color-h),
  27. var(--background-color-s),
  28. calc(var(--background-color-l) + var(--background-color-delta-l-sign) * calc(6 / 255 * 100%));
  29. --background-color-medium: hsl(var(--background-color-medium-hsl));
  30. --background-color-low-hsl:
  31. var(--background-color-h),
  32. var(--background-color-s),
  33. calc(var(--background-color-l) + var(--background-color-delta-l-sign) * calc(10 / 255 * 100%));
  34. --background-color-low: hsl(var(--background-color-low-hsl));
  35. --text-color-delta-l-sign: 1;
  36. --text-color-h: 0;
  37. --text-color-s: 0%;
  38. --text-color-l: 0%;
  39. --text-color-highest-hsl:
  40. var(--text-color-h),
  41. var(--text-color-s),
  42. var(--text-color-l);
  43. --text-color-highest: hsl(var(--text-color-highest-hsl));
  44. --text-color-high-hsl:
  45. var(--text-color-h),
  46. var(--text-color-s),
  47. calc(var(--text-color-l) + var(--text-color-delta-l-sign) * calc(64 / 255 * 100%));
  48. --text-color-high: hsl(var(--text-color-high-hsl));
  49. --text-color-medium-hsl:
  50. var(--text-color-h),
  51. var(--text-color-s),
  52. calc(var(--text-color-l) + var(--text-color-delta-l-sign) * calc(128 / 255 * 100%));
  53. --text-color-medium: hsl(var(--text-color-medium-hsl));
  54. --text-color-low-hsl:
  55. var(--text-color-h),
  56. var(--text-color-s),
  57. calc(var(--text-color-l) + var(--text-color-delta-l-sign) * calc(191 / 255 * 100%));
  58. --text-color-low: hsl(var(--text-color-low-hsl));
  59. --border-color-delta-l-sign: -1;
  60. --border-color-h: var(--background-color-h);
  61. --border-color-s: var(--background-color-s);
  62. --border-color-l: var(--background-color-l);
  63. --border-color-high-hsl:
  64. var(--border-color-h),
  65. var(--border-color-s),
  66. calc(var(--border-color-l) + var(--border-color-delta-l-sign) * calc(51 / 255 * 100%));
  67. --border-color-high: hsl(var(--border-color-high-hsl));
  68. --border-color-medium-hsl:
  69. var(--border-color-h),
  70. var(--border-color-s),
  71. calc(var(--border-color-l) + var(--border-color-delta-l-sign) * calc(34 / 255 * 100%));
  72. --border-color-medium: hsl(var(--border-color-medium-hsl));
  73. --border-color-low-hsl:
  74. var(--border-color-h),
  75. var(--border-color-s),
  76. calc(var(--border-color-l) + var(--border-color-delta-l-sign) * calc(17 / 255 * 100%));
  77. --border-color-low: hsl(var(--border-color-low-hsl));
  78. --primary-color-high: #1976d2;
  79. --primary-color-medium: #1564c0;
  80. --primary-color-low: #0d46a1;
  81. --on-primary-color: var(--background-color-high);
  82. --error-color-high-rgb: 246, 43, 18;
  83. --error-color-high: rgb(var(--error-color-high-rgb));
  84. --error-color-medium: #e8210d;
  85. --error-color-low: #d00000;
  86. --on-error-color: var(--background-color-high);
  87. --success-color-high-rgb: 0, 172, 89;
  88. --success-color-high: rgb(var(--success-color-high-rgb));
  89. --success-color-medium: #009a4c;
  90. --success-color-low: #007936;
  91. --on-success-color: var(--background-color-high);
  92. --warn-color-high: #efbd0b;
  93. --warn-color-medium: #f0c629;
  94. --warn-color-low: #f2d24f;
  95. --on-warn-color: var(--text-color-highest);
  96. --disabled-opacity: .7;
  97. color-scheme: light;
  98. }
  99. :root[data-darkmode="true"] {
  100. --background-color-delta-l-sign: 1;
  101. --background-color-h: 0;
  102. --background-color-s: 0%;
  103. --background-color-l: calc(34 / 255 * 100%);
  104. --text-color-delta-l-sign: -1;
  105. --text-color-h: 0;
  106. --text-color-s: 0%;
  107. --text-color-l: 100%;
  108. --border-color-delta-l-sign: 1;
  109. --primary-color-high: #4da1c0;
  110. --primary-color-medium: #448da6;
  111. --primary-color-low: #3c7a8d;
  112. --error-color-high-rgb: 209, 86, 83;
  113. --error-color-medium: #bf4e4c;
  114. --error-color-low: #b14946;
  115. --success-color-high-rgb: 0, 166, 108;
  116. --success-color-medium: #00945e;
  117. --success-color-low: #008252;
  118. --warn-color-high: #a69461;
  119. --warn-color-medium: #a68d45;
  120. --warn-color-low: #a68732;
  121. --on-warn-color: var(--background-color-high);
  122. --disabled-opacity: .4;
  123. color-scheme: dark;
  124. }
  125. /* Reset.less
  126. * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
  127. * ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
  128. *, *::before, *::after {
  129. margin: 0;
  130. padding: 0;
  131. border: 0;
  132. box-sizing: border-box;
  133. }
  134. abbr[title], acronym[title] {
  135. border-bottom: 1px dotted;
  136. font-weight: inherit;
  137. cursor: help;
  138. }
  139. table {
  140. border-collapse: collapse;
  141. border-spacing: 0;
  142. }
  143. ol, ul {
  144. list-style: none;
  145. }
  146. html {
  147. font-size: 100%;
  148. -webkit-text-size-adjust: 100%;
  149. -ms-text-size-adjust: 100%;
  150. height: 100%;
  151. }
  152. a:focus {
  153. outline: thin dotted;
  154. }
  155. a:hover, a:active {
  156. outline: 0;
  157. }
  158. sub, sup {
  159. font-size: 75%;
  160. line-height: 0;
  161. position: relative;
  162. vertical-align: baseline;
  163. }
  164. sup {
  165. top: -0.5em;
  166. }
  167. sub {
  168. bottom: -0.25em;
  169. }
  170. img {
  171. -ms-interpolation-mode: bicubic;
  172. }
  173. button,
  174. input,
  175. select,
  176. option,
  177. textarea {
  178. font-size: 100%;
  179. margin: 0;
  180. box-sizing: border-box;
  181. vertical-align: baseline;
  182. line-height: 2em;
  183. }
  184. button::-moz-focus-inner, input::-moz-focus-inner {
  185. border: 0;
  186. padding: 0;
  187. }
  188. button,
  189. input[type="button"],
  190. input[type="reset"],
  191. input[type="submit"] {
  192. cursor: pointer;
  193. -webkit-appearance: button;
  194. word-break: break-all;
  195. }
  196. button[disabled],
  197. input[type="button"][disabled],
  198. input[type="reset"][disabled],
  199. input[type="submit"][disabled] {
  200. opacity: var(--disabled-opacity);
  201. }
  202. input[type="search"] {
  203. -webkit-appearance: textfield;
  204. box-sizing: content-box;
  205. }
  206. input[type="search"]::-webkit-search-decoration {
  207. -webkit-appearance: none;
  208. }
  209. textarea {
  210. overflow: auto;
  211. vertical-align: top;
  212. }
  213. .control-group {
  214. display: inline-flex;
  215. gap: .2em;
  216. }
  217. .control-group > input + :not(input):not(select),
  218. .control-group > select + :not(input):not(select) {
  219. margin-left: calc(-.2em + -2px);
  220. border-radius: 0 3px 3px 0;
  221. padding: 0 6px;
  222. }
  223. /*
  224. * Scaffolding
  225. * Basic and global styles for generating a grid system, structural layout, and page templates
  226. * ------------------------------------------------------------------------------------------- */
  227. body {
  228. background-color: var(--background-color-high);
  229. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  230. font-size: 13px;
  231. font-weight: normal;
  232. line-height: 18px;
  233. color: var(--text-color-high);
  234. padding: 5px;
  235. min-height: 100%;
  236. display: flex;
  237. flex-direction: column;
  238. }
  239. .container {
  240. width: 100%;
  241. max-width: 940px;
  242. margin-left: auto;
  243. margin-right: auto;
  244. zoom: 1;
  245. }
  246. a {
  247. color: var(--primary-color-high);
  248. text-decoration: none;
  249. line-height: inherit;
  250. font-weight: inherit;
  251. }
  252. a:hover {
  253. color: var(--primary-color-low);
  254. text-decoration: underline;
  255. }
  256. .pull-right {
  257. float: right;
  258. }
  259. .pull-left {
  260. float: left;
  261. }
  262. .nowrap {
  263. white-space: nowrap;
  264. }
  265. /* Typography.less
  266. * Headings, body text, lists, code, and more for a versatile and durable typography system
  267. * ---------------------------------------------------------------------------------------- */
  268. p,
  269. .cbi-map-descr,
  270. .cbi-section-descr,
  271. .table .tr.cbi-section-table-descr .th {
  272. font-size: 13px;
  273. font-weight: normal;
  274. line-height: 18px;
  275. margin-bottom: 9px;
  276. }
  277. p small {
  278. font-size: 11px;
  279. color: var(--text-color-low);
  280. }
  281. h1,
  282. h2,
  283. h3, legend,
  284. h4,
  285. h5,
  286. h6 {
  287. font-weight: bold;
  288. color: var(--text-color-high);
  289. }
  290. h1 small,
  291. h2 small,
  292. h3 small,
  293. h4 small,
  294. h5 small,
  295. h6 small {
  296. color: var(--text-color-low);
  297. }
  298. h1 {
  299. margin-bottom: 18px;
  300. font-size: 30px;
  301. line-height: 36px;
  302. }
  303. h1 small {
  304. font-size: 18px;
  305. }
  306. h2 {
  307. font-size: 24px;
  308. line-height: 36px;
  309. }
  310. h2 small {
  311. font-size: 14px;
  312. }
  313. h3, legend,
  314. h4,
  315. h5,
  316. h6 {
  317. line-height: 36px;
  318. }
  319. h3, legend {
  320. font-size: 18px;
  321. }
  322. h3 small {
  323. font-size: 14px;
  324. }
  325. h4 {
  326. font-size: 16px;
  327. }
  328. h4 small {
  329. font-size: 12px;
  330. }
  331. h5 {
  332. font-size: 14px;
  333. }
  334. h6 {
  335. font-size: 13px;
  336. color: var(--text-color-low);
  337. text-transform: uppercase;
  338. }
  339. ul, ol {
  340. margin: 0 0 18px 25px;
  341. }
  342. ul ul,
  343. ul ol,
  344. ol ol,
  345. ol ul {
  346. margin-bottom: 0;
  347. }
  348. ul {
  349. list-style: disc;
  350. }
  351. ol {
  352. list-style: decimal;
  353. }
  354. li {
  355. line-height: 18px;
  356. color: var(--text-color-medium);
  357. }
  358. ul.unstyled {
  359. list-style: none;
  360. margin-left: 0;
  361. }
  362. dl {
  363. margin-bottom: 18px;
  364. }
  365. dl dt, dl dd {
  366. line-height: 18px;
  367. }
  368. dl dt {
  369. font-weight: bold;
  370. }
  371. dl dd {
  372. margin-left: 9px;
  373. }
  374. hr {
  375. margin: 20px 0 19px;
  376. border: 0;
  377. border-bottom: 1px solid var(--border-color-low);
  378. }
  379. strong {
  380. font-style: inherit;
  381. font-weight: bold;
  382. }
  383. em {
  384. font-style: italic;
  385. font-weight: inherit;
  386. line-height: inherit;
  387. }
  388. small { font-size: 0.9em }
  389. address {
  390. display: block;
  391. line-height: 18px;
  392. margin-bottom: 18px;
  393. }
  394. code, pre {
  395. padding: 0 3px 2px;
  396. font-family: Monaco, Andale Mono, Courier New, monospace;
  397. font-size: 12px;
  398. border-radius: 3px;
  399. }
  400. code {
  401. background-color: var(--border-color-low);
  402. color: var(--text-color-high);
  403. padding: 1px 3px;
  404. }
  405. pre {
  406. --border-color-h: var(--background-color-h);
  407. --border-color-s: var(--background-color-s);
  408. --border-color-delta-l: 100%;
  409. --border-color-l: calc(var(--background-color-l) + var(--background-color-delta-l-sign) * var(--border-color-delta-l));
  410. --border-color-a: 0.15;
  411. --border-color: hsla(var(--border-color-hsl), var(--border-color-a));
  412. background-color: var(--background-color-low);
  413. display: block;
  414. padding: 8.5px;
  415. margin: 0 0 18px;
  416. line-height: 18px;
  417. font-size: 12px;
  418. border: 1px solid var(--border-color);
  419. border-radius: 3px;
  420. white-space: pre;
  421. white-space: pre-wrap;
  422. word-wrap: break-word;
  423. }
  424. /* Forms.less
  425. * Base styles for various input types, form layouts, and states
  426. * ------------------------------------------------------------- */
  427. fieldset {
  428. margin-bottom: 9px;
  429. padding-top: 9px;
  430. }
  431. fieldset legend {
  432. display: block;
  433. font-size: 19.5px;
  434. line-height: 1;
  435. color: var(--text-color-high);
  436. padding-top: 20px;
  437. }
  438. label,
  439. input,
  440. button,
  441. select,
  442. textarea {
  443. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  444. font-size: 13px;
  445. font-weight: normal;
  446. line-height: normal;
  447. }
  448. .cbi-value {
  449. display: flex;
  450. flex-wrap: wrap;
  451. margin-bottom: 18px;
  452. }
  453. .cbi-value-field {
  454. margin-left: 20px;
  455. flex: 1;
  456. }
  457. .cbi-value label.cbi-value-title {
  458. padding-top: 6px;
  459. font-size: 13px;
  460. line-height: 18px;
  461. flex: 0 0 180px;
  462. text-align: right;
  463. color: var(--text-color-high);
  464. }
  465. .cbi-value > .cbi-section,
  466. .cbi-value > .cbi-tblsection {
  467. width: 100%;
  468. }
  469. label > input[type="checkbox"],
  470. label > input[type="radio"] {
  471. vertical-align: text-top;
  472. margin: 0;
  473. }
  474. label[for] {
  475. cursor: pointer;
  476. }
  477. input,
  478. textarea,
  479. select,
  480. .cbi-select,
  481. .cbi-dropdown:not(.btn):not(.cbi-button) {
  482. display: inline-block;
  483. width: 210px;
  484. padding: 4px;
  485. background: var(--background-color-high);
  486. color: var(--text-color-high);
  487. font-size: 13px;
  488. line-height: 18px;
  489. border: 1px solid var(--border-color-high);
  490. border-radius: 3px;
  491. }
  492. input,
  493. select,
  494. .cbi-select,
  495. .cbi-dropdown:not(.btn):not(.cbi-button) {
  496. height: 30px;
  497. }
  498. .cbi-dropdown:not(.btn):not(.cbi-button),
  499. .cbi-dynlist {
  500. min-width: 210px;
  501. max-width: 400px;
  502. width: auto;
  503. }
  504. .cbi-dynlist {
  505. height: auto;
  506. min-height: 30px;
  507. display: inline-flex;
  508. flex-direction: column;
  509. }
  510. .cbi-dynlist > .item {
  511. margin-bottom: 4px;
  512. box-shadow: 0 0 2px var(--border-color-high);
  513. background: var(--background-color-high);
  514. padding: 6px 2em 6px 4px;
  515. border: 1px solid var(--border-color-high);
  516. border-radius: 3px;
  517. color: var(--text-color-high);
  518. position: relative;
  519. pointer-events: none;
  520. overflow: hidden;
  521. word-break: break-all;
  522. }
  523. .cbi-dynlist > .item::after {
  524. content: "×";
  525. position: absolute;
  526. display: inline-flex;
  527. align-items: center;
  528. top: -1px;
  529. right: -1px;
  530. bottom: -1px;
  531. padding: 0 6px;
  532. border: 1px solid var(--border-color-high);
  533. border-radius: 0 3px 3px 0;
  534. font-weight: bold;
  535. color: #c44;
  536. pointer-events: auto;
  537. }
  538. .cbi-dynlist > .add-item {
  539. display: flex;
  540. }
  541. .cbi-dynlist > .add-item > input,
  542. .cbi-dynlist > .add-item > button {
  543. flex: 1 1 auto;
  544. overflow: hidden;
  545. text-overflow: ellipsis;
  546. white-space: nowrap;
  547. }
  548. .cbi-value-field > .cbi-checkbox,
  549. .cbi-value-field > div > .cbi-radio {
  550. height: 30px;
  551. display: inline-flex;
  552. align-items: center;
  553. }
  554. .cbi-radio {
  555. cursor: pointer;
  556. gap: .125em;
  557. }
  558. .cbi-select {
  559. padding: 0;
  560. position: relative;
  561. background: linear-gradient(var(--background-color-high), var(--border-color-low));
  562. }
  563. .cbi-select select,
  564. .cbi-select select:focus {
  565. -webkit-appearance: none;
  566. appearance: none;
  567. outline: none;
  568. border: none;
  569. background: transparent;
  570. height: 100%;
  571. width: 100%;
  572. padding: 0 .3em;
  573. cursor: pointer;
  574. margin-right: .6em;
  575. }
  576. .cbi-select::before {
  577. position: absolute;
  578. top: 0;
  579. right: 0;
  580. bottom: 0;
  581. content: "▾";
  582. padding: 0 .3em;
  583. background: linear-gradient(var(--background-color-high), var(--border-color-low));
  584. pointer-events: none;
  585. border-radius: 3px;
  586. display: flex;
  587. flex-direction: column;
  588. justify-content: center;
  589. }
  590. .cbi-select select option {
  591. background: var(--background-color-low);
  592. color: var(--text-color-high);
  593. }
  594. .cbi-select select option:hover {
  595. background: var(--primary-color-low);
  596. color: var(--on-primary-color);
  597. }
  598. .cbi-select select option:checked {
  599. background: var(--primary-color-medium);
  600. color: var(--on-primary-color);
  601. }
  602. input[type=file] {
  603. padding: initial;
  604. border: initial;
  605. line-height: initial;
  606. box-shadow: none;
  607. width: auto !important;
  608. }
  609. input[type=button], input[type=reset], input[type=submit] {
  610. width: auto;
  611. height: auto;
  612. }
  613. select[multiple] {
  614. height: inherit;
  615. background-color: #fff;
  616. }
  617. input[type="checkbox"],
  618. input[type="radio"] {
  619. --bd-color: var(--border-color-high);
  620. --fg-color: var(--text-color-high);
  621. appearance: none;
  622. -webkit-appearance: none;
  623. width: 14px;
  624. height: 14px;
  625. color: var(--fg-color);
  626. position: relative;
  627. display: inline-block;
  628. cursor: pointer;
  629. background: none;
  630. border: none;
  631. }
  632. input[type="checkbox"]::before,
  633. input[type="checkbox"]::after,
  634. input[type="radio"]::before,
  635. input[type="radio"]::after {
  636. position: absolute;
  637. content: "";
  638. }
  639. input[type="checkbox"]::before,
  640. input[type="radio"]::before {
  641. top: 0;
  642. left: 0;
  643. width: 14px;
  644. height: 14px;
  645. background: linear-gradient(var(--background-color-high), var(--background-color-low));
  646. border: 1px solid var(--bd-color);
  647. border-radius: 2px;
  648. }
  649. input[type="radio"],
  650. input[type="radio"]::before {
  651. border-radius: 50%;
  652. }
  653. input[type="checkbox"]::after,
  654. input[type="radio"]::after {
  655. top: 2px;
  656. left: 2px;
  657. width: 10px;
  658. height: 10px;
  659. }
  660. input[type="checkbox"]:checked::after,
  661. input[type="radio"]:checked::after {
  662. --checkmark-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20'><path d='m2.5 7.4 7.5 7.5-2.5 2.4L0 10Zm15-5L20 4.9 7.5 17.3 5 15Z'/></svg>");
  663. -webkit-mask: var(--checkmark-icon) center/cover no-repeat;
  664. mask: var(--checkmark-icon) center/cover no-repeat;
  665. background: var(--fg-color);
  666. }
  667. input[type="radio"]:checked:after {
  668. --checkmark-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20'><circle cx='10' cy='10' r='7'/></svg>");
  669. }
  670. input[type="checkbox"].cbi-input-invalid,
  671. input[type="radio"].cbi-input-invalid {
  672. --bd-color: var(--error-color-medium);
  673. --fg-color: var(--error-color-high);
  674. }
  675. .td > input[type=text],
  676. .td > input[type=password],
  677. .td > select,
  678. .td > .cbi-dropdown:not(.btn):not(.cbi-button),
  679. .cbi-dynlist > .add-item > .cbi-dropdown {
  680. width: 100%;
  681. }
  682. ::placeholder {
  683. color: var(--text-color-medium);
  684. }
  685. .item::after,
  686. .btn,
  687. .cbi-button,
  688. .cbi-select,
  689. .cbi-dropdown,
  690. .cbi-dynlist > .item,
  691. input[type="checkbox"]::before,
  692. input[type="radio"]::before,
  693. input, button, textarea, select {
  694. transition: border linear 0.2s, box-shadow linear 0.2s;
  695. box-shadow: inset 0 1px 3px hsla(var(--border-color-low-hsl), .01);
  696. }
  697. .item:hover::after,
  698. .btn:hover, .btn:focus,
  699. .cbi-button:hover, .cbi-button:focus,
  700. .cbi-select.focus,
  701. .cbi-dropdown:focus, .cbi-dropdown[open],
  702. .cbi-dynlist > .item:focus,
  703. input[type="checkbox"]:focus::before,
  704. input[type="radio"]:focus::before,
  705. input:focus, button:hover, textarea:focus, select:focus {
  706. --focus-color-rgb: 82, 168, 236;
  707. outline: 0;
  708. border-color: rgba(var(--focus-color-rgb), 0.8) !important;
  709. box-shadow: inset 0 1px 3px hsla(var(--border-color-low-hsl), .01), 0 0 8px rgba(var(--focus-color-rgb), 0.6);
  710. text-decoration: none;
  711. }
  712. .cbi-input-invalid:focus,
  713. .cbi-select.cbi-input-invalid,
  714. input[type="checkbox"].cbi-input-invalid:focus::before,
  715. input[type="radio"].cbi-input-invalid:focus::before {
  716. --focus-color-rgb: var(--error-color-high-rgb);
  717. }
  718. input[disabled],
  719. button[disabled],
  720. select[disabled],
  721. textarea[disabled],
  722. .cbi-select[disabled]::before,
  723. .cbi-dropdown[disabled]:not(.btn):not(.cbi-button),
  724. input[type="checkbox"][disabled]::before,
  725. input[type="checkbox"][disabled]::after,
  726. input[type="radio"][disabled]::before,
  727. input[type="radio"][disabled]::after {
  728. opacity: var(--disabled-opacity);
  729. pointer-events: none;
  730. cursor: default;
  731. }
  732. input[readonly],
  733. select[readonly],
  734. textarea[readonly] {
  735. border-color: hsla(var(--border-color-high-hsl), var(--disabled-opacity));
  736. pointer-events: auto;
  737. cursor: auto;
  738. }
  739. .cbi-optionals,
  740. .cbi-section-create {
  741. padding: 0 0 10px 10px;
  742. }
  743. .cbi-section-create {
  744. margin: -3px;
  745. display: inline-flex;
  746. align-items: center;
  747. }
  748. .cbi-section-create > * {
  749. margin: 3px;
  750. flex: 1 1 auto;
  751. }
  752. .cbi-section-create > * > input {
  753. width: 100%;
  754. }
  755. .actions,
  756. .cbi-page-actions {
  757. background: var(--background-color-low);
  758. margin-bottom: 18px;
  759. padding: 17px 20px 18px 17px;
  760. border-top: 1px solid var(--border-color-medium);
  761. border-radius: 0 0 3px 3px;
  762. text-align: right;
  763. }
  764. .actions .secondary-action,
  765. .cbi-page-actions .secondary-action{
  766. float: right;
  767. }
  768. .actions .secondary-action a,
  769. .cbi-page-actions .secondary-action a {
  770. line-height: 30px;
  771. }
  772. .actions .secondary-action a:hover,
  773. .cbi-page-actions .secondary-action a:hover {
  774. text-decoration: underline;
  775. }
  776. .cbi-page-actions > form {
  777. display: inline;
  778. margin: 0;
  779. }
  780. /*
  781. * Tables.less
  782. * Tables for, you guessed it, tabular data
  783. * ---------------------------------------- */
  784. .tr { display: table-row; }
  785. .table[width="33%"], .th[width="33%"], .td[width="33%"] { width: 33%; }
  786. .table[width="100%"], .th[width="100%"], .td[width="100%"] { width: 100%; }
  787. .table {
  788. display: table;
  789. width: 100%;
  790. margin-bottom: 18px;
  791. padding: 0;
  792. font-size: 13px;
  793. border-collapse: collapse;
  794. position: relative;
  795. }
  796. .table .th, .table .td {
  797. display: table-cell;
  798. vertical-align: middle; /* Fixme */
  799. padding: 10px 10px 9px;
  800. line-height: 18px;
  801. text-align: left;
  802. }
  803. .table .tr:first-child .th {
  804. padding-top: 9px;
  805. font-weight: bold;
  806. vertical-align: top;
  807. }
  808. .table .td, .table .th {
  809. border-top: 1px solid var(--border-color-medium);
  810. }
  811. .tr.placeholder {
  812. height: calc(3em + 20px);
  813. }
  814. .tr.placeholder > .td {
  815. position: absolute;
  816. left: 0;
  817. right: 0;
  818. bottom: 0;
  819. text-align: center;
  820. line-height: 3em;
  821. }
  822. .tr.drag-over-above,
  823. .tr.drag-over-below {
  824. border: 2px solid #0069d6;
  825. border-width: 2px 0 0 0;
  826. }
  827. .tr.drag-over-below {
  828. border-width: 0 0 2px 0;
  829. }
  830. /* Patterns.less
  831. * Repeatable UI elements outside the base styles provided from the scaffolding
  832. * ---------------------------------------------------------------------------- */
  833. header {
  834. position: sticky;
  835. top: 0;
  836. z-index: 800;
  837. overflow: visible;
  838. color: #BFBFBF;
  839. margin: -5px -5px 15px -5px;
  840. display: flex;
  841. }
  842. header a {
  843. color: #bfbfbf;
  844. text-shadow: 0 -1px 0 hsla(var(--border-color-low-hsl), .25);
  845. }
  846. header .brand:hover, header ul .active > a {
  847. background-color: #333;
  848. background-color: rgba(255, 255, 255, 0.05);
  849. color: #fff;
  850. text-decoration: none;
  851. }
  852. header .brand {
  853. float: left;
  854. display: block;
  855. padding: 8px 20px 12px;
  856. margin-left: -15px;
  857. color: #fff;
  858. font-size: 20px;
  859. font-weight: 200;
  860. line-height: 1;
  861. }
  862. header .pull-right {
  863. margin-left: auto;
  864. margin-right: 5px;
  865. align-self: center;
  866. }
  867. header p {
  868. margin: 0;
  869. line-height: 40px;
  870. }
  871. header {
  872. background: linear-gradient(#333333, #222222);
  873. box-shadow: 0 1px 3px hsla(var(--border-color-low-hsl), .25), inset 0 -1px 0 hsla(var(--border-color-low-hsl), .01);
  874. padding: 0;
  875. /* the redundant properties below work around a csstidy bug */
  876. padding-left: calc((100% - 940px) / 2);
  877. padding-right: calc((100% - 940px) / 2);
  878. }
  879. .nav {
  880. display: block;
  881. float: left;
  882. margin: 0 10px 0 0;
  883. position: relative;
  884. left: 0;
  885. }
  886. .nav > li {
  887. display: block;
  888. float: left;
  889. }
  890. .nav a {
  891. display: block;
  892. float: none;
  893. padding: 10px 10px 11px;
  894. line-height: 19px;
  895. text-decoration: none;
  896. }
  897. .nav a:hover {
  898. color: #fff;
  899. text-decoration: none;
  900. }
  901. .nav .active > a {
  902. background-color: #222;
  903. background-color: rgba(0, 0, 0, 0.5);
  904. }
  905. .nav a.menu:hover {
  906. background: #444;
  907. background: rgba(255, 255, 255, 0.05);
  908. }
  909. .nav .dropdown-menu {
  910. background-color: #333;
  911. }
  912. .nav .dropdown-menu a.menu {
  913. color: #fff;
  914. }
  915. .nav .dropdown-menu li a {
  916. color: #999;
  917. text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  918. }
  919. .nav .dropdown-menu li a:hover {
  920. background-color: #191919;
  921. background-repeat: repeat-x;
  922. background-image: linear-gradient(to bottom, #292929, #191919);
  923. color: #fff;
  924. }
  925. .nav .dropdown-menu .active a {
  926. color: #fff;
  927. }
  928. .nav .dropdown-menu li a {
  929. padding: 4px 15px;
  930. }
  931. li.menu, .dropdown {
  932. position: relative;
  933. }
  934. a.menu:after {
  935. width: 0;
  936. height: 0;
  937. display: inline-block;
  938. content: "&darr;";
  939. text-indent: -99999px;
  940. vertical-align: top;
  941. margin-top: 8px;
  942. margin-left: 4px;
  943. border-left: 4px solid transparent;
  944. border-right: 4px solid transparent;
  945. border-top: 4px solid #fff;
  946. opacity: 0.5;
  947. }
  948. .dropdown-menu {
  949. background-color: #fff;
  950. float: left;
  951. position: absolute;
  952. top: 40px;
  953. left: -9999px;
  954. z-index: 900;
  955. min-width: 160px;
  956. max-width: 220px;
  957. margin-left: 0;
  958. margin-right: 0;
  959. padding: 6px 0;
  960. zoom: 1;
  961. border-color: #999;
  962. border-color: rgba(0, 0, 0, 0.2);
  963. border-style: solid;
  964. border-width: 0 1px 1px;
  965. border-radius: 0 0 6px 6px;
  966. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  967. background-clip: padding-box;
  968. }
  969. .dropdown-menu li {
  970. float: none;
  971. display: block;
  972. background-color: transparent;
  973. }
  974. .dropdown-menu a {
  975. display: block;
  976. padding: 4px 15px;
  977. clear: both;
  978. font-weight: normal;
  979. line-height: 18px;
  980. color: #808080;
  981. text-shadow: 0 1px 0 #fff;
  982. }
  983. .dropdown-menu a:hover {
  984. background-color: #ddd;
  985. background-repeat: repeat-x;
  986. background-image: linear-gradient(to bottom, #eee, #ddd);
  987. color: #404040;
  988. text-decoration: none;
  989. box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.025), inset 0 -1px rgba(0, 0, 0, 0.025);
  990. }
  991. .dropdown:hover ul.dropdown-menu {
  992. left: 0;
  993. }
  994. .dropdown-menu .dropdown-menu {
  995. position: absolute;
  996. left: 159px;
  997. }
  998. .dropdown-menu li {
  999. position: relative;
  1000. }
  1001. .tabs, .cbi-tabmenu {
  1002. --tab-bar-background-color: var(--background-color-high);
  1003. --tab-inactive-background-color-h: var(--border-color-low-h);
  1004. --tab-inactive-background-color-s: var(--border-color-low-s);
  1005. --tab-inactive-background-color-l: var(--border-color-low-l);
  1006. --tab-inactive-background-color: var(--border-color-low);
  1007. --tab-inactive-border-color: var(--border-color-medium);
  1008. --tab-inactive-text-color-delta-l: calc(85 / 255 * 100%);
  1009. --tab-inactive-text-color-l: calc(var(--tab-inactive-background-color-l) + var(--background-color-delta-l-sign) * var(--tab-inactive-text-color-delta-l));
  1010. --tab-inactive-text-color: hsl(var(--tab-inactive-background-color-hsl));
  1011. --tab-inactive-hover-background-color: var(--background-color-high);
  1012. --tab-active-background-color: var(--background-color-high);
  1013. --tab-active-text-color: #0069d6;
  1014. --tab-active-border-color: var(--border-color-medium);
  1015. margin: 0 -5px 18px;
  1016. padding: 0 2px;
  1017. list-style: none;
  1018. display: flex;
  1019. flex-wrap: wrap;
  1020. background: linear-gradient(var(--tab-bar-background-color) 28px, var(--tab-inactive-border-color) 28px);
  1021. background-size: 1px 29px;
  1022. background-position: left bottom;
  1023. }
  1024. .tabs > li, .cbi-tabmenu > li {
  1025. flex: 0 1 auto;
  1026. display: flex;
  1027. align-items: center;
  1028. height: 25px;
  1029. max-width: 48%;
  1030. margin: 4px 2px 0 2px;
  1031. background: var(--tab-active-background-color);
  1032. border: 1px solid var(--tab-active-border-color);
  1033. border-bottom: none;
  1034. border-radius: 4px 4px 0 0;
  1035. color: var(--primary-color-high);
  1036. }
  1037. .tabs > li > a, .cbi-tabmenu > li > a {
  1038. padding: 4px 6px;
  1039. white-space: nowrap;
  1040. overflow: hidden;
  1041. text-overflow: ellipsis;
  1042. color: inherit;
  1043. text-decoration: none;
  1044. border-radius: 4px 4px 0 0;
  1045. line-height: 25px;
  1046. outline: none;
  1047. }
  1048. .tabs > li > a:focus-visible, .cbi-tabmenu > li > a:focus-visible {
  1049. text-decoration: underline;
  1050. }
  1051. .tabs > li:not(.active):hover, .cbi-tabmenu > .cbi-tab-disabled:hover {
  1052. background: linear-gradient(var(--tab-inactive-hover-background-color) 90%, var(--tab-inactive-border-color) 100%);
  1053. }
  1054. .tabs > li:not(.active), .cbi-tabmenu > .cbi-tab-disabled {
  1055. color: var(--tab-inactive-text-color);
  1056. background: linear-gradient(var(--tab-inactive-background-color) 90%, var(--tab-inactive-border-color) 100%);
  1057. }
  1058. .cbi-tab-disabled[data-errors]::after {
  1059. content: attr(data-errors);
  1060. background: #c43c35;
  1061. color: #fff;
  1062. height: 16px;
  1063. min-width: 16px;
  1064. border-radius: 8px;
  1065. text-align: center;
  1066. margin: 0 5px 0 0;
  1067. padding: 3px 2px 1px 2px;
  1068. display: inline-flex;
  1069. flex-direction: column;
  1070. justify-content: center;
  1071. font-size: 12px;
  1072. }
  1073. .cbi-tabmenu.map {
  1074. margin: 0;
  1075. }
  1076. .cbi-tabmenu.map > li {
  1077. font-size: 16.5px;
  1078. font-weight: bold;
  1079. }
  1080. .cbi-tab-descr {
  1081. margin: -9px 0 18px 0;
  1082. }
  1083. .tabs .menu-dropdown, .tabs .dropdown-menu {
  1084. top: 35px;
  1085. border-width: 1px;
  1086. border-radius: 0 6px 6px 6px;
  1087. }
  1088. .tabs a.menu:after, .tabs .dropdown-toggle:after {
  1089. border-top-color: #999;
  1090. margin-top: 15px;
  1091. margin-left: 5px;
  1092. }
  1093. .tabs li.open.menu .menu, .tabs .open.dropdown .dropdown-toggle {
  1094. border-color: #999;
  1095. }
  1096. .tabs li.open a.menu:after, .tabs .dropdown.open .dropdown-toggle:after {
  1097. border-top-color: #555;
  1098. }
  1099. .tab-content > .tab-pane,
  1100. .tab-content > div {
  1101. display: none;
  1102. }
  1103. .tab-content > .active {
  1104. display: block;
  1105. }
  1106. .breadcrumb {
  1107. padding: 7px 14px;
  1108. margin: 0 0 18px;
  1109. background: linear-gradient(to bottom, var(--background-color-high), var(--background-color-low));
  1110. border: 1px solid var(--border-color-medium);
  1111. border-radius: 3px;
  1112. display: flex;
  1113. flex: 0;
  1114. }
  1115. .breadcrumb li {
  1116. list-style: none;
  1117. }
  1118. .breadcrumb li:not(:last-child)::after {
  1119. content: "|";
  1120. padding: 0 5px;
  1121. }
  1122. .breadcrumb .active a {
  1123. color: var(--text-color-medium);
  1124. }
  1125. footer {
  1126. padding-top: 17px;
  1127. margin-top: auto;
  1128. border-top: 1px solid var(--border-color-low);
  1129. display: flex;
  1130. flex-wrap: wrap;
  1131. align-items: baseline;
  1132. justify-content: space-between;
  1133. font-size: 12px;
  1134. color: var(--text-color-medium);
  1135. /* the redundant properties below work around a csstidy bug */
  1136. padding-left: calc((100% - 940px) / 2);
  1137. padding-right: calc((100% - 940px) / 2);
  1138. }
  1139. footer a {
  1140. color: var(--primary-color-low);
  1141. }
  1142. footer span {
  1143. margin-bottom: 1em;
  1144. }
  1145. footer ul.breadcrumb {
  1146. margin-left: auto;
  1147. }
  1148. #modal_overlay {
  1149. position: fixed;
  1150. top: 0;
  1151. bottom: 0;
  1152. background: rgba(0, 0, 0, 0.7);
  1153. z-index: 900;
  1154. overflow: auto;
  1155. transition: opacity .125s ease-in;
  1156. opacity: 0;
  1157. visibility: hidden;
  1158. }
  1159. .modal {
  1160. width: 90%;
  1161. margin: 5em auto;
  1162. min-height: 32px;
  1163. max-width: 600px;
  1164. border-radius: 3px;
  1165. background: var(--background-color-high);
  1166. border: 1px solid var(--border-color-low);
  1167. box-shadow: 0 0 3px var(--background-color-low);
  1168. padding: 1em 1em .5em 1em;
  1169. min-width: 270px;
  1170. }
  1171. .modal > * {
  1172. line-height: normal;
  1173. margin-bottom: .5em;
  1174. max-width: 100%;
  1175. }
  1176. .modal > pre,
  1177. .modal > textarea {
  1178. white-space: pre-wrap;
  1179. overflow: auto;
  1180. width: 100%;
  1181. }
  1182. body.modal-overlay-active {
  1183. overflow: hidden;
  1184. height: 100vh;
  1185. }
  1186. body.modal-overlay-active #modal_overlay {
  1187. left: 0;
  1188. right: 0;
  1189. opacity: 1;
  1190. visibility: visible;
  1191. }
  1192. .btn .close, .alert-message .close {
  1193. font-family: Arial, sans-serif;
  1194. line-height: 18px;
  1195. }
  1196. .btn.danger,
  1197. .alert-message.danger,
  1198. .btn.error,
  1199. .alert-message.error,
  1200. .cbi-tooltip.error {
  1201. background: linear-gradient(var(--error-color-low), var(--error-color-medium));
  1202. color: var(--on-error-color);
  1203. border-color: var(--error-color-high) var(--error-color-high) var(--error-color-low);
  1204. }
  1205. .btn.success, .alert-message.success, .cbi-tooltip.success {
  1206. background: linear-gradient(var(--success-color-low), var(--success-color-medium));
  1207. color: var(--on-error-color);
  1208. border-color: var(--success-color-high) var(--success-color-high) var(--success-color-low);
  1209. }
  1210. .btn.info, .alert-message.info, .cbi-tooltip.info {
  1211. background: linear-gradient(var(--primary-color-low), var(--primary-color-medium));
  1212. color: var(--on-primary-color);
  1213. border-color: var(--primary-color-high) var(--primary-color-high) var(--primary-color-low);
  1214. }
  1215. .alert-message.notice, .cbi-tooltip.notice {
  1216. background: linear-gradient(var(--background-color-low), var(--background-color-medium));
  1217. border-color: var(--background-color-high) var(--background-color-high) var(--background-color-low);
  1218. color: var(--text-color-high);
  1219. }
  1220. .alert-message.warning {
  1221. background: linear-gradient(var(--warn-color-low), var(--warn-color-medium));
  1222. border-color: var(--warn-color-high) var(--warn-color-high) var(--warn-color-low);
  1223. color: var(--on-warn-color);
  1224. }
  1225. .modal.alert-message {
  1226. color: var(--text-color-high);
  1227. }
  1228. .item::after,
  1229. .btn,
  1230. .cbi-button {
  1231. --default-btn-background: linear-gradient(var(--background-color-high), var(--background-color-high) 25%, var(--background-color-low));
  1232. --on-color: var(--text-color-high);
  1233. cursor: pointer;
  1234. display: inline-block;
  1235. background: var(--default-btn-background);
  1236. padding: 0 14px;
  1237. color: var(--on-color);
  1238. font-size: 13px;
  1239. line-height: 2em;
  1240. border: 1px solid var(--border-color-high);
  1241. border-radius: 4px;
  1242. white-space: pre;
  1243. }
  1244. .cbi-input-invalid,
  1245. .cbi-input-invalid.cbi-dropdown:not(.btn):not(.cbi-button),
  1246. .cbi-input-invalid.cbi-dropdown:not([open]) > ul > li,
  1247. .cbi-value-error input {
  1248. color: var(--error-color-high);
  1249. border-color: var(--error-color-medium);
  1250. }
  1251. .cbi-button-positive,
  1252. .cbi-button-fieldadd,
  1253. .cbi-button-add,
  1254. .cbi-button-save {
  1255. --on-color: var(--success-color-high);
  1256. border-color: var(--on-color);
  1257. }
  1258. .cbi-button-neutral,
  1259. .cbi-button-download,
  1260. .cbi-button-find,
  1261. .cbi-button-link,
  1262. .cbi-button-up,
  1263. .cbi-button-down {
  1264. color: var(--text-color-high);
  1265. }
  1266. .btn.primary,
  1267. .cbi-button-action,
  1268. .cbi-button-apply,
  1269. .cbi-button-reload,
  1270. .cbi-button-edit {
  1271. --on-color: var(--primary-color-high);
  1272. border-color: var(--on-color);
  1273. }
  1274. .cbi-button-negative,
  1275. .cbi-section-remove .cbi-button,
  1276. .cbi-button-reset,
  1277. .cbi-button-remove {
  1278. --on-color: var(--error-color-high);
  1279. border-color: var(--on-color);
  1280. }
  1281. .cbi-page-actions::after {
  1282. display: table;
  1283. content: "";
  1284. clear: both;
  1285. }
  1286. .cbi-page-actions > * {
  1287. vertical-align: middle;
  1288. }
  1289. .cbi-page-actions > :not([method="post"]):not(.cbi-button-apply):not(.cbi-button-negative):not(.cbi-button-save):not(.cbi-button-reset) {
  1290. float: left;
  1291. margin-right: .4em;
  1292. }
  1293. .btn.primary,
  1294. .cbi-button-action.important,
  1295. .cbi-page-actions .cbi-button-apply,
  1296. .cbi-section-actions .cbi-button-edit {
  1297. --on-color: var(--on-primary-color);
  1298. background: linear-gradient(var(--primary-color-medium), var(--primary-color-low));
  1299. border-color: var(--primary-color-high);
  1300. }
  1301. .cbi-button-positive.important,
  1302. .cbi-page-actions .cbi-button-save {
  1303. --on-color: var(--on-success-color);
  1304. background: linear-gradient(var(--success-color-medium), var(--success-color-low));
  1305. border-color: var(--success-color-high);
  1306. }
  1307. .cbi-button-negative.important {
  1308. --on-color: var(--on-error-color);
  1309. background: linear-gradient(var(--error-color-medium), var(--error-color-low));
  1310. border-color: var(--error-color-high);
  1311. }
  1312. .cbi-page-actions .cbi-button-apply + .cbi-button-save,
  1313. .cbi-page-actions .cbi-button-negative + .cbi-button-save {
  1314. --on-color: var(--success-color-high);
  1315. border-color: var(--on-color);
  1316. background: var(--default-btn-background);
  1317. }
  1318. .cbi-dropdown {
  1319. display: inline-flex !important;
  1320. cursor: pointer;
  1321. height: auto;
  1322. position: relative;
  1323. padding: 0 !important;
  1324. }
  1325. .cbi-dropdown:not(.btn):not(.cbi-button) {
  1326. background: linear-gradient(var(--background-color-high) 0%, var(--border-color-low) 100%);
  1327. border: 1px solid var(--border-color-high);
  1328. border-radius: 3px;
  1329. color: var(--text-color-high);
  1330. }
  1331. .cbi-dropdown > ul {
  1332. margin: 0 !important;
  1333. padding: 0;
  1334. list-style: none;
  1335. overflow-x: hidden;
  1336. overflow-y: hidden;
  1337. display: flex;
  1338. width: 100%;
  1339. }
  1340. .cbi-dropdown.btn > ul:not(.dropdown),
  1341. .cbi-dropdown.cbi-button > ul:not(.dropdown) {
  1342. margin: 0 0 0 13px !important;
  1343. }
  1344. .cbi-dropdown.btn.spinning > ul:not(.dropdown),
  1345. .cbi-dropdown.cbi-button.spinning > ul:not(.dropdown) {
  1346. margin: 0 !important;
  1347. }
  1348. .cbi-dropdown > ul.preview {
  1349. display: none;
  1350. }
  1351. .cbi-dropdown > .open,
  1352. .cbi-dropdown > .more {
  1353. flex-grow: 0;
  1354. flex-shrink: 0;
  1355. display: flex;
  1356. flex-direction: column;
  1357. justify-content: center;
  1358. text-align: center;
  1359. line-height: 2em;
  1360. padding: 0 .3em;
  1361. }
  1362. .cbi-dropdown.btn > .open,
  1363. .cbi-dropdown.cbi-button > .open {
  1364. padding: 0 .5em;
  1365. margin-left: .5em;
  1366. border-left: 1px solid;
  1367. }
  1368. .cbi-dropdown > .more,
  1369. .cbi-dropdown:not(.btn):not(.cbi-button) > ul > li[placeholder] {
  1370. color: var(--text-color-medium);
  1371. display: none;
  1372. }
  1373. .cbi-dropdown > ul > li {
  1374. display: none;
  1375. white-space: nowrap;
  1376. overflow: hidden;
  1377. text-overflow: ellipsis;
  1378. flex-shrink: 1;
  1379. flex-grow: 1;
  1380. align-items: center;
  1381. align-self: center;
  1382. color: inherit;
  1383. }
  1384. .cbi-dropdown > ul.dropdown > li,
  1385. .cbi-dropdown:not(.btn):not(.cbi-button) > ul > li {
  1386. min-height: 20px;
  1387. padding: .25em;
  1388. color: var(--text-color-high);
  1389. }
  1390. .cbi-dropdown > ul > li .hide-open { display: block; display: initial; }
  1391. .cbi-dropdown > ul > li .hide-close { display: none; }
  1392. .cbi-dropdown > ul > li[display]:not([display="0"]) {
  1393. border-left: 1px solid var(--border-color-high);
  1394. }
  1395. .cbi-dropdown[empty] > ul {
  1396. max-width: 1px;
  1397. }
  1398. .cbi-dropdown > ul > li > form {
  1399. display: none;
  1400. margin: 0;
  1401. padding: 0;
  1402. pointer-events: none;
  1403. }
  1404. .cbi-dropdown > ul > li img {
  1405. vertical-align: middle;
  1406. margin-right: .25em;
  1407. }
  1408. .cbi-dropdown > ul > li > form > input[type="checkbox"] {
  1409. margin: 0 .25em 0 0;
  1410. }
  1411. .cbi-dropdown > ul > li input[type="text"] {
  1412. height: 20px;
  1413. }
  1414. .cbi-dropdown[open] {
  1415. position: relative;
  1416. }
  1417. .cbi-dropdown[open] > ul.dropdown {
  1418. display: block;
  1419. background: var(--background-color-low);
  1420. border: 1px solid #918e8c;
  1421. box-shadow: 0 0 4px #918e8c;
  1422. position: absolute;
  1423. z-index: 1100;
  1424. max-width: none;
  1425. min-width: 100%;
  1426. width: auto;
  1427. transition: max-height .125s ease-in;
  1428. overflow-y: auto;
  1429. }
  1430. .cbi-dropdown > ul > li[display],
  1431. .cbi-dropdown[open] > ul.preview,
  1432. .cbi-dropdown[open] > ul.dropdown > li,
  1433. .cbi-dropdown[multiple] > ul > li > label,
  1434. .cbi-dropdown[multiple][open] > ul.dropdown > li,
  1435. .cbi-dropdown[multiple][more] > .more,
  1436. .cbi-dropdown[multiple][empty] > .more {
  1437. flex-grow: 1;
  1438. display: flex !important;
  1439. }
  1440. .cbi-dropdown[empty] > ul > li,
  1441. .cbi-dropdown[optional][open] > ul.dropdown > li[placeholder] {
  1442. display: block !important;
  1443. }
  1444. .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
  1445. display: flex !important;
  1446. }
  1447. .cbi-dropdown[open] > ul.dropdown > li .hide-open { display: none; }
  1448. .cbi-dropdown[open] > ul.dropdown > li .hide-close { display: block; display: initial; }
  1449. .cbi-dropdown[open] > ul.dropdown > li {
  1450. border-bottom: 1px solid var(--border-color-high);
  1451. }
  1452. .cbi-dropdown[open] > ul.dropdown > li[selected] {
  1453. background: var(--primary-color-medium);
  1454. color: var(--on-primary-color);
  1455. }
  1456. .cbi-dropdown[open] > ul.dropdown > li.focus {
  1457. background: var(--primary-color-low);
  1458. color: var(--on-primary-color);
  1459. }
  1460. .cbi-dropdown[open] > ul.dropdown > li[selected].focus {
  1461. background: linear-gradient(90deg, var(--primary-color-medium) 50%, var(--primary-color-low));
  1462. }
  1463. .cbi-dropdown[open] > ul.dropdown > li:last-child {
  1464. margin-bottom: 0;
  1465. border-bottom: none;
  1466. }
  1467. .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
  1468. opacity: 0.7;
  1469. }
  1470. .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
  1471. width: 100%;
  1472. }
  1473. .cbi-title-ref {
  1474. color: #37c;
  1475. }
  1476. .cbi-title-ref::after {
  1477. content: "➙";
  1478. }
  1479. .cbi-tooltip-container {
  1480. cursor: help;
  1481. }
  1482. .cbi-tooltip {
  1483. position: absolute;
  1484. z-index: 1000;
  1485. left: -10000px;
  1486. box-shadow: 0 0 2px var(--border-color-high);
  1487. border-radius: 3px;
  1488. background: var(--background-color-high);
  1489. white-space: pre;
  1490. padding: 2px 5px;
  1491. opacity: 0;
  1492. transition: opacity .25s ease-in;
  1493. }
  1494. .cbi-tooltip-container:hover .cbi-tooltip:not(:empty) {
  1495. left: auto;
  1496. opacity: 1;
  1497. transition: opacity .25s ease-in;
  1498. }
  1499. .cbi-progressbar {
  1500. border: 1px solid var(--border-color-high);
  1501. border-radius: 3px;
  1502. position: relative;
  1503. min-width: 170px;
  1504. height: 8px;
  1505. margin: 1.4em 0 4px 0;
  1506. background: var(--background-color-medium);
  1507. }
  1508. .cbi-progressbar > div {
  1509. background: var(--primary-color-medium);
  1510. height: 100%;
  1511. transition: width .25s ease-in;
  1512. width: 0%;
  1513. border-radius: 2px;
  1514. }
  1515. .cbi-progressbar::before {
  1516. position: absolute;
  1517. top: -1.4em;
  1518. left: 0;
  1519. content: attr(title);
  1520. white-space: pre;
  1521. overflow: hidden;
  1522. text-overflow: ellipsis;
  1523. }
  1524. .zonebadge .cbi-tooltip {
  1525. padding: 1px;
  1526. background: inherit;
  1527. margin: -1.6em 0 0 -5px;
  1528. border-radius: 3px;
  1529. pointer-events: none;
  1530. box-shadow: 0 0 3px #444;
  1531. }
  1532. .zonebadge .cbi-tooltip > * {
  1533. margin: 1px;
  1534. z-index: 2;
  1535. position: relative;
  1536. }
  1537. .zone-forwards {
  1538. display: flex;
  1539. flex-wrap: wrap;
  1540. }
  1541. .zone-forwards > * {
  1542. flex: 1 1 40%;
  1543. padding: 1px;
  1544. }
  1545. .zone-forwards > span {
  1546. flex-basis: 10%;
  1547. text-align: center;
  1548. }
  1549. .zone-forwards .zone-src,
  1550. .zone-forwards .zone-dest {
  1551. display: flex;
  1552. flex-direction: column;
  1553. }
  1554. .btn.active, .btn:active {
  1555. box-shadow: inset 0 2px 4px hsla(var(--border-color-low-hsl), .25), 0 1px 2px rgba(0, 0, 0, 0.05);
  1556. }
  1557. .btn.disabled,
  1558. .btn[disabled] {
  1559. cursor: default;
  1560. opacity: var(--disabled-opacity);
  1561. box-shadow: none;
  1562. }
  1563. .btn.large {
  1564. font-size: 15px;
  1565. line-height: normal;
  1566. padding: 9px 14px 9px;
  1567. border-radius: 6px;
  1568. }
  1569. .btn.small {
  1570. padding: 7px 9px 7px;
  1571. font-size: 11px;
  1572. }
  1573. button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
  1574. padding: 0;
  1575. border: 0;
  1576. }
  1577. .close {
  1578. float: right;
  1579. color: #000;
  1580. font-size: 20px;
  1581. font-weight: bold;
  1582. line-height: 13.5px;
  1583. text-shadow: 0 1px 0 #fff;
  1584. opacity: 0.25;
  1585. }
  1586. .close:hover {
  1587. color: #000;
  1588. text-decoration: none;
  1589. opacity: 0.4;
  1590. }
  1591. .alert-message {
  1592. position: relative;
  1593. padding: .5em .5em .25em .5em;
  1594. margin-bottom: .5em;
  1595. color: var(--on-warn-color);
  1596. background: linear-gradient(#fceec1, #eedc94);
  1597. border: 1px solid var(--border-color-low);
  1598. border-color: var(--border-color-high) var(--border-color-high) var(--border-color-low);
  1599. border-radius: 4px;
  1600. box-shadow: 1px 1px 1px var(--border-color-low);
  1601. white-space: unset;
  1602. }
  1603. .alert-message .close {
  1604. margin-top: 1px;
  1605. }
  1606. .alert-message h4,
  1607. .alert-message h5,
  1608. .alert-message pre,
  1609. .alert-message ul,
  1610. .alert-message li,
  1611. .alert-message p {
  1612. color: inherit;
  1613. border: none;
  1614. line-height: inherit;
  1615. background: transparent;
  1616. padding: 0;
  1617. margin: .25em 0;
  1618. }
  1619. .alert-message button {
  1620. margin: .25em 0;
  1621. }
  1622. .label,
  1623. header [data-indicator] {
  1624. padding: 3px 3px 2px;
  1625. font-size: 9.75px;
  1626. font-weight: bold;
  1627. color: var(--text-color-high);
  1628. text-transform: uppercase;
  1629. white-space: nowrap;
  1630. background-color: var(--background-color-low);
  1631. border-radius: 3px;
  1632. text-shadow: none;
  1633. margin: .125em 0 .125em .4em;
  1634. }
  1635. header [data-indicator][data-clickable] {
  1636. cursor: pointer;
  1637. }
  1638. a.label:link,
  1639. a.label:visited {
  1640. color: #fff;
  1641. }
  1642. a.label:hover {
  1643. text-decoration: none;
  1644. }
  1645. .label.important {
  1646. background-color: var(--primary-color-high);
  1647. color: var(--on-primary-color);
  1648. }
  1649. .label.warning {
  1650. background-color: var(--warn-color-high);
  1651. color: var(--on-warn-color);
  1652. }
  1653. .label.success {
  1654. background-color: var(--success-color-high);
  1655. color: var(--on-success-color);
  1656. }
  1657. .label.notice,
  1658. header [data-indicator][data-style="active"] {
  1659. color: var(--on-primary-color);
  1660. background-color: var(--primary-color-high);
  1661. }
  1662. /* LuCI specific items */
  1663. .hidden { display: none }
  1664. form.inline { display: inline; margin-bottom: 0; }
  1665. #modemenu li:last-child span.divider { display: none }
  1666. #syslog {
  1667. width: 100%;
  1668. color: var(--text-color-highest);
  1669. margin-bottom: 18px;
  1670. font-family: monospace;
  1671. }
  1672. .cbi-section-table .tr:hover .td,
  1673. .cbi-section-table .tr:hover .th,
  1674. .cbi-section-table .tr:hover::before {
  1675. background-color: var(--background-color-low);
  1676. }
  1677. .cbi-section-table .tr.cbi-section-table-descr .th {
  1678. font-weight: normal;
  1679. }
  1680. .cbi-section-table-titles.named::before,
  1681. .cbi-section-table-descr.named::before,
  1682. .cbi-section-table-row[data-title]::before {
  1683. content: attr(data-title) " ";
  1684. display: table-cell;
  1685. padding: 10px 10px 9px;
  1686. line-height: 18px;
  1687. font-weight: bold;
  1688. vertical-align: middle;
  1689. }
  1690. .cbi-section-table-titles.named::before,
  1691. .cbi-section-table-descr.named::before,
  1692. .cbi-section-table-row[data-title]::before {
  1693. border-top: 1px solid var(--border-color-medium);
  1694. }
  1695. .left { text-align: left !important; }
  1696. .right { text-align: right !important; }
  1697. .center { text-align: center !important; }
  1698. .top { vertical-align: top !important; }
  1699. .middle { vertical-align: middle !important; }
  1700. .bottom { vertical-align: bottom !important; }
  1701. table table td,
  1702. .cbi-value-field table td {
  1703. border: none;
  1704. }
  1705. .table.cbi-section-table input[type="password"],
  1706. .table.cbi-section-table input[type="text"],
  1707. .table.cbi-section-table textarea,
  1708. .table.cbi-section-table select,
  1709. .table.cbi-section-table .cbi-select {
  1710. width: 100%;
  1711. min-width: auto;
  1712. }
  1713. .table.cbi-section-table .td.cbi-section-table-cell {
  1714. white-space: nowrap;
  1715. text-align: right;
  1716. }
  1717. .table.cbi-section-table .td.cbi-section-table-cell select,
  1718. .table.cbi-section-table .td.cbi-section-table-cell .cbi-select {
  1719. width: inherit;
  1720. }
  1721. .td.cbi-section-actions {
  1722. text-align: right;
  1723. vertical-align: middle;
  1724. width: 15%;
  1725. }
  1726. .td.cbi-section-actions > * {
  1727. display: flex;
  1728. }
  1729. .td.cbi-section-actions > :not(.cbi-dropdown) > *,
  1730. .td.cbi-section-actions > * > form > * {
  1731. flex: 1 1 4em;
  1732. margin: 0 1px;
  1733. }
  1734. .td.cbi-section-actions > * > form {
  1735. display: inline-flex;
  1736. margin: 0;
  1737. }
  1738. .table.valign-middle .td {
  1739. vertical-align: middle;
  1740. }
  1741. .cbi-rowstyle-2,
  1742. .tr.table-titles,
  1743. .tr.cbi-section-table-titles {
  1744. background: var(--background-color-medium);
  1745. }
  1746. th[data-sortable-row] { cursor: pointer; }
  1747. th[data-sort-direction="asc"]::after { content: "\a0\25b2"; }
  1748. th[data-sort-direction="desc"]::after { content: "\a0\25bc"; }
  1749. .cbi-value-description {
  1750. margin: .25em 0 0 1.25em;
  1751. position: relative;
  1752. }
  1753. .cbi-value-description:not(:empty)::before {
  1754. --help-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20'><path d='M10 0A10 10 0 000 10a10 10 0 0010 10 10 10 0 0010-10A10 10 0 0010 0zm1 17H9v-2h2v2zm2.1-7.7l-.9.9c-.8.7-1.2 1.3-1.2 2.8H9v-.5c0-1.1.4-2.1 1.2-2.8l1.2-1.3c.4-.3.6-.8.6-1.4a2 2 0 00-2-2 2 2 0 00-2 2H6a4 4 0 014-4 4 4 0 014 4c0 .9-.4 1.7-.9 2.3z'/></svg>");
  1755. position: absolute;
  1756. left: -1.25em;
  1757. content: "\a0";
  1758. display: inline-block;
  1759. width: 1em;
  1760. height: 1em;
  1761. margin-right: .25em;
  1762. background: var(--primary-color-high);
  1763. mask-image: var(--help-icon);
  1764. mask-size: cover;
  1765. -webkit-mask-image: var(--help-icon);
  1766. -webkit-mask-size: cover;
  1767. }
  1768. .cbi-section-error {
  1769. border: 1px solid #f00;
  1770. border-radius: 3px;
  1771. background-color: #fce6e6;
  1772. padding: 5px;
  1773. margin-bottom: 18px;
  1774. }
  1775. .cbi-section-error ul { margin: 0 0 0 20px; }
  1776. .cbi-section-error ul li {
  1777. color: #f00;
  1778. font-weight: bold;
  1779. }
  1780. .ifacebox {
  1781. border: 1px solid var(--border-color-high);
  1782. margin: 0 10px;
  1783. text-align: center;
  1784. white-space: nowrap;
  1785. background: linear-gradient(var(--background-color-high), var(--background-color-medium));
  1786. border-radius: 4px;
  1787. box-shadow: inset 0 1px 0 hsla(var(--text-color-low-hsl), 0.05);
  1788. display: inline-flex;
  1789. flex-direction: column;
  1790. line-height: 1.2em;
  1791. min-width: 100px;
  1792. }
  1793. .ifacebox .ifacebox-head {
  1794. border-bottom: 1px solid var(--border-color-high);
  1795. border-radius: 3px 3px 0 0;
  1796. padding: 2px;
  1797. background: #eee;
  1798. color: var(--text-color-high);
  1799. }
  1800. .ifacebox .ifacebox-head[style] {
  1801. text-shadow: 0 1px 1px hsla(var(--background-color-high-hsl), 0.75);
  1802. }
  1803. .ifacebox .ifacebox-head.active {
  1804. background: var(--primary-color-high);
  1805. color: var(--on-primary-color);
  1806. }
  1807. [data-darkmode="true"] .zonebadge[style],
  1808. [data-darkmode="true"] .ifacebox-head[style] {
  1809. background: linear-gradient(rgba(var(--zone-color-rgb), .4), rgba(var(--zone-color-rgb), .3)) !important;
  1810. }
  1811. .ifacebox .ifacebox-body {
  1812. padding: .25em;
  1813. }
  1814. .ifacebadge {
  1815. display: inline-block;
  1816. flex-direction: row;
  1817. white-space: nowrap;
  1818. border: 1px solid var(--border-color-high);
  1819. padding: 2px;
  1820. background: linear-gradient(var(--background-color-high), var(--background-color-high) 25%, var(--background-color-medium));
  1821. color: var(--text-color-high);
  1822. text-shadow: 0 1px 1px hsla(var(--background-color-high-hsl), 0.75);
  1823. border-radius: 4px;
  1824. box-shadow: inset 0 1px 0 hsla(var(--background-color-high-hsl), 0.05);
  1825. cursor: default;
  1826. line-height: 1.2em;
  1827. }
  1828. .ifacebadge img {
  1829. width: 16px;
  1830. height: 16px;
  1831. vertical-align: middle;
  1832. }
  1833. .ifacebadge-active {
  1834. border-color: #000;
  1835. font-weight: bold;
  1836. }
  1837. .network-status-table {
  1838. display: flex;
  1839. flex-wrap: wrap;
  1840. }
  1841. .network-status-table .ifacebox {
  1842. margin: .5em;
  1843. flex-grow: 1;
  1844. }
  1845. .network-status-table .ifacebox-body {
  1846. display: flex;
  1847. flex-direction: column;
  1848. height: 100%;
  1849. text-align: left;
  1850. }
  1851. .network-status-table .ifacebox-body > * {
  1852. margin: .25em;
  1853. }
  1854. .network-status-table .ifacebox-body > span {
  1855. flex: 10 10 auto;
  1856. height: 100%;
  1857. }
  1858. .network-status-table .ifacebox-body > div {
  1859. margin: -.125em;
  1860. display: flex;
  1861. flex-wrap: wrap;
  1862. }
  1863. #dsl_status_table .ifacebox-body span > strong {
  1864. display: inline-block;
  1865. min-width: 35%;
  1866. }
  1867. .ifacebadge.large,
  1868. .network-status-table .ifacebox-body .ifacebadge {
  1869. display: flex;
  1870. flex: 1;
  1871. padding: .25em;
  1872. min-width: 220px;
  1873. margin: .125em;
  1874. }
  1875. .ifacebadge.large {
  1876. display: inline-flex;
  1877. }
  1878. .network-status-table .ifacebox-body .ifacebadge > span {
  1879. overflow: hidden;
  1880. text-overflow: ellipsis;
  1881. }
  1882. .ifacebadge > *,
  1883. .ifacebadge.large > * {
  1884. margin: 0 .125em;
  1885. }
  1886. .zonebadge {
  1887. padding: 2px;
  1888. border-radius: 4px;
  1889. display: inline-block;
  1890. white-space: nowrap;
  1891. color: var(--text-color-high);
  1892. text-shadow: 0 1px 1px hsla(var(--background-color-high-hsl), 0.75);
  1893. }
  1894. .zonebadge > em,
  1895. .zonebadge > strong {
  1896. margin: 0 2px;
  1897. display: inline-block;
  1898. }
  1899. .zonebadge input {
  1900. width: 6em;
  1901. }
  1902. .zonebadge > .ifacebadge {
  1903. margin-left: 2px;
  1904. }
  1905. .zonebadge-empty {
  1906. border: 1px dashed #aaa;
  1907. color: #aaa;
  1908. font-style: italic;
  1909. font-size: smaller;
  1910. }
  1911. div.cbi-value var,
  1912. .td.cbi-value-field var {
  1913. font-style: italic;
  1914. color: #0069d6;
  1915. }
  1916. div.cbi-value var[data-tooltip],
  1917. .td.cbi-value-field var[data-tooltip],
  1918. div.cbi-value var.cbi-tooltip-container,
  1919. .td.cbi-value-field var.cbi-tooltip-container {
  1920. cursor: help;
  1921. border-bottom: 1px dotted #0069d6;
  1922. }
  1923. div.cbi-value var.cbi-tooltip-container,
  1924. .td.cbi-value-field var.cbi-tooltip-container .cbi-tooltip {
  1925. font-style: normal;
  1926. white-space: normal;
  1927. color: var(--text-color-high);
  1928. }
  1929. #modal_overlay > .modal.uci-dialog,
  1930. #modal_overlay > .modal.cbi-modal {
  1931. max-width: 900px;
  1932. }
  1933. #modal_overlay > .modal.login > button.important {
  1934. font-size: 120% !important;
  1935. margin-top: .5em;
  1936. width: 100%;
  1937. }
  1938. .uci-change-list {
  1939. line-height: 170%;
  1940. white-space: pre;
  1941. }
  1942. .uci-dialog div > del,
  1943. .uci-dialog div > ins,
  1944. .uci-dialog div > var {
  1945. margin-bottom: 2px;
  1946. border: 1px solid var(--border-color-high);
  1947. line-height: 15px;
  1948. overflow: hidden;
  1949. text-overflow: ellipsis;
  1950. padding: 2px;
  1951. position: relative;
  1952. background-color: var(--background-color-low);
  1953. }
  1954. .uci-dialog div > ins {
  1955. background-color: rgba(var(--success-color-high-rgb), .3);
  1956. border-color: rgba(var(--success-color-high-rgb), .6);
  1957. }
  1958. .uci-dialog div > del {
  1959. background-color: rgba(var(--error-color-high-rgb), .3);
  1960. border-color: rgba(var(--error-color-high-rgb), .6);
  1961. }
  1962. .uci-dialog var > ins {
  1963. background-color: rgba(var(--success-color-high-rgb), .3);
  1964. }
  1965. .uci-dialog var > del {
  1966. background-color: rgba(var(--error-color-high-rgb), .3);
  1967. }
  1968. .uci-change-list > var > * {
  1969. overflow: hidden;
  1970. text-overflow: ellipsis;
  1971. }
  1972. .uci-dialog del,
  1973. .uci-dialog ins,
  1974. .uci-dialog var {
  1975. text-decoration: none;
  1976. font-family: monospace;
  1977. font-style: normal;
  1978. color: var(--text-color-high);
  1979. display: block;
  1980. }
  1981. .uci-change-legend {
  1982. display: flex;
  1983. flex-wrap: wrap;
  1984. }
  1985. .uci-change-legend-label {
  1986. flex-basis: 150px;
  1987. margin: 2px;
  1988. display: flex;
  1989. align-items: center;
  1990. }
  1991. .uci-change-legend-label > ins,
  1992. .uci-change-legend-label > del,
  1993. .uci-change-legend-label > var {
  1994. margin-right: 4px;
  1995. width: 16px;
  1996. height: 16px;
  1997. display: flex;
  1998. }
  1999. .uci-change-legend-label > * > * {
  2000. flex-basis: 100%;
  2001. padding: 1px;
  2002. }
  2003. #applyreboot-section {
  2004. line-height: 300%;
  2005. }
  2006. @keyframes flash {
  2007. 0% { opacity: 1; }
  2008. 50% { opacity: .5; }
  2009. 100% { opacity: 1; }
  2010. }
  2011. .flash {
  2012. animation: flash .35s;
  2013. }
  2014. #view > div.spinning:first-child {
  2015. display: table;
  2016. margin: 15vh auto;
  2017. }
  2018. .spinning {
  2019. position: relative;
  2020. padding-left: 32px !important;
  2021. }
  2022. .spinning::before {
  2023. --spinner-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' stroke='%23000' stroke-width='3' fill='none'><circle cx='10' cy='10' r='8' stroke-opacity='.5'/><path d='M10 2c4 0 8 4 8 8'><animateTransform attributeName='transform' type='rotate' dur='1s' from='0 10 10' to='360 10 10' repeatCount='indefinite'/></path></svg>");
  2024. position: absolute;
  2025. top: calc(50% - 10px);
  2026. left: 6px;
  2027. width: 20px;
  2028. height: 20px;
  2029. content: " ";
  2030. background: var(--on-color, #000);
  2031. mask: var(--spinner-icon) center/cover no-repeat;
  2032. -webkit-mask: var(--spinner-icon) center/cover no-repeat;
  2033. }
  2034. [data-darkmode="true"] .spinning::before {
  2035. background: var(--on-color, #fff);
  2036. }
  2037. [data-tab-title] {
  2038. height: 0;
  2039. opacity: 0;
  2040. overflow: hidden;
  2041. }
  2042. [data-tab-active="true"] {
  2043. opacity: 1;
  2044. height: auto;
  2045. overflow: visible;
  2046. transition: opacity .25s ease-in;
  2047. }
  2048. .cbi-filebrowser {
  2049. min-width: 210px;
  2050. max-width: 100%;
  2051. border: 1px solid #ccc;
  2052. border-radius: 3px;
  2053. display: flex;
  2054. flex-direction: column;
  2055. opacity: 0;
  2056. height: 0;
  2057. overflow: hidden;
  2058. }
  2059. .cbi-filebrowser.open {
  2060. opacity: 1;
  2061. height: auto;
  2062. overflow: visible;
  2063. transition: opacity .25s ease-in;
  2064. }
  2065. .cbi-filebrowser > * {
  2066. max-width: 100%;
  2067. overflow: hidden;
  2068. text-overflow: ellipsis;
  2069. padding: 0 0 .25em 0;
  2070. margin: .25em .25em 0px .25em;
  2071. white-space: nowrap;
  2072. border-bottom: 1px solid #ccc;
  2073. }
  2074. .cbi-filebrowser .cbi-button-positive {
  2075. margin-right: .25em;
  2076. }
  2077. .cbi-filebrowser > div {
  2078. border-bottom: none;
  2079. }
  2080. .cbi-filebrowser > ul > li {
  2081. display: flex;
  2082. flex-direction: row;
  2083. }
  2084. .cbi-filebrowser > ul > li:hover {
  2085. background: #f5f5f5;
  2086. }
  2087. .cbi-filebrowser > ul > li > div:first-child {
  2088. flex: 10;
  2089. overflow: hidden;
  2090. text-overflow: ellipsis;
  2091. }
  2092. .cbi-filebrowser > ul > li > div:last-child {
  2093. flex: 3;
  2094. text-align: right;
  2095. }
  2096. .cbi-filebrowser > ul > li > div:last-child > button {
  2097. padding: .125em .25em;
  2098. margin: 1px 0 1px .25em;
  2099. }
  2100. .cbi-filebrowser .upload {
  2101. display: flex;
  2102. flex-direction: row;
  2103. flex-wrap: wrap;
  2104. margin: 0 -.125em .25em -.125em;
  2105. padding: 0 0 .125em 0px;
  2106. border-bottom: 1px solid #ccc;
  2107. }
  2108. .cbi-filebrowser .upload > * {
  2109. margin: .125em;
  2110. flex: 1;
  2111. }
  2112. .cbi-filebrowser .upload > .btn {
  2113. flex-basis: 60px;
  2114. }
  2115. .cbi-filebrowser .upload > div {
  2116. flex: 10;
  2117. min-width: 150px;
  2118. }
  2119. .cbi-filebrowser .upload > div > input {
  2120. width: 100%;
  2121. }
  2122. @keyframes fade-in {
  2123. 0% { opacity: 0; }
  2124. 100% { opacity: 1; }
  2125. }
  2126. @keyframes fade-out {
  2127. 0% { opacity: 1; }
  2128. 100% { opacity: 0; }
  2129. }
  2130. .fade-in {
  2131. animation: fade-in .4s ease;
  2132. }
  2133. .fade-out {
  2134. animation: fade-out .4s ease;
  2135. }
  2136. .assoclist .ifacebadge {
  2137. display: flex;
  2138. flex-direction: column;
  2139. align-items: center;
  2140. white-space: normal;
  2141. text-align: center;
  2142. }
  2143. .assoclist .ifacebadge > img {
  2144. margin: .2em;
  2145. }
  2146. .assoclist .td:nth-of-type(3),
  2147. .assoclist .td:nth-of-type(5) {
  2148. width: 25%;
  2149. }
  2150. .assoclist .td:nth-of-type(6) button {
  2151. word-break: normal;
  2152. }
  2153. [data-darkmode="true"] [data-page="admin-statistics-graphs"] [data-plugin] img {
  2154. filter: invert(100%) hue-rotate(150deg);
  2155. }
  2156. [data-page="admin-system-admin-sshkeys"] .cbi-dynlist {
  2157. max-width: none;
  2158. }