cascade.css 39 KB

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