You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

482 lines
8.7 KiB

  1. //TODO: clean up less file
  2. body {
  3. //TODO: nicer fonts some day
  4. }
  5. .mdl-button--icon {
  6. .material-icons {
  7. text-shadow: none;
  8. }
  9. }
  10. .material-icons {
  11. //text-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  12. }
  13. .page-content {
  14. a,
  15. a:link,
  16. a:active,
  17. a:visited,
  18. a:hover {
  19. color: #3986dd;
  20. text-decoration: none;
  21. }
  22. a:hover {
  23. text-decoration: underline;
  24. }
  25. pre,
  26. code,
  27. samp,
  28. kbd {
  29. font-family: Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif;
  30. font-size: 1em;
  31. direction: ltr;
  32. text-align: left;
  33. background-color: @ini_code_background;
  34. color: @ini_text;
  35. }
  36. pre {
  37. overflow: auto;
  38. word-wrap: normal;
  39. line-height: 1.3;
  40. padding: .7em 1em;
  41. }
  42. h1, h2, h3, h4, h5, h6 {
  43. //TODO: nice heading styles
  44. }
  45. blockquote{
  46. font-size: 1.2em;
  47. letter-spacing: 0px;
  48. min-width: 20%;
  49. margin: 1em 1em;
  50. color: #555555;
  51. font-style: normal;
  52. padding: 1.2em 30px 1.2em 10px;// 75px;
  53. border-left: 8px solid #909090 ;
  54. line-height:1.4;
  55. position: relative;
  56. background:#EDEDED;
  57. }
  58. table{
  59. background: white;
  60. border-radius: 6px;
  61. border-collapse: collapse;
  62. max-width: 600px;
  63. padding: 12px;
  64. width: 100%;
  65. ._shadow_0dp;
  66. }
  67. th {
  68. color: @light_primary;
  69. background: rgba(0, 0, 0, 0.64);
  70. font-size: 1.5em;
  71. font-weight: 100;
  72. padding: 12px;
  73. text-align:left;
  74. vertical-align:middle;
  75. }
  76. th:first-child {
  77. border-top-left-radius: 6px;
  78. }
  79. th:last-child {
  80. border-top-right-radius: 6px;
  81. border-right:none;
  82. }
  83. tr {
  84. color:#666B85;
  85. font-size: 1em;
  86. font-weight:normal;
  87. }
  88. tr:first-child {
  89. border-top: 6px;
  90. }
  91. tr:nth-child(odd) td {
  92. background: rgba(0,0,0,0.05 );
  93. }
  94. td {
  95. background:#FFFFFF;
  96. padding: 12px 12px;
  97. text-align:left;
  98. vertical-align:middle;
  99. font-size:1em;
  100. &.centeralign {
  101. text-align: center;
  102. }
  103. &.rightalign {
  104. text-align: right;
  105. }
  106. &.leftalign {
  107. text-align: left;
  108. }
  109. }
  110. /*blockquote::before{
  111. font-family:Arial;
  112. content: "\201C";
  113. color:#78C0A8;
  114. font-size:4em;
  115. position: absolute;
  116. left: 10px;
  117. top:-10px;
  118. }*/
  119. blockquote::before{
  120. content: '';
  121. }
  122. blockquote::after{
  123. content: '';
  124. }
  125. blockquote cite{
  126. display:block;
  127. color:#333333;
  128. font-style: normal;
  129. font-weight: bold;
  130. margin-top:1em;
  131. }
  132. }
  133. @media (min-width: 1025px) {
  134. .page-content {
  135. margin-left: 16px;
  136. }
  137. }
  138. @media (min-width: 1600px) {
  139. .page-content {
  140. width: 1200px;
  141. margin: 0 auto;
  142. }
  143. }
  144. @media (min-width: 2000px) {
  145. .page-content {
  146. width: 1400px;
  147. margin: 0 auto;
  148. }
  149. }
  150. .content-search__popup {
  151. background: #fff;
  152. width: 100%;
  153. ._shadow_1dp;
  154. margin-top: -10px;
  155. padding-top: 10px;
  156. strong{
  157. padding: 1em;
  158. }
  159. }
  160. .drawer-top {
  161. background: @primary;
  162. padding: 5px 0 20px;
  163. min-height: 15em;
  164. box-shadow: inset 0px -1px 4px 0px rgba(0,0,0,0.7);
  165. ._shadow_1dp;
  166. .mdl-logo{
  167. padding: 16px;
  168. margin: 0;
  169. img {
  170. width: 100%;
  171. }
  172. }
  173. }
  174. .mdl-logo {
  175. a {
  176. color: @light_primary;
  177. text-decoration: none;
  178. }
  179. }
  180. .drawer-tagline {
  181. color: @light_primary;
  182. margin: 1em;
  183. text-align: center;
  184. font-size: 1.3em;
  185. }
  186. .mdl-navigation {
  187. margin-top: 16px;
  188. a{
  189. color: @light_secondary;
  190. text-decoration: none;
  191. margin: 10px;
  192. font-size: 14px;
  193. font-weight: 400;
  194. line-height: 24px;
  195. letter-spacing: 0;
  196. }
  197. }
  198. .content-title {
  199. font-size: 2em !important;
  200. font-weight: bold;
  201. }
  202. .content-notif {
  203. margin: 1em 2em;
  204. }
  205. .content-youarehere {
  206. margin: 1em 2em;
  207. margin-right: 48px;
  208. background: transparent;
  209. color: rgba(0,0,0,0.8);
  210. p {
  211. line-height: 2em;
  212. padding-left: 1em;
  213. }
  214. }
  215. .content-actions {
  216. position: absolute;
  217. right: 0;
  218. top: 10px;
  219. margin-right: -30px;
  220. display: flex;
  221. flex-direction: column;
  222. justify-content: flex-start;
  223. }
  224. .content-actions__container {
  225. position: fixed;
  226. margin: 0px -55px;
  227. }
  228. .content-actions__action {
  229. padding: .3em 0;
  230. svg{
  231. fill: #fff;
  232. stroke: #fff;
  233. color: #fff;
  234. }
  235. }
  236. .content-actions__action-button {
  237. ._shadow_hover;
  238. ._shadow_2dp;
  239. }
  240. .content-card {
  241. ._shadow_1dp;
  242. margin: 2em;
  243. background: #fff;
  244. position: relative;
  245. margin-right: 48px;
  246. min-height: 300px;
  247. }
  248. .content-card__title {
  249. ._shadow_0dp;
  250. margin-bottom: 10px;
  251. h1{
  252. margin: 12px 0px;
  253. }
  254. }
  255. .pagename-bar {
  256. display: block;
  257. padding: 1em;
  258. background-color: @primary;
  259. color: @light_primary;
  260. text-transform: lowercase;
  261. font-weight: bold;
  262. }
  263. .pagename-title {
  264. padding: 0.2em;
  265. }
  266. .content-card__text {
  267. padding: 2em;
  268. padding-top: 0.5em;
  269. /*
  270. TODO: nicely format lists
  271. .toc, .idx {
  272. .level1 {
  273. list-style: decimal;
  274. margin-left: 1em;
  275. }
  276. .level2 {
  277. list-style: lower-roman;
  278. margin-left: 2em;
  279. }
  280. }
  281. .idx {
  282. li {
  283. list-style: decimal;
  284. margin-left: 1em;
  285. }
  286. }
  287. //TODO: proper heading sizes
  288. h1 {
  289. font-size: 3em
  290. }
  291. h2 {
  292. font-size: 2em
  293. }
  294. h3 {
  295. font-size: 1.5em
  296. }
  297. h4 {
  298. font-size: 1em;
  299. }
  300. */
  301. h2,h3,h4,h5,h6 {
  302. font-weight: 300;
  303. }
  304. .edit {
  305. width: 98%;
  306. }
  307. #size__ctl{
  308. display: none;
  309. }
  310. .editButtons {
  311. button {
  312. background: transparent;
  313. border: none;
  314. border-radius: 2px;
  315. color: rgb(0, 0, 0);
  316. position: relative;
  317. height: 32px;
  318. margin: .5em 1em;
  319. min-width: 48px;
  320. padding: 0 12px;
  321. display: inline-block;
  322. font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  323. font-size: 14px;
  324. font-weight: 500;
  325. text-transform: uppercase;
  326. letter-spacing: 0;
  327. overflow: hidden;
  328. will-change: box-shadow;
  329. transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  330. outline: none;
  331. cursor: pointer;
  332. text-decoration: none;
  333. text-align: center;
  334. line-height: 36px;
  335. vertical-align: middle;
  336. background: rgba(158, 158, 158, 0.20);
  337. box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  338. }
  339. button::-moz-focus-inner {
  340. border: 0;
  341. }
  342. button:hover {
  343. background-color: rgba(158, 158, 158, 0.20);
  344. }
  345. button:focus:not(:active) {
  346. box-shadow: 0 0 8px rgba(0, 0, 0, 0.18), 0 8px 16px rgba(0, 0, 0, 0.36);
  347. background-color: rgba(158, 158, 158, 0.40);
  348. }
  349. button:active {
  350. box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  351. background-color: rgba(158, 158, 158, 0.40);
  352. }
  353. #edbtn__save {
  354. background: @ini_accent;
  355. color: rgb(255,255,255)
  356. }
  357. .toolbutton {
  358. background: transparent;
  359. }
  360. }
  361. }
  362. #config__manager{
  363. fieldset{
  364. background: #fff;
  365. ._shadow_1dp;
  366. margin: 16px 0px;
  367. table{
  368. width: auto;
  369. }
  370. .value{
  371. width: auto;
  372. }
  373. }
  374. }
  375. #config__manager tr.default .input, #config__manager tr.default input, #config__manager tr.default textarea, #config__manager tr.default select, #config__manager .selectiondefault {
  376. background-color: #fff;
  377. }
  378. .secedit {
  379. button {
  380. background: transparent;
  381. border: none;
  382. border-radius: 2px;
  383. color: rgb(0, 0, 0);
  384. position: relative;
  385. height: 32px;
  386. margin: 0;
  387. min-width: 48px;
  388. padding: 0 12px;
  389. display: inline-block;
  390. font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  391. font-size: 14px;
  392. font-weight: 500;
  393. text-transform: uppercase;
  394. letter-spacing: 0;
  395. overflow: hidden;
  396. will-change: box-shadow;
  397. transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  398. outline: none;
  399. cursor: pointer;
  400. text-decoration: none;
  401. text-align: center;
  402. line-height: 36px;
  403. vertical-align: middle;
  404. background: rgba(158, 158, 158, 0.20);
  405. box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  406. }
  407. button::-moz-focus-inner {
  408. border: 0;
  409. }
  410. button:hover {
  411. background-color: rgba(158, 158, 158, 0.20);
  412. }
  413. button:focus:not(:active) {
  414. box-shadow: 0 0 8px rgba(0, 0, 0, 0.18), 0 8px 16px rgba(0, 0, 0, 0.36);
  415. background-color: rgba(158, 158, 158, 0.40);
  416. }
  417. button:active {
  418. box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  419. background-color: rgba(158, 158, 158, 0.40);
  420. }
  421. }
  422. .ui-admin {
  423. svg{
  424. fill: @primary;
  425. }
  426. }
  427. .mdl-mini-footer {
  428. min-height: max-content;
  429. .mdl-mini-footer__left-section {
  430. overflow: hidden;
  431. padding-left: 12px;
  432. }
  433. }