cascade.css 33 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035
  1. @charset "utf-8";
  2. .lang_he {
  3. direction: RTL;
  4. unicode-bidi: embed;
  5. }
  6. @media all {
  7. html {
  8. min-height: 100%;
  9. height: auto;
  10. position:relative;
  11. }
  12. body {
  13. color: #ffffff;
  14. background-color: #4a6b7c;
  15. background-position: bottom center;
  16. background-repeat: repeat-x;
  17. font-family: Arial, Verdana, sans-serif;
  18. font-size: 13px;
  19. padding-bottom: 1.5em;
  20. }
  21. * {
  22. margin: 0;
  23. padding: 0;
  24. box-sizing: border-box;
  25. }
  26. .table { display: table; width: 100%; position: relative; border-collapse: collapse; }
  27. .tr { display: table-row; }
  28. .thead { display: table-header-group; }
  29. .tbody { display: table-row-group; }
  30. .tfoot { display: table-footer-group; }
  31. .td, .th { display: table-cell; vertical-align: middle; }
  32. .th { font-weight: bold; }
  33. .table[width="33%"], .th[width="33%"], .td[width="33%"] { width: 33%; }
  34. .table[width="100%"], .th[width="100%"], .td[width="100%"] { width: 100%; }
  35. .col-1 { flex: 1 1 30px !important; -webkit-flex: 1 1 30px !important; }
  36. .col-2 { flex: 2 2 60px !important; -webkit-flex: 2 2 60px !important; }
  37. .col-3 { flex: 3 3 90px !important; -webkit-flex: 3 3 90px !important; }
  38. .col-4 { flex: 4 4 120px !important; -webkit-flex: 4 4 120px !important; }
  39. .col-5 { flex: 5 5 150px !important; -webkit-flex: 5 5 150px !important; }
  40. .col-6 { flex: 6 6 180px !important; -webkit-flex: 6 6 180px !important; }
  41. .col-7 { flex: 7 7 210px !important; -webkit-flex: 7 7 210px !important; }
  42. .col-8 { flex: 8 8 240px !important; -webkit-flex: 8 8 240px !important; }
  43. .col-9 { flex: 9 9 270px !important; -webkit-flex: 9 9 270px !important; }
  44. .col-10 { flex: 10 10 300px !important; -webkit-flex: 10 10 300px !important; }
  45. .tr.placeholder {
  46. height: 3.5em;
  47. }
  48. .tr.placeholder > .td {
  49. position: absolute;
  50. left: 0;
  51. right: 0;
  52. bottom: 0;
  53. text-align: center;
  54. line-height: 3em;
  55. }
  56. .nowrap {
  57. white-space: nowrap;
  58. }
  59. a img {
  60. border: none;
  61. text-decoration: none;
  62. }
  63. #maincontainer {
  64. display: flex;
  65. }
  66. #maincontent {
  67. flex-basis: 100%;
  68. }
  69. #mainmenu {
  70. max-width: 200px;
  71. background: #f5f5f5;
  72. border: 1px solid #444;
  73. border-width: 0 0 1px 1px;
  74. font-size: 15px;
  75. padding-bottom: 1em;
  76. }
  77. #mainmenu ul {
  78. display: block;
  79. margin: 0;
  80. padding: 0;
  81. }
  82. #mainmenu ul li {
  83. display: block;
  84. white-space: nowrap;
  85. }
  86. #mainmenu ul li > a {
  87. display: block;
  88. color: #444;
  89. padding: .4em .5em;
  90. text-decoration: none;
  91. }
  92. #mainmenu ul li.selected > a {
  93. background: #fff;
  94. color: #37c;
  95. border: 1px dotted #444;
  96. border-width: 1px 0;
  97. }
  98. #mainmenu ul li.selected:first-child > a {
  99. border-top: none;
  100. }
  101. #mainmenu ul li li > a {
  102. font-size: 85%;
  103. padding-left: 1.5em;
  104. }
  105. #mainmenu ul li > ul {
  106. flex-basis: 100%;
  107. max-height: 0;
  108. visibility: hidden;
  109. transition: max-height .15s;
  110. }
  111. #mainmenu ul:not(.active) li.selected > ul,
  112. #mainmenu ul li.active > ul {
  113. max-height: 1000px;
  114. visibility: visible;
  115. transition: max-height .25s;
  116. }
  117. #mainmenu ul li.mainmenu-item-logout {
  118. margin-top: 15%;
  119. }
  120. #tabmenu {
  121. padding: 0;
  122. margin: -.5em -.5em .5em -.5em;
  123. background: #bbb;
  124. }
  125. #tabmenu ul {
  126. border-color: #444;
  127. padding-top: .5em;
  128. flex-wrap: wrap;
  129. background: repeating-linear-gradient(#f5f5f5, #bbb 2.4em, #f5f5f5 2.4em, #bbb);
  130. line-height: 1em;
  131. }
  132. #tabmenu ul li {
  133. border-color: #444;
  134. }
  135. #tabmenu ul li.cbi-tab {
  136. background: #f5f5f5;
  137. }
  138. abbr,
  139. acronym {
  140. font-style: normal;
  141. font-variant: normal;
  142. }
  143. abbr[title],
  144. acronym[title] {
  145. border-bottom: 1px dotted;
  146. cursor: help;
  147. }
  148. a:link abbr[title],
  149. a:visited abbr[title],
  150. a:link acronym[title],
  151. a:visited acronym[title] {
  152. cursor: pointer;
  153. }
  154. code {
  155. font-family: monospace;
  156. white-space: pre;
  157. }
  158. hr {
  159. margin: .5em 0;
  160. padding: 0;
  161. border: 1px solid #444;
  162. border-width: 0 0 1px 0;
  163. }
  164. #maincontent ul {
  165. margin-left: 2em;
  166. }
  167. #modal_overlay {
  168. position: fixed;
  169. top: 0;
  170. bottom: 0;
  171. left: -10000px;
  172. right: 10000px;
  173. background: rgba(0, 0, 0, 0.7);
  174. z-index: 900;
  175. overflow-y: scroll;
  176. -webkit-overflow-scrolling: touch;
  177. transition: opacity .125s ease-in;
  178. opacity: 0;
  179. visibility: hidden;
  180. }
  181. .modal {
  182. width: 90%;
  183. margin: 5em auto !important;
  184. display: flex;
  185. flex-wrap: wrap;
  186. min-height: 32px;
  187. max-width: 600px;
  188. align-items: center;
  189. border-radius: 3px;
  190. background: #f5f5f5;
  191. border: 1px solid #000;
  192. padding: .5em .5em .25em .5em !important;
  193. max-height: 2400px;
  194. min-width: 270px;
  195. color: #444;
  196. }
  197. .modal > * {
  198. flex-basis: 100%;
  199. line-height: normal;
  200. margin-bottom: .5em;
  201. }
  202. .modal > pre,
  203. .modal > textarea {
  204. white-space: pre-wrap;
  205. overflow: auto;
  206. }
  207. body.modal-overlay-active {
  208. overflow: hidden;
  209. }
  210. body.modal-overlay-active #modal_overlay {
  211. left: 0;
  212. right: 0;
  213. opacity: 1;
  214. visibility: visible;
  215. }
  216. .warning {
  217. color: red;
  218. background-color: white;
  219. font-weight: bold;
  220. }
  221. .clear {
  222. clear: both;
  223. }
  224. .skiplink,
  225. .navigation,
  226. .hidden {
  227. position: absolute;
  228. left: -1000px;
  229. top: -1000px;
  230. width: 0px;
  231. height: 0px;
  232. overflow: hidden;
  233. display: inline;
  234. }
  235. .error {
  236. color: #ff0000;
  237. background-color: white;
  238. }
  239. .alert-message {
  240. font-weight: normal;
  241. padding: .5em;
  242. border-radius: 3px;
  243. border: 1px solid #a22;
  244. margin: 0 0 .5em 0;
  245. }
  246. .label {
  247. padding: 1px 2px;
  248. font-size: 10px;
  249. color: #fff;
  250. text-transform: uppercase;
  251. white-space: nowrap;
  252. background-color: #aaa;
  253. border-radius: 3px;
  254. }
  255. .alert-message, .cbi-tooltip.error, .label.error {
  256. border-color: #a22;
  257. background: #fee;
  258. color: #a22;
  259. }
  260. .alert-message.notice, .cbi-tooltip.notice, .label.notice {
  261. border-color: #15a;
  262. background: #e6f6ff;
  263. color: #15a;
  264. }
  265. .alert-message.warning, .cbi-tooltip.warning, .label.warning {
  266. border-color: #ed5;
  267. background: #fe9;
  268. color: #650;
  269. }
  270. div.hostinfo {
  271. float: left;
  272. margin: 0;
  273. padding: 0;
  274. width: auto;
  275. padding: 0.5em;
  276. }
  277. .lang_he div.hostinfo {
  278. float: right;
  279. }
  280. #xhr_poll_status {
  281. cursor: pointer;
  282. }
  283. #xhr_poll_status #xhr_poll_status_off {
  284. font-weight: bold;
  285. color: #FF0000;
  286. }
  287. #xhr_poll_status #xhr_poll_status_on {
  288. font-weight: bold;
  289. color: #00FF00;
  290. }
  291. #menubar {
  292. position: relative;
  293. width: 100%;
  294. background: #000000;
  295. color: #ffffff;
  296. }
  297. #menubar .warning {
  298. color: red;
  299. background-color: #557788;
  300. }
  301. html #menubar a:link,
  302. html #menubar a:visited {
  303. position: relative;
  304. display: block;
  305. padding: 0.5em;
  306. background: #000000;
  307. color: #ffffff;
  308. text-decoration: none;
  309. }
  310. html #menubar a:link:hover,
  311. html #menubar a:visited:hover,
  312. html #menubar a:link:active,
  313. html #menubar a:visited:active,
  314. #menubar a:link:focus,
  315. #menubar a:visited:focus {
  316. background: #000000;
  317. color: #ffff00;
  318. font-weight: bold;
  319. }
  320. html #menubar a:link.active,
  321. html #menubar a:visited.active,
  322. html #menubar a:link.preactive,
  323. html #menubar a:visited.preactive {
  324. background: #000000;
  325. color: #ffff00;
  326. font-weight: bold;
  327. }
  328. html #menubar a:link.warning,
  329. html #menubar a:visited.warning {
  330. background: #000000;
  331. color: red;
  332. font-weight: bold;
  333. }
  334. #modemenu {
  335. width: auto;
  336. background: #000000;
  337. color: #ffffff;
  338. list-style: none;
  339. margin-right: 1px;
  340. margin-left: 2em;
  341. float: right;
  342. }
  343. #modemenu li {
  344. float: right;
  345. list-style: none;
  346. }
  347. #savemenu {
  348. float: right;
  349. }
  350. .lang_he #savemenu {
  351. float: left;
  352. }
  353. .lang_de #submenu_admin_uci {
  354. width: 12em;
  355. }
  356. .lang_ru #submenu_admin_uci {
  357. width: 11.5em;
  358. }
  359. textarea#syslog {
  360. width: 98%;
  361. min-height: 500px;
  362. border: 3px solid #cccccc;
  363. padding: 5px;
  364. font-family: monospace;
  365. }
  366. #maincontainer {
  367. clear: both;
  368. width: 96%;
  369. margin: 0 auto;
  370. height:100%;
  371. }
  372. #maincontent {
  373. padding: 0.5em;
  374. background: #f5f5f5;
  375. color: #000000;
  376. border-width: 0 1px 1px 1px;
  377. border-style: solid;
  378. border-color: #444444;
  379. }
  380. #applyreboot-section {
  381. margin: 2rem;
  382. line-height: 300%;
  383. }
  384. .lang_he #maincontent {
  385. direction: rtl;
  386. }
  387. h2, h3, h4, h5, legend {
  388. font-size: 150%;
  389. font-family: Trebuchet MS, Verdana, sans-serif;
  390. font-weight: bold;
  391. margin: .25em 0 .5em 0;
  392. border-bottom: 1px solid;
  393. padding-bottom: 4px;
  394. display: block;
  395. width: 100%;
  396. }
  397. h3, legend {
  398. font-size: 125%;
  399. }
  400. h4 {
  401. font-size: 112%;
  402. }
  403. h5 {
  404. font-size: 105%;
  405. }
  406. fieldset { border: none; }
  407. fieldset > legend { float: left; }
  408. fieldset > legend + * { clear: both; }
  409. p {
  410. margin-bottom: .5em;
  411. }
  412. .cbi-section {
  413. margin: 0 0 .5em 0;
  414. }
  415. .cbi-section > h3,
  416. .cbi-section > legend {
  417. margin-top: .5em;
  418. }
  419. .cbi-section-descr {
  420. margin-bottom: 0.5em;
  421. font-size: 95%;
  422. }
  423. .cbi-section-descr:empty {
  424. display: none;
  425. }
  426. .cbi-title-ref {
  427. color: #37c;
  428. }
  429. .cbi-title-ref::after {
  430. content: "➙";
  431. }
  432. ul.cbi-apply {
  433. font-size: 90%;
  434. }
  435. input:-webkit-input-placeholder {
  436. color: #AAAAAA;
  437. }
  438. input:-moz-placeholder {
  439. color: #AAAAAA;
  440. }
  441. input:-ms-input-placeholder {
  442. color: #AAAAAA;
  443. }
  444. input[type=submit],
  445. input[type=reset],
  446. input[type=image],
  447. input[type=button] {
  448. cursor: pointer;
  449. }
  450. select,
  451. input,
  452. textarea {
  453. background: #eeeeee;
  454. color: #000000;
  455. border-width: 1px;
  456. border-color: #000000;
  457. }
  458. input[type=image] {
  459. border: none;
  460. }
  461. input:focus,
  462. input:not(.btn):not(.cbi-button):hover,
  463. select:focus,
  464. select:hover {
  465. background-color: #ffffff;
  466. color: #000000;
  467. }
  468. input[type=text],
  469. input[type=password] {
  470. padding: .25em;
  471. }
  472. select,
  473. input[type=text],
  474. input[type=password],
  475. .cbi-dropdown {
  476. width: 20em;
  477. height: 22px;
  478. font-family: inherit;
  479. font-size: inherit;
  480. }
  481. select[multiple] {
  482. height: auto;
  483. }
  484. input[type=radio],
  485. input[type=checkbox],
  486. [data-dynlist] > input + img,
  487. input.cbi-input-password + img {
  488. vertical-align: middle;
  489. }
  490. label > input[type="checkbox"],
  491. label > input[type="radio"] {
  492. vertical-align: bottom;
  493. margin: 0;
  494. }
  495. .td select,
  496. .td .cbi-dropdown,
  497. .td input[type=text],
  498. .cbi-dynlist > .add-item > .cbi-dropdown {
  499. width: 100%;
  500. }
  501. .td input.cbi-input-password {
  502. width: calc(100% - 20px);
  503. }
  504. img.cbi-image-button {
  505. cursor: pointer;
  506. margin: 0 2px;
  507. vertical-align: middle;
  508. }
  509. .btn, .cbi-button, .item::after {
  510. padding: 0 .5em;
  511. border-radius: 3px;
  512. border: 1px solid #aaa;
  513. text-decoration: none;
  514. color: #000;
  515. display: inline-block;
  516. font-size: inherit;
  517. -webkit-appearance: none;
  518. background: #fff;
  519. text-align: center;
  520. font-weight: bold;
  521. line-height: 12px;
  522. height: 22px;
  523. line-height: 20px;
  524. box-sizing: border-box;
  525. cursor: pointer;
  526. }
  527. .btn:hover, .cbi-button:hover, .item:hover::after {
  528. box-shadow: 0 0 3px #37c;
  529. }
  530. .btn[disabled],
  531. .btn[disabled]:hover,
  532. .cbi-button[disabled],
  533. .cbi-button[disabled]:hover {
  534. opacity: .6;
  535. cursor: default;
  536. pointer-events: none;
  537. }
  538. .cbi-button-positive,
  539. .cbi-button-fieldadd,
  540. .cbi-button-add,
  541. .cbi-button-save {
  542. border-color: #595;
  543. color: #595;
  544. }
  545. .cbi-button-neutral,
  546. .cbi-button-reset,
  547. .cbi-button-download,
  548. .cbi-button-find,
  549. .cbi-button-link,
  550. .cbi-button-up,
  551. .cbi-button-down {
  552. border-color: #444;
  553. color: #444;
  554. }
  555. .cbi-button-action,
  556. .cbi-button-apply,
  557. .cbi-button-reload,
  558. .cbi-button-edit {
  559. border-color: #37c;
  560. color: #37c;
  561. }
  562. .cbi-button-negative,
  563. .cbi-section-remove .cbi-button,
  564. .cbi-button-remove {
  565. border-color: #a22;
  566. color: #a22;
  567. }
  568. .cbi-button-action.important,
  569. .cbi-page-actions .cbi-button-apply,
  570. .cbi-section-actions .cbi-button-edit {
  571. color: #fff;
  572. background: #37c;
  573. }
  574. .cbi-button-positive.important,
  575. .cbi-page-actions .cbi-button-save {
  576. color: #fff;
  577. background: #595;
  578. }
  579. .cbi-button-negative.important {
  580. color: #fff;
  581. background: #a22;
  582. }
  583. .cbi-page-actions .cbi-button-apply + .cbi-button-save {
  584. background: #fff;
  585. color: #595;
  586. }
  587. .cbi-input-invalid:not([open]) {
  588. color: #FF0000 !important;
  589. border-color: #FF0000;
  590. }
  591. table td, table th {
  592. color: #000000;
  593. }
  594. .table .td, .table .th {
  595. color: #000000;
  596. padding: .25em;
  597. }
  598. .table.smalltext {
  599. background: #f5f5f5;
  600. color: #000000;
  601. border-top: 1px solid #666666;
  602. border-right: 1px solid #666666;
  603. border-bottom: 1px solid #666666;
  604. font-size: 90%;
  605. width: 80%;
  606. margin-left: auto;
  607. margin-right: auto;
  608. border-collapse: collapse;
  609. }
  610. .table.smalltext .tr:hover .td {
  611. background-color: #bbddee;
  612. color: #000000;
  613. }
  614. .table.smalltext .tr .th {
  615. padding: 0 0.25em;
  616. border-left: 1px solid #666666;
  617. text-align: left;
  618. }
  619. .table.smalltext .tr .td {
  620. padding: 0 0.25em;
  621. border-top: 1px solid #666666;
  622. border-left: 1px solid #666666;
  623. }
  624. .cbi-rowstyle-1 {
  625. background-color: #eeeeff;
  626. color: #000000;
  627. }
  628. .cbi-rowstyle-2 {
  629. color: #000000;
  630. }
  631. .cbi-value {
  632. clear: left;
  633. vertical-align: middle;
  634. padding: 0.25em 0.6em;
  635. border-bottom: 1px dotted #bbbbbb;
  636. }
  637. .cbi-value:hover {
  638. background: #f8f8f8;
  639. color: #000000;
  640. }
  641. .cbi-value-title {
  642. float: left;
  643. width: 40%;
  644. line-height: 1.8em;
  645. }
  646. .cbi-value-field {
  647. width: 58%;
  648. margin-left: 40%;
  649. padding: 0.25em 0;
  650. }
  651. .td.cbi-value-field {
  652. width: auto;
  653. margin-left: 0;
  654. align-self: center;
  655. vertical-align: middle;
  656. }
  657. .cbi-value-description {
  658. background-image: url(/luci-static/resources/cbi/help.gif);
  659. background-position: .25em .25em;
  660. background-repeat: no-repeat;
  661. margin: .25em 0 0 0;
  662. padding: .25em .25em .25em 1.75em;
  663. }
  664. .cbi-section-create {
  665. padding: 0 0 .25em 0;
  666. margin: -3px;
  667. display: inline-flex;
  668. align-items: center;
  669. }
  670. .cbi-section-create > * {
  671. margin: 3px;
  672. flex: 1 1 auto;
  673. }
  674. .cbi-section-create > * > input {
  675. width: 100%;
  676. }
  677. .cbi-section-remove > .cbi-button {
  678. margin-bottom: -1px;
  679. border-radius: 3px 3px 0 0;
  680. }
  681. .cbi-section-node + .cbi-section-create {
  682. padding-top: 0;
  683. }
  684. div.cbi-map-descr {
  685. margin-bottom: 1em;
  686. }
  687. div.cbi-optionals {
  688. padding: 0.25em;
  689. border-bottom: 1px dotted #bbbbbb;
  690. }
  691. .cbi-section-node {
  692. clear: both;
  693. padding-bottom: 0;
  694. position: relative;
  695. border: 1px dotted #555;
  696. background: #fff;
  697. margin-bottom: .5em;
  698. }
  699. .cbi-section-node-tabbed {
  700. border-top: none;
  701. margin-top: -.5em;
  702. }
  703. .cbi-section-node .cbi-value:last-child,
  704. .cbi-section-node .cbi-optionals:last-child {
  705. border-bottom: none;
  706. }
  707. .table.cbi-section-table {
  708. width: 100%;
  709. font-size: 95%;
  710. border: 1px dotted #444;
  711. background: #fff;
  712. margin: 0 0 .5em 0;
  713. }
  714. .cbi-section-node > .table.cbi-section-table {
  715. border: none;
  716. margin: 0;
  717. }
  718. .tr.cbi-section-table-descr .th {
  719. font-weight: normal;
  720. font-size: 90%;
  721. vertical-align: top;
  722. }
  723. .td.cbi-section-table-optionals {
  724. text-align: left !important;
  725. padding-top: 1em;
  726. }
  727. .th.cbi-section-actions,
  728. .td.cbi-section-actions {
  729. align-self: center;
  730. vertical-align: middle;
  731. }
  732. .th.cbi-section-actions > *,
  733. .td.cbi-section-actions > * {
  734. display: flex;
  735. justify-content: flex-end;
  736. flex-direction: row;
  737. flex: 1 1 150px;
  738. margin: auto -1px auto auto;
  739. }
  740. .td.cbi-section-actions > * > *,
  741. .td.cbi-section-actions > * > form > * {
  742. flex: 1 1 4em;
  743. margin: 0 1px;
  744. }
  745. .td.cbi-section-actions > * > form {
  746. display: flex;
  747. margin: 0;
  748. }
  749. .cbi-page-actions {
  750. display: flex;
  751. justify-content: flex-end;
  752. margin: -3px;
  753. }
  754. .cbi-page-actions > form {
  755. display: flex;
  756. }
  757. .cbi-page-actions > * {
  758. flex: 0 1 auto;
  759. margin: 3px;
  760. }
  761. .cbi-page-actions > form > * {
  762. flex: 1;
  763. margin: 0 3px 0 0;
  764. }
  765. .cbi-page-actions > .cbi-button-save,
  766. .cbi-page-actions > .cbi-button-apply,
  767. .cbi-page-actions > form[method="post"] {
  768. margin-left: auto;
  769. }
  770. *::-ms-backdrop,
  771. .cbi-page-actions > .cbi-button-save,
  772. .cbi-page-actions > .cbi-button-apply,
  773. .cbi-page-actions > form[method="post"] {
  774. margin-left: 50%;
  775. }
  776. .cbi-page-actions > .cbi-button-apply + .cbi-button-save,
  777. .cbi-page-actions > .cbi-button-save + form[method="post"],
  778. .cbi-page-actions > form[method="post"] + form[method="post"] {
  779. margin-left: 3px;
  780. }
  781. .th[data-type="button"], .td[data-type="button"],
  782. .th[data-type="fvalue"], .td[data-type="fvalue"] {
  783. flex: 1 1 2em;
  784. text-align: center;
  785. }
  786. #cbi-network-switch_vlan .th,
  787. #cbi-network-switch_vlan .td {
  788. flex-basis: 12%;
  789. }
  790. .td[data-title]::before {
  791. content: attr(data-title) ":\20";
  792. font-weight: bold;
  793. text-align: left;
  794. display: none;
  795. padding: 1px 0;
  796. white-space: nowrap;
  797. }
  798. .td[data-description]::after {
  799. content: attr(data-description);
  800. font-size: 90%;
  801. text-align: left;
  802. display: none;
  803. background: url(/luci-static/resources/cbi/help.gif) left top no-repeat;
  804. padding: .125em 0 .125em 18px;
  805. margin: .125em 0;
  806. }
  807. .tr.placeholder .td[data-title]::before,
  808. .tr.placeholder .td[data-description]::after {
  809. display: none;
  810. }
  811. .tr[data-title]::before,
  812. .tr.cbi-section-table-titles.named::before {
  813. content: attr(data-title) "\20";
  814. font-weight: bold;
  815. text-align: left;
  816. display: table-cell;
  817. align-self: center;
  818. flex: 1 1 5%;
  819. padding: .25em;
  820. white-space: normal;
  821. word-wrap: break-word;
  822. vertical-align: middle;
  823. }
  824. .cbi-value-helpicon img {
  825. vertical-align: bottom;
  826. }
  827. .td.cbi-value-error {
  828. border-color: red;
  829. }
  830. .cbi-value-error input,
  831. .cbi-value-error select {
  832. color: red;
  833. background-color: #ffcccc;
  834. }
  835. .cbi-section-error {
  836. color: red;
  837. background-color: white;
  838. font-size: 95%;
  839. border: 1px dotted red;
  840. margin: 3px;
  841. padding: 3px;
  842. }
  843. .cbi-value-field var {
  844. color: #2222FF;
  845. }
  846. ul.cbi-tabmenu {
  847. list-style-type: none;
  848. display: flex;
  849. margin: 0 0 .5em 0 !important;
  850. padding: 0 0 0 5px;
  851. border-bottom: 1px solid #bbb;
  852. }
  853. ul.cbi-tabmenu li {
  854. display: inline-flex;
  855. margin: 0 5px -1px 0;
  856. flex: 0 1 auto;
  857. border: 1px solid #bbb;
  858. border-bottom: none;
  859. border-radius: 3px 3px 0 0;
  860. background: linear-gradient(#ddd 90%, #aaa 100%);
  861. color: #888;
  862. overflow: hidden;
  863. text-overflow: ellipsis;
  864. word-wrap: break-word;
  865. }
  866. ul.cbi-tabmenu li a,
  867. ul.cbi-tabmenu li a:hover {
  868. text-decoration: none;
  869. color: inherit;
  870. padding: 5px;
  871. flex: 1 1 auto;
  872. width: 100%;
  873. height: 100%;
  874. outline: none;
  875. }
  876. ul.cbi-tabmenu li.cbi-tab {
  877. color: #000;
  878. background: #f5f5f5;
  879. }
  880. ul.cbi-tabmenu li.cbi-tab-disabled[data-errors]::after {
  881. content: attr(data-errors);
  882. background: #c43c35;
  883. color: #fff;
  884. min-width: 12px;
  885. line-height: 14px;
  886. border-radius: 8px;
  887. text-align: center;
  888. margin: 4px 5px 4px 0;
  889. padding: 1px 2px;
  890. word-wrap: normal;
  891. flex: 1 0 auto;
  892. }
  893. .cbi-section ul.cbi-tabmenu li.cbi-tab {
  894. background: #fff;
  895. }
  896. .cbi-tab-descr {
  897. background-image: url(/luci-static/resources/cbi/help.gif);
  898. background-position: .25em 50%;
  899. background-repeat: no-repeat;
  900. border-bottom: 1px solid #ccc;
  901. margin: 0 .25em .25em .25em;
  902. padding: .5em .5em .5em 2em;
  903. }
  904. [data-tab-title] {
  905. height: 0;
  906. opacity: 0;
  907. overflow: hidden;
  908. }
  909. [data-tab-active="true"] {
  910. opacity: 1;
  911. height: auto;
  912. overflow: visible;
  913. transition: opacity .25s ease-in;
  914. }
  915. .cbi-dropdown {
  916. border: 1px inset #000;
  917. display: inline-flex;
  918. cursor: pointer;
  919. background: #eee;
  920. position: relative;
  921. padding: 0;
  922. color: #000;
  923. min-width: 20em;
  924. max-width: 100%;
  925. }
  926. .cbi-dropdown:hover {
  927. background: #fff;
  928. }
  929. .cbi-dropdown:focus,
  930. .cbi-dynlist > .item:focus {
  931. outline: 2px solid #4b6e9b;
  932. }
  933. .cbi-dropdown > ul {
  934. margin: 0 !important;
  935. padding: 0;
  936. list-style: none;
  937. overflow-x: hidden;
  938. overflow-y: auto;
  939. display: flex;
  940. width: 100%;
  941. }
  942. .cbi-dropdown > ul.preview {
  943. display: none;
  944. }
  945. .cbi-dropdown > .open {
  946. border: 2px outset #eee;
  947. flex-basis: 15px;
  948. }
  949. .cbi-dropdown > .open,
  950. .cbi-dropdown > .more {
  951. flex-grow: 0;
  952. flex-shrink: 0;
  953. display: flex;
  954. flex-direction: column;
  955. justify-content: center;
  956. text-align: center;
  957. padding: 0 .25em;
  958. }
  959. .cbi-dropdown > .more,
  960. .cbi-dropdown > ul > li[placeholder] {
  961. color: #777;
  962. font-weight: bold;
  963. text-shadow: 1px 1px 0px #fff;
  964. display: none;
  965. min-height: 22px;
  966. }
  967. .cbi-dropdown > ul > li {
  968. display: none;
  969. padding: .25em;
  970. white-space: nowrap;
  971. overflow: hidden;
  972. text-overflow: ellipsis;
  973. flex-shrink: 1;
  974. flex-grow: 1;
  975. align-items: center;
  976. align-self: center;
  977. min-height: 22px;
  978. }
  979. .cbi-dropdown > ul > li .hide-open { display: initial; }
  980. .cbi-dropdown > ul > li .hide-close { display: none; }
  981. .cbi-dropdown > ul > li[display]:not([display="0"]) {
  982. border-left: 1px solid #ccc;
  983. }
  984. .cbi-dropdown[empty] > ul {
  985. max-width: 1px;
  986. }
  987. .cbi-dropdown > ul > li > form {
  988. display: none;
  989. margin: 0;
  990. padding: 0;
  991. pointer-events: none;
  992. }
  993. .cbi-dropdown > ul > li img {
  994. vertical-align: middle;
  995. margin-right: .25em;
  996. }
  997. .cbi-dropdown > ul > li > form > input[type="checkbox"] {
  998. margin: 0;
  999. }
  1000. .cbi-dropdown[open] {
  1001. position: relative;
  1002. }
  1003. .cbi-dropdown[open] > ul.dropdown {
  1004. display: block;
  1005. background: #f6f6f5;
  1006. border: 1px solid #918e8c;
  1007. box-shadow: 0 0 4px #918e8c;
  1008. position: absolute;
  1009. z-index: 1100;
  1010. max-width: none;
  1011. min-width: 100%;
  1012. width: auto;
  1013. transition: max-height .125s ease-in;
  1014. }
  1015. .cbi-dropdown > ul > li[display],
  1016. .cbi-dropdown[open] > ul.preview,
  1017. .cbi-dropdown[open] > ul.dropdown > li,
  1018. .cbi-dropdown[multiple] > ul > li > label,
  1019. .cbi-dropdown[multiple][open] > ul.dropdown > li,
  1020. .cbi-dropdown[multiple][more] > .more,
  1021. .cbi-dropdown[multiple][empty] > .more {
  1022. flex-grow: 1;
  1023. display: flex;
  1024. align-items: center;
  1025. }
  1026. .cbi-dropdown[empty] > ul > li,
  1027. .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
  1028. display: block;
  1029. }
  1030. .cbi-dropdown[open] > ul.dropdown > li .hide-open { display: none; }
  1031. .cbi-dropdown[open] > ul.dropdown > li .hide-close { display: initial; }
  1032. .cbi-dropdown[open] > ul.dropdown > li {
  1033. border-bottom: 1px solid #ccc;
  1034. }
  1035. .cbi-dropdown[open] > ul.dropdown > li[selected] {
  1036. background: #b0d0f0;
  1037. }
  1038. .cbi-dropdown[open] > ul.dropdown > li.focus {
  1039. background: linear-gradient(90deg, #a3c2e8 0%, #84aad9 100%);
  1040. }
  1041. .cbi-dropdown[open] > ul.dropdown > li:last-child {
  1042. margin-bottom: 0;
  1043. border-bottom: none;
  1044. }
  1045. .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
  1046. opacity: 0.7;
  1047. }
  1048. .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
  1049. width: 100%;
  1050. }
  1051. .cbi-dropdown[disabled] {
  1052. pointer-events: none;
  1053. opacity: .6;
  1054. }
  1055. .cbi-dynlist {
  1056. height: auto;
  1057. min-height: 30px;
  1058. min-width: 210px;
  1059. max-width: 100%;
  1060. width: auto;
  1061. display: inline-flex;
  1062. flex-direction: column;
  1063. }
  1064. .cbi-dynlist > .item {
  1065. margin-bottom: 4px;
  1066. background: #eee;
  1067. padding: 2px 2em 2px 4px;
  1068. border: 1px outset #000;
  1069. border-radius: 3px;
  1070. position: relative;
  1071. pointer-events: none;
  1072. overflow: hidden;
  1073. text-overflow: ellipsis;
  1074. white-space: nowrap;
  1075. }
  1076. .cbi-dynlist > .item::after {
  1077. content: "×";
  1078. position: absolute;
  1079. display: inline-flex;
  1080. align-items: center;
  1081. top: -1px;
  1082. right: -1px;
  1083. bottom: -1px;
  1084. padding: 0 6px;
  1085. border: 1px outset #000;
  1086. background: #fff;
  1087. border-radius: 0 3px 3px 0;
  1088. font-weight: bold;
  1089. color: #c44;
  1090. pointer-events: auto;
  1091. height: auto;
  1092. }
  1093. .cbi-dynlist > .add-item {
  1094. display: flex;
  1095. }
  1096. .cbi-dynlist > .add-item > input {
  1097. flex: 1 1 auto;
  1098. }
  1099. input[type="text"] + .cbi-button,
  1100. input[type="password"] + .cbi-button,
  1101. select + .cbi-button {
  1102. border-radius: 0 3px 3px 0;
  1103. border: 1px outset #000;
  1104. margin: 0 0 0 -2px;
  1105. padding: 0 6px;
  1106. vertical-align: top;
  1107. display: inline-block;
  1108. height: 22px;
  1109. font-size: 12px;
  1110. line-height: 20px;
  1111. }
  1112. .cbi-tooltip-container {
  1113. cursor: help;
  1114. }
  1115. .cbi-tooltip {
  1116. position: absolute;
  1117. z-index: 1000;
  1118. left: -1000px;
  1119. border-radius: 3px;
  1120. background: #fff;
  1121. padding: 2px 5px;
  1122. white-space: pre;
  1123. opacity: 0;
  1124. transition: opacity .25s ease-out;
  1125. pointer-events: none;
  1126. box-shadow: 0 0 2px #444;
  1127. color: #444;
  1128. }
  1129. .cbi-tooltip-container:hover .cbi-tooltip {
  1130. left: auto;
  1131. opacity: 1;
  1132. transition: opacity .25s ease-in;
  1133. white-space: normal;
  1134. }
  1135. .cbi-progressbar {
  1136. background: #ddd;
  1137. border: 1px solid #bbb;
  1138. border-radius: 3px;
  1139. position: relative;
  1140. min-width: 170px;
  1141. height: 20px;
  1142. margin: 4px 0;
  1143. line-height: 20px;
  1144. }
  1145. .cbi-progressbar > div {
  1146. background: #90c0e0;
  1147. height: 100%;
  1148. transition: width .25s ease-in;
  1149. width: 0%;
  1150. }
  1151. .cbi-progressbar::after {
  1152. position: absolute;
  1153. bottom: 0;
  1154. top: 0;
  1155. right: 0;
  1156. left: 0;
  1157. text-align: center;
  1158. text-shadow: 0 0 2px #fff;
  1159. content: attr(title);
  1160. white-space: pre;
  1161. overflow: hidden;
  1162. text-overflow: ellipsis;
  1163. }
  1164. .zonebadge .cbi-tooltip {
  1165. padding: 1px;
  1166. background: inherit;
  1167. margin: -1.6em 0 0 -5px;
  1168. }
  1169. .zone-forwards {
  1170. display: flex;
  1171. flex-wrap: wrap;
  1172. }
  1173. .zone-forwards > * {
  1174. flex: 1 1 45%;
  1175. padding: 1px;
  1176. }
  1177. .zone-forwards > span {
  1178. flex-basis: 10%;
  1179. text-align: center;
  1180. }
  1181. .zone-forwards .zone-src,
  1182. .zone-forwards .zone-dest {
  1183. display: flex;
  1184. flex-direction: column;
  1185. }
  1186. .left, .left::before, .left::after { text-align: left !important; }
  1187. .right, .right::before, .right::after { text-align: right !important; }
  1188. .center, .center::before, .center::after { text-align: center !important; }
  1189. .top, .top::before, .top::after { vertical-align: top !important; }
  1190. .middle, .middle::before, .middle::after { vertical-align: middle !important; }
  1191. .bottom, .bottom::before, .bottom::after { vertical-align: bottom !important; }
  1192. .td.top { align-self: flex-start; vertical-align: top; }
  1193. .td.middle { align-self: center; vertical-align: middle; }
  1194. .td.bottom { align-self: flex-end; vertical-align: bottom; }
  1195. .luci {
  1196. position: absolute;
  1197. bottom: 0;
  1198. left: 1em;
  1199. height: 1.5em;
  1200. font-size: 80%;
  1201. margin-bottom: 0;
  1202. }
  1203. .luci a:link,
  1204. .luci a:visited {
  1205. background-color: transparent;
  1206. color: #666666;
  1207. text-decoration: none;
  1208. font-size: 70%;
  1209. }
  1210. .inline {
  1211. display: inline;
  1212. }
  1213. .error500 {
  1214. white-space: normal;
  1215. border: 1px dotted #ff0000;
  1216. background-color: #ffffff;
  1217. color: #000000;
  1218. padding: 0.5em;
  1219. }
  1220. .ifacebadge, .ifacebox {
  1221. display: inline-flex;
  1222. align-content: center;
  1223. border: 1px solid #ccc;
  1224. border-radius: 3px;
  1225. padding: 2px;
  1226. background: #fff;
  1227. }
  1228. .ifacebox-head {
  1229. background: #eee;
  1230. }
  1231. .ifacebox-head.active {
  1232. background: #90c0e0;
  1233. }
  1234. .ifacebadge, .zonebadge {
  1235. align-items: center;
  1236. }
  1237. .ifacebadge > * {
  1238. align-self: center;
  1239. }
  1240. .ifacebadge > img,
  1241. .ifacebadge > em {
  1242. margin-right: 5px;
  1243. display: inline-block;
  1244. height: 16px;
  1245. }
  1246. .ifacebadge-active {
  1247. border-color: #000000;
  1248. font-weight: bold;
  1249. }
  1250. .ifacebox {
  1251. flex-direction: column;
  1252. margin: 0;
  1253. padding: 0;
  1254. min-width: 100px;
  1255. text-align: center;
  1256. }
  1257. .ifacebox > * {
  1258. padding: 2px;
  1259. }
  1260. .td > .ifacebadge,
  1261. .td > .zonebadge {
  1262. margin: 0;
  1263. vertical-align: top;
  1264. }
  1265. .network-status-table {
  1266. display: flex;
  1267. flex-wrap: wrap;
  1268. margin: -.25em -.25em .25em -.25em;
  1269. }
  1270. .network-status-table .ifacebox {
  1271. margin: .25em;
  1272. font-size: 90%;
  1273. flex-grow: 1;
  1274. }
  1275. .network-status-table .ifacebox-body {
  1276. display: flex;
  1277. flex-direction: column;
  1278. flex: 1 0 auto;
  1279. padding: .5em;
  1280. }
  1281. .network-status-table .ifacebox-body > span {
  1282. flex: 10 10 auto;
  1283. }
  1284. .network-status-table .ifacebox-body > div {
  1285. display: flex;
  1286. flex-wrap: wrap;
  1287. }
  1288. .ifacebadge.large,
  1289. .network-status-table .ifacebox-body .ifacebadge {
  1290. flex: 1;
  1291. -webkit-flex: 1 1 auto;
  1292. padding: .5em;
  1293. min-width: 220px;
  1294. white-space: nowrap;
  1295. }
  1296. .network-status-table .ifacebox-body .ifacebadge {
  1297. margin: .5em 0 0 0;
  1298. }
  1299. #dsl_status_table .ifacebox-body span > strong {
  1300. display: inline-block;
  1301. min-width: 35%;
  1302. }
  1303. .zonebadge {
  1304. padding: 2px;
  1305. display: inline-block;
  1306. white-space: nowrap;
  1307. border-radius: 3px;
  1308. }
  1309. .zonebadge > em,
  1310. .zonebadge > strong {
  1311. margin: 3px;
  1312. }
  1313. .zonebadge input {
  1314. width: 6em;
  1315. height: 1.5em;
  1316. }
  1317. .zonebadge .ifacebadge,
  1318. .cbi-dropdown .ifacebadge {
  1319. margin: 1px;
  1320. }
  1321. .zonebadge .ifacebadge img,
  1322. .zonebadge .ifacebadge em,
  1323. .cbi-dropdown .ifacebadge img,
  1324. .cbi-dropdown .ifacebadge em {
  1325. margin: 0 1px;
  1326. }
  1327. .zonebadge-empty {
  1328. border: 1px dashed #AAAAAA;
  1329. color: #AAAAAA;
  1330. font-style: italic;
  1331. font-size: smaller;
  1332. }
  1333. .uci-change-list {
  1334. font-family: monospace;
  1335. white-space: pre;
  1336. }
  1337. .uci-change-list del,
  1338. .uci-change-list ins,
  1339. .uci-change-list var,
  1340. .uci-change-legend-label del,
  1341. .uci-change-legend-label ins,
  1342. .uci-change-legend-label var {
  1343. text-decoration: none;
  1344. font-style: normal;
  1345. border: 1px solid #ccc;
  1346. background: #eee;
  1347. padding: 2px;
  1348. display: block;
  1349. line-height: 15px;
  1350. margin-bottom: 1px;
  1351. }
  1352. .uci-change-list ins,
  1353. .uci-change-legend-label ins {
  1354. border-color: #0f0;
  1355. background: #cfc;
  1356. }
  1357. .uci-change-list del,
  1358. .uci-change-legend-label del {
  1359. border-color: #f00;
  1360. background: #fcc;
  1361. }
  1362. .uci-change-list var,
  1363. .uci-change-legend-label var {
  1364. border-color: #ccc;
  1365. background: #eee;
  1366. }
  1367. .uci-change-list var ins,
  1368. .uci-change-list var del {
  1369. display: inline-block;
  1370. border: none;
  1371. width: 100%;
  1372. padding: 0;
  1373. }
  1374. .uci-change-legend {
  1375. padding: 5px;
  1376. }
  1377. .uci-change-legend-label {
  1378. width: 150px;
  1379. float: left;
  1380. font-size: 80%;
  1381. }
  1382. .uci-change-legend-label>ins,
  1383. .uci-change-legend-label>del,
  1384. .uci-change-legend-label>var {
  1385. float: left;
  1386. margin-right: 4px;
  1387. width: 12px;
  1388. height: 12px;
  1389. display: block;
  1390. position: relative;
  1391. }
  1392. .uci-change-legend-label var ins,
  1393. .uci-change-legend-label var del {
  1394. border: none;
  1395. position: absolute;
  1396. top: 1px;
  1397. left: 1px;
  1398. right: 1px;
  1399. bottom: 1px;
  1400. }
  1401. @keyframes flash {
  1402. 0% { opacity: 1; }
  1403. 50% { opacity: .5; }
  1404. 100% { opacity: 1; }
  1405. }
  1406. .flash {
  1407. animation: flash .35s;
  1408. }
  1409. .spinning {
  1410. position: relative;
  1411. padding-left: 32px !important;
  1412. }
  1413. .spinning::before {
  1414. position: absolute;
  1415. top: 0;
  1416. left: 0;
  1417. bottom: 0;
  1418. width: 32px;
  1419. content: " ";
  1420. background: url(../resources/icons/loading.gif) no-repeat center;
  1421. background-size: 16px;
  1422. }
  1423. }
  1424. @media screen and (max-width: 992px) {
  1425. body {
  1426. -webkit-text-size-adjust: 100%;
  1427. }
  1428. #maincontainer {
  1429. flex-direction: column;
  1430. width: 100%;
  1431. }
  1432. #maincontent {
  1433. width: 96%;
  1434. margin: auto;
  1435. flex-basis: auto;
  1436. }
  1437. #mainmenu {
  1438. border: none;
  1439. border-radius: 0;
  1440. max-width: none;
  1441. background: #000;
  1442. box-shadow: 0 0 2px #444;
  1443. padding: 0;
  1444. border-top: 1px solid #444;
  1445. position: relative;
  1446. }
  1447. #mainmenu ul > li.selected > a {
  1448. background: #444;
  1449. color: #fff;
  1450. border-top: none;
  1451. }
  1452. #mainmenu ul > li.selected:not(.active) > ul {
  1453. max-height: 0;
  1454. visibility: hidden;
  1455. }
  1456. #mainmenu ul > li > a {
  1457. flex: 1 1 auto;
  1458. color: #fff;
  1459. border: 1px solid #444;
  1460. border-width: 0 0 1px 1px;
  1461. }
  1462. #mainmenu ul.l1 {
  1463. display: flex;
  1464. flex-direction: row;
  1465. flex-wrap: wrap;
  1466. position: relative;
  1467. margin-left: -1px;
  1468. width: 100%;
  1469. }
  1470. #mainmenu ul.l1 > li {
  1471. display: inline-flex;
  1472. flex: 1 1 auto;
  1473. position: relative;
  1474. height: 2em;
  1475. }
  1476. #mainmenu ul.l1 ul.l2 {
  1477. position: absolute;
  1478. top: 2em;
  1479. right: 0;
  1480. z-index: 1000;
  1481. background: #000;
  1482. box-shadow: 0 0 2px #444;
  1483. min-width: 120px;
  1484. display: block;
  1485. }
  1486. #mainmenu ul.l1 ul.l2.align-left {
  1487. right: auto;
  1488. left: 0;
  1489. }
  1490. #mainmenu ul.l2 > li {
  1491. display: block;
  1492. }
  1493. #mainmenu ul.l2 > li > a {
  1494. padding: .5em;
  1495. }
  1496. #mainmenu ul li.mainmenu-item-logout {
  1497. margin-top: 0;
  1498. margin-left: auto;
  1499. }
  1500. #mainmenu ul li.mainmenu-item-logout::before {
  1501. content: "\0a";
  1502. flex: 10;
  1503. border: 1px solid #444;
  1504. border-width: 0 0 1px 1px;
  1505. }
  1506. .table {
  1507. display: flex;
  1508. flex-direction: column;
  1509. width: 100%;
  1510. }
  1511. .tr {
  1512. display: flex;
  1513. flex-direction: row;
  1514. flex-wrap: wrap;
  1515. align-items: flex-end;
  1516. }
  1517. .th, .td {
  1518. flex: 2 2 25%;
  1519. align-self: flex-start;
  1520. overflow: hidden;
  1521. text-overflow: ellipsis;
  1522. word-wrap: break-word;
  1523. display: inline-block;
  1524. }
  1525. .td.cbi-dropdown-open {
  1526. overflow: visible;
  1527. }
  1528. .td select {
  1529. word-wrap: normal;
  1530. }
  1531. .td[data-type="button"],
  1532. .td[data-type="fvalue"] {
  1533. flex: 1 1 12.5%;
  1534. text-align: left;
  1535. }
  1536. .td.cbi-value-field {
  1537. align-self: flex-start;
  1538. }
  1539. .td.cbi-value-field .cbi-button {
  1540. width: 100%;
  1541. }
  1542. .table.cbi-section-table {
  1543. border: none;
  1544. background: none;
  1545. margin: 0;
  1546. }
  1547. .tr.table-titles,
  1548. .cbi-section-table-titles,
  1549. .cbi-section-table-descr {
  1550. display: none;
  1551. }
  1552. .cbi-section-table-row {
  1553. display: flex;
  1554. flex-direction: row;
  1555. flex-wrap: wrap;
  1556. border: 1px dotted #444;
  1557. margin: 0 0 .5em 0;
  1558. background: #fff;
  1559. }
  1560. .cbi-section-table-row:hover {
  1561. border: 1px solid #4a6b7c;
  1562. }
  1563. .cbi-section-table + .cbi-section-create {
  1564. padding-top: 0;
  1565. }
  1566. .tr[data-title]::before {
  1567. display: block;
  1568. flex: 1 1 100%;
  1569. background: #eef;
  1570. }
  1571. .td[data-title]::before,
  1572. .td[data-description]::after {
  1573. display: block;
  1574. }
  1575. .td[data-title] ~ .td.cbi-section-actions {
  1576. align-self: flex-start;
  1577. }
  1578. .td[data-title] ~ .td.cbi-section-actions::before {
  1579. display: block;
  1580. content: "\a0";
  1581. }
  1582. .hide-sm,
  1583. .hide-xs {
  1584. display: none;
  1585. }
  1586. #dsl_status_table .ifacebox-body > span > strong {
  1587. min-width: 50%;
  1588. }
  1589. }
  1590. @media screen and (max-width: 480px) {
  1591. body {
  1592. font-size: 16px;
  1593. }
  1594. input, textarea, select, .cbi-button, .cbi-dropdown {
  1595. font-size: 16px !important;
  1596. line-height: 30px;
  1597. }
  1598. select, input[type="text"], input[type="password"] {
  1599. width: 100%;
  1600. height: 30px;
  1601. border-radius: 3px;
  1602. }
  1603. input[type="text"] + .cbi-button,
  1604. input[type="password"] + .cbi-button,
  1605. select + .cbi-button {
  1606. height: 30px;
  1607. line-height: 30px;
  1608. margin-left: -5px;
  1609. min-width: 30px;
  1610. }
  1611. input.cbi-input-password,
  1612. [data-dynlist] > .add-item > input {
  1613. width: calc(100% - 25px);
  1614. }
  1615. .label {
  1616. font-size: 14px;
  1617. }
  1618. .cbi-dynlist,
  1619. .cbi-dropdown {
  1620. min-width: 100%;
  1621. height: auto;
  1622. display: flex;
  1623. }
  1624. .cbi-dropdown > .more,
  1625. .cbi-dropdown > ul > li,
  1626. .cbi-dropdown > ul > li[placeholder] {
  1627. min-height: 30px;
  1628. }
  1629. .btn, .cbi-button {
  1630. font-size: 16px !important;
  1631. line-height: 30px;
  1632. height: 30px;
  1633. overflow: hidden;
  1634. text-overflow: ellipsis;
  1635. }
  1636. #maincontent {
  1637. padding: .25em;
  1638. }
  1639. #tabmenu {
  1640. margin: -.25em -.25em 1em -.25em;
  1641. }
  1642. .th, .td {
  1643. flex: 2 2 50%;
  1644. }
  1645. .td.cbi-value-field {
  1646. flex-basis: 100%;
  1647. }
  1648. .td.cbi-value-field[data-type="dvalue"] {
  1649. flex-basis: 50%;
  1650. }
  1651. .td.cbi-value-field[data-type="button"],
  1652. .td.cbi-value-field[data-type="fvalue"] {
  1653. flex-basis: 25%;
  1654. text-align: left;
  1655. }
  1656. .cbi-value-title {
  1657. float: none;
  1658. font-weight: bold;
  1659. }
  1660. .cbi-value-field {
  1661. width: 100%;
  1662. margin: 0;
  1663. }
  1664. .cbi-value-description {
  1665. margin-top: 5px;
  1666. display: block;
  1667. }
  1668. .cbi-section-create {
  1669. margin-bottom: 1em;
  1670. }
  1671. .cbi-page-actions {
  1672. flex-wrap: wrap;
  1673. margin: -2px;
  1674. }
  1675. .cbi-page-actions > .cbi-button-link {
  1676. flex-basis: 100%;
  1677. margin-right: 2px;
  1678. }
  1679. .cbi-page-actions > * {
  1680. flex: 1 1 auto;
  1681. margin: 2px;
  1682. }
  1683. ul.cbi-tabmenu {
  1684. padding: 0 3px;
  1685. }
  1686. .hide-xs {
  1687. display: none;
  1688. }
  1689. #cbi-network .td[id] > strong {
  1690. display: block;
  1691. }
  1692. #cbi-network-switch_vlan .td.cbi-section-actions {
  1693. flex-basis: 100%;
  1694. }
  1695. #dsl_status_table .ifacebox-body > span > strong {
  1696. display: block;
  1697. width: 100%;
  1698. margin-top: .5em;
  1699. }
  1700. #cbi-firewall-rule .td[data-type="fvalue"],
  1701. #cbi-firewall-redirect .td[data-type="fvalue"] {
  1702. display: none;
  1703. }
  1704. }