cascade.scss 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633
  1. /*
  2. ATTENTION: This file is not compiled when building gluon.
  3. The compiled version is at ../files/lib/gluon/web/www/static/gluon/cascade.css
  4. Use sass like this to update it:
  5. sass --sourcemap=none -C -t compressed sass/cascade.scss files/lib/gluon/web/www/static/gluon/cascade.css
  6. When commiting changes to this file make sure to commit the respective
  7. changes to the compilid version within the same commit!
  8. */
  9. @charset "utf-8";
  10. $ffyellow: #ffb400;
  11. $ffmagenta: #dc0067;
  12. $ffzusatz: #009ee0;
  13. $red: #ee3300;
  14. @mixin button {
  15. &::-moz-focus-inner {
  16. padding: 0;
  17. border: 0;
  18. }
  19. display: inline-block;
  20. zoom: 1;
  21. line-height: normal;
  22. white-space: nowrap;
  23. vertical-align: baseline;
  24. text-align: center;
  25. cursor: pointer;
  26. user-select: none;
  27. font-size: 100%;
  28. padding: 0.5em 1em;
  29. color: rgba(0, 0, 0, 0.80);
  30. border: none rgba(0, 0, 0, 0);
  31. background-color: #E6E6E6;
  32. text-decoration: none;
  33. border-radius: 2px;
  34. /* Transitions */
  35. transition: 0.1s linear box-shadow;
  36. &:active {
  37. box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;
  38. }
  39. &:focus {
  40. outline: 0;
  41. }
  42. &:hover, &:focus {
  43. background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
  44. }
  45. &[disabled] {
  46. border: none;
  47. background-image: none;
  48. opacity: 0.40;
  49. cursor: not-allowed;
  50. box-shadow: none;
  51. }
  52. }
  53. @mixin button-primary {
  54. background-color: $ffzusatz;
  55. color: #fff;
  56. }
  57. .lang_he {
  58. direction: RTL;
  59. unicode-bidi: embed;
  60. }
  61. .hidden {
  62. display: none;
  63. }
  64. html {
  65. min-height: 100%;
  66. height: auto;
  67. position:relative;
  68. }
  69. body, input, select, option {
  70. font-family: 'Open Sans', Arial, sans-serif;
  71. font-size: 12pt;
  72. }
  73. body {
  74. color: rgb(77, 78, 83);
  75. line-height: 1.5em;
  76. margin: 0;
  77. display: flex;
  78. flex-direction: column;
  79. min-height: 100vh;
  80. background-color: #f3f3f3;
  81. }
  82. a img {
  83. border: none;
  84. text-decoration: none;
  85. }
  86. .tabmenu1 {
  87. text-align: center;
  88. }
  89. ul.tabmenu {
  90. list-style: none;
  91. padding: 0;
  92. margin: 2em 0;
  93. display: inline-flex;
  94. }
  95. ul.tabmenu li {
  96. white-space: nowrap;
  97. margin: 0 0.5em;
  98. padding: 0;
  99. text-align: center;
  100. a {
  101. display: block;
  102. text-decoration: none;
  103. padding: 1em;
  104. margin: 0;
  105. color: #333;
  106. border-radius: 2em;
  107. &:hover {
  108. background: lighten($ffyellow, 35);
  109. }
  110. }
  111. &.active a {
  112. font-weight: bold;
  113. background: white;
  114. color: #333;
  115. }
  116. }
  117. abbr,
  118. acronym {
  119. font-style: normal;
  120. font-variant: normal;
  121. }
  122. abbr[title],
  123. acronym[title] {
  124. border-bottom: 1px dotted;
  125. cursor: help;
  126. }
  127. a:link abbr[title],
  128. a:visited abbr[title],
  129. a:link acronym[title],
  130. a:visited acronym[title] {
  131. cursor: pointer;
  132. }
  133. code {
  134. font-family: monospace;
  135. white-space: pre;
  136. }
  137. #maincontent ul {
  138. margin-left: 2em;
  139. }
  140. .clear {
  141. clear: both;
  142. }
  143. .error {
  144. color: #ff0000;
  145. background-color: white;
  146. }
  147. #menubar {
  148. display: flex;
  149. background: $ffmagenta;
  150. color: #ffffff;
  151. }
  152. #menubar a:link.topcat,
  153. #menubar a:visited.topcat {
  154. position: relative;
  155. display: block;
  156. padding: 0.5em;
  157. text-decoration: none;
  158. font-size: 80%;
  159. font-weight: normal;
  160. color: white;
  161. &:hover, &:focus {
  162. background: $ffyellow;
  163. color: black;
  164. }
  165. &.active {
  166. background: $ffyellow;
  167. color: black;
  168. font-weight: bold;
  169. }
  170. }
  171. #menubar div.hostinfo {
  172. position: relative;
  173. margin: 0;
  174. padding: 0.5em;
  175. flex: 1;
  176. font-weight: bold;
  177. font-size: 80%;
  178. }
  179. #menubar div.hostinfo a {
  180. &:link, &:visited {
  181. text-decoration: none;
  182. font-weight: bold;
  183. color: white;
  184. &:hover, &:focus {
  185. text-decoration: underline;
  186. }
  187. }
  188. }
  189. #topmenu {
  190. list-style: none;
  191. margin: 0;
  192. padding: 0;
  193. }
  194. #topmenu li {
  195. display: inline-block;
  196. }
  197. #maincontent {
  198. padding: 0 1em 2em;
  199. max-width: 60em;
  200. min-width: 40em;
  201. margin: 1em auto;
  202. }
  203. #maincontent p {
  204. margin-bottom: 1em;
  205. }
  206. .gluon-section {
  207. margin: 0;
  208. padding: 0;
  209. border: none;
  210. margin-bottom: 1.3em;
  211. }
  212. .gluon-section:last-child {
  213. margin-bottom: 0.7em;
  214. }
  215. .gluon-section legend {
  216. font-size: 1.4em;
  217. font-weight: bold;
  218. position: relative;
  219. padding: 0;
  220. margin-bottom: 0.5em;
  221. }
  222. .gluon-section h2 {
  223. margin: 0em 0 0.5em -0.5em !important;
  224. }
  225. .gluon-section h3 {
  226. text-decoration: none !important;
  227. font-weight: bold !important;
  228. color: #555555 !important;
  229. margin: 0.25em !important;
  230. font-size: 100% !important;
  231. }
  232. .gluon-section-descr {
  233. margin-bottom: 2em;
  234. }
  235. input:placeholder {
  236. color: #aaaaaa;
  237. }
  238. input:-webkit-input-placeholder {
  239. color: #aaaaaa;
  240. }
  241. input:-moz-placeholder {
  242. color: #aaaaaa;
  243. }
  244. input:-ms-input-placeholder {
  245. color: #aaaaaa;
  246. }
  247. input[type=checkbox] {
  248. display: none;
  249. & + label {
  250. display: inline-block;
  251. position: relative;
  252. width: 1em;
  253. height: 1em;
  254. margin: 0;
  255. }
  256. &:checked + label:after {
  257. content: '✔';
  258. color: $ffmagenta;
  259. vertical-align: middle;
  260. position: absolute;
  261. top: 50%;
  262. left: 0;
  263. margin-top: -0.5em;
  264. width: 100%;
  265. text-align: center;
  266. font-size: 1.7em;
  267. }
  268. }
  269. input[type=radio] {
  270. display: none;
  271. & + label {
  272. display: inline-block;
  273. position: relative;
  274. width: 0.8em;
  275. height: 0.8em;
  276. padding: 0.5em;
  277. margin: 0.2em 0.2em 0.2em 0.1em;
  278. border: none;
  279. background: lighten($ffyellow, 30);
  280. vertical-align: middle;
  281. border-radius: 50%;
  282. }
  283. &:checked + label:after {
  284. content: '•';
  285. color: $ffmagenta;
  286. vertical-align: middle;
  287. position: absolute;
  288. top: 50%;
  289. left: 0;
  290. margin-top: -0.4em;
  291. width: 100%;
  292. text-align: center;
  293. font-size: 2em;
  294. }
  295. }
  296. input[type=submit],
  297. input[type=reset],
  298. input[type=image],
  299. input[type=button] {
  300. cursor: pointer;
  301. }
  302. select,
  303. input,
  304. textarea,
  305. input[type=checkbox] + label {
  306. color: darken($ffzusatz, 30);
  307. border: none;
  308. background: lighten($ffyellow, 30);
  309. border-radius: 3pt;
  310. padding: 0.5em;
  311. margin-top: 1px;
  312. margin-bottom: 2px;
  313. }
  314. input[type=image] {
  315. border: none;
  316. }
  317. select,
  318. input[type=text],
  319. input[type=password] {
  320. min-width: 20em;
  321. }
  322. input.gluon-button {
  323. @include button;
  324. margin-left: 0.5em;
  325. background-repeat: no-repeat;
  326. }
  327. input.gluon-button-reset {
  328. background-color: $red;
  329. color: #fff;
  330. }
  331. input.gluon-button-submit {
  332. @include button-primary;
  333. }
  334. .gluon-input-invalid {
  335. background: $red !important;
  336. color: white;
  337. }
  338. div.gluon-section-remove input {
  339. border-bottom: none;
  340. }
  341. textarea {
  342. margin-left: -1px;
  343. margin-bottom: 0.5em;
  344. }
  345. .gluon-section .gluon-rowstyle-1 h3 {
  346. background-color: #eeeeff;
  347. color: #555555;
  348. }
  349. .gluon-rowstyle-2 {
  350. color: #000000;
  351. }
  352. div.gluon-value {
  353. display: flex;
  354. flex-direction: row;
  355. margin-bottom: 0.5em;
  356. }
  357. .gluon-section-node .gluon-value:last-child {
  358. margin-bottom: 0;
  359. }
  360. .gluon-value-title {
  361. flex: 2;
  362. text-align: right;
  363. padding-top: 0.39em;
  364. padding-right: 1em;
  365. font-weight: bold;
  366. }
  367. div.gluon-value-field {
  368. flex: 3;
  369. position: relative;
  370. input, select, input + label {
  371. position: relative;
  372. }
  373. }
  374. div.gluon-value-field-text {
  375. flex: 3;
  376. padding-top: 0.39em;
  377. }
  378. div.gluon-value-field-long {
  379. flex: 10;
  380. position: relative;
  381. margin-top: 0.65em;
  382. input, select, input + label {
  383. position: relative;
  384. }
  385. }
  386. div.gluon-value-field-long-after {
  387. flex: 2;
  388. }
  389. div.gluon-value-description {
  390. font-size: 8pt;
  391. }
  392. div.gluon-section-create {
  393. clear: left;
  394. white-space: nowrap;
  395. vertical-align: top;
  396. }
  397. div.gluon-section-create .gluon-button {
  398. margin: 0.25em;
  399. }
  400. input.gluon-section-create-name {
  401. margin-right: -0.25em;
  402. }
  403. div.gluon-map-descr {
  404. margin-bottom: 1em;
  405. }
  406. .gluon-map-descr:empty, .gluon-section-descr:empty {
  407. display: none;
  408. }
  409. .gluon-map-descr, .gluon-section-descr, .gluon-page-actions {
  410. padding: 1em;
  411. background: #ececec;
  412. }
  413. .gluon-page-actions {
  414. text-align: right;
  415. display: flex;
  416. flex-flow: row-reverse;
  417. }
  418. div.gluon-optionals {
  419. padding: 0.25em;
  420. border-bottom: 1px dotted #bbbbbb;
  421. }
  422. div.gluon-section-remove {
  423. float: right;
  424. }
  425. .gluon-section-node {
  426. clear: both;
  427. position: relative;
  428. border: none;
  429. }
  430. .gluon-section-node-tabbed {
  431. border-top-left-radius: 0;
  432. }
  433. div.gluon-error {
  434. font-size: 95%;
  435. font-weight: bold;
  436. color: #ff0000;
  437. background-color: #ffffff;
  438. }
  439. .gluon-value-error input,
  440. .gluon-value-error select {
  441. background-color: #ffcccc;
  442. }
  443. .gluon-section-error {
  444. color: red;
  445. background-color: white;
  446. font-size: 95%;
  447. border: 1px dotted red;
  448. margin: 3px;
  449. padding: 3px;
  450. }
  451. .gluon-value-field var {
  452. color: #2222FF;
  453. }
  454. .gluon-add:after, .gluon-remove:after {
  455. cursor: pointer;
  456. display: inline-block;
  457. text-align: center;
  458. vertical-align: middle;
  459. font-size: 180%;
  460. width: 1.2em;
  461. height: 1em;
  462. }
  463. .gluon-add {
  464. color: #008000;
  465. position: relative;
  466. left: 21em;
  467. input + & {
  468. left: 0;
  469. top: 0.04em;
  470. }
  471. &:first-child {
  472. top: 0.53em;
  473. left: -0.08em;
  474. }
  475. &:after {
  476. content: '+';
  477. }
  478. }
  479. .gluon-remove {
  480. color: #800000;
  481. position: relative;
  482. top: -0.03em;
  483. &:after {
  484. content: '–';
  485. }
  486. }
  487. .left {
  488. text-align: left !important;
  489. }
  490. .right {
  491. text-align: right !important;
  492. }
  493. .inline {
  494. display: inline;
  495. }
  496. .error500 {
  497. border: 1px dotted #ff0000;
  498. background-color: #ffffff;
  499. color: #000000;
  500. padding: 0.5em;
  501. }
  502. .errorbox {
  503. border: 1px solid #FF0000;
  504. background-color: #FFCCCC;
  505. padding: 5px;
  506. margin-bottom: 5px;
  507. }
  508. .errorbox a {
  509. color: #000000 !important;
  510. }
  511. .the-key {
  512. text-align: left;
  513. font-size: 1.4em;
  514. background: lighten($ffyellow, 35);
  515. border: 3pt dashed $ffmagenta;
  516. margin-bottom: 0.5em;
  517. padding: 0.5em
  518. }