cascade.css 53 KB

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