cascade.css 39 KB

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