shaarli.scss 23 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357
  1. $fa-font-path: "~font-awesome/fonts";
  2. @import "~font-awesome/scss/font-awesome.scss";
  3. @import '~purecss/build/pure.css';
  4. @import '~purecss/build/grids-responsive.css';
  5. @import '~pure-extras/css/pure-extras.css';
  6. @import '~awesomplete/awesomplete.css';
  7. /**
  8. * General
  9. */
  10. body {
  11. background: #d0d0d0;
  12. }
  13. .strong {
  14. font-weight: bold;
  15. }
  16. .clear {
  17. clear: both;
  18. }
  19. .center {
  20. text-align: center;
  21. margin: auto;
  22. }
  23. .label {
  24. display: inline-block;
  25. padding: .25em .4em;
  26. font-size: 75%;
  27. font-weight: 700;
  28. line-height: 1;
  29. text-align: center;
  30. white-space: nowrap;
  31. vertical-align: baseline;
  32. border-radius: .25rem;
  33. }
  34. pre {
  35. max-width: 100%;
  36. }
  37. @font-face {
  38. font-family: 'Roboto';
  39. font-weight: 400;
  40. font-style: normal;
  41. src:
  42. local('Roboto'),
  43. local('Roboto-Regular'),
  44. url('../fonts/Roboto-Regular.woff2') format('woff2'),
  45. url('../fonts/Roboto-Regular.woff') format('woff');
  46. }
  47. @font-face {
  48. font-family: 'Roboto';
  49. font-weight: 700;
  50. font-style: normal;
  51. src:
  52. local('Roboto'),
  53. local('Roboto-Bold'),
  54. url('../fonts/Roboto-Bold.woff2') format('woff2'),
  55. url('../fonts/Roboto-Bold.woff') format('woff');
  56. }
  57. body, .pure-g [class*="pure-u"] {
  58. font-family: Roboto, Arial, sans-serif;
  59. }
  60. /**
  61. * Extends Pure grids responsive to hide items.
  62. * Use xx-0 to hide an item on xx screen.
  63. * Display it at any level with xx-visible.
  64. */
  65. .pure-u-0 { display: none !important; }
  66. @media screen and (min-width: 35.5em) {
  67. .pure-u-sm-0 { display: none !important; }
  68. .pure-u-sm-visible { display: inline-block !important; }
  69. }
  70. @media screen and (min-width: 48em) {
  71. .pure-u-md-0 { display: none !important; }
  72. .pure-u-md-visible { display: inline-block !important; }
  73. }
  74. @media screen and (min-width: 64em) {
  75. .pure-u-lg-0 { display: none !important; }
  76. .pure-u-lg-visible { display: inline-block !important; }
  77. }
  78. @media screen and (min-width: 80em) {
  79. .pure-u-xl-0 { display: none !important; }
  80. .pure-u-xl-visible { display: inline-block !important; }
  81. }
  82. /**
  83. * Make pure-extras alert closable.
  84. */
  85. .pure-alert-closable .fa-times {
  86. float: right;
  87. }
  88. .pure-alert-close {
  89. cursor: pointer;
  90. }
  91. .pure-alert-success {
  92. background-color: #1b926c;
  93. }
  94. .anchor:target {
  95. padding-top: 40px;
  96. }
  97. /**
  98. * MENU
  99. **/
  100. .shaarli-menu {
  101. position: fixed;
  102. top: 0;
  103. width: 100%;
  104. --height: 50px;
  105. background: #1b926c;
  106. -webkit-font-smoothing: antialiased;
  107. /* Hack to transition with auto height: http://stackoverflow.com/a/8331169/1484919 */
  108. max-height: 45px;
  109. transition: max-height 0.5s;
  110. overflow: hidden;
  111. z-index: 999;
  112. }
  113. /* Chrome bugfix: with 100% height, it only displays the first element. */
  114. .pure-menu-item {
  115. height: 45px;
  116. }
  117. .shaarli-menu.open {
  118. max-height: 500px;
  119. transition: max-height 0.75s;
  120. }
  121. .head-logo {
  122. float: left;
  123. margin: 0 5px 0 0;
  124. }
  125. .pure-menu-link,
  126. .pure-menu-link:visited,
  127. .pure-menu-selected .pure-menu-link,
  128. .pure-menu-selected .pure-menu-link:visited {
  129. padding: 0.8em 1em;
  130. color: #f5f5f5;
  131. }
  132. .pure-menu-link:hover, .pure-menu-link:focus,
  133. .pure-menu-selected .pure-menu-link:hover,
  134. .pure-menu-selected .pure-menu-link:focus {
  135. color: #fff;
  136. background: transparent;
  137. }
  138. .pure-menu-item:hover::after {
  139. margin: -4px auto 0 auto;
  140. display: block;
  141. content:"";
  142. background: #fff;
  143. height: 4px;
  144. width: 100%;
  145. }
  146. .menu-toggle {
  147. width: 34px;
  148. height: 45px;
  149. position: absolute;
  150. top: 5px;
  151. right: 0;
  152. display: none;
  153. }
  154. .menu-toggle .bar {
  155. background-color: #b0ddce;
  156. display: block;
  157. width: 20px;
  158. height: 2px;
  159. border-radius: 100px;
  160. position: absolute;
  161. top: 18px;
  162. right: 7px;
  163. transition: all 0.5s;
  164. }
  165. .menu-toggle .bar:first-child {
  166. transform: translateY(-6px);
  167. }
  168. .menu-toggle.x .bar {
  169. transform: rotate(45deg);
  170. }
  171. .menu-toggle.x .bar:first-child {
  172. transform: rotate(-45deg);
  173. }
  174. @media screen and (max-width: 64em) {
  175. .menu-toggle {
  176. display: block;
  177. }
  178. }
  179. .header-buttons {
  180. text-align: right;
  181. }
  182. .linkcount {
  183. color: #252525;
  184. font-size: 0.8em;
  185. }
  186. @media screen and (min-width: 64em) {
  187. .linkcount {
  188. position: absolute;
  189. right: 5px;
  190. }
  191. }
  192. #search, #search-linklist, #search-tagcloud {
  193. text-align: center;
  194. width: 100%;
  195. }
  196. #search input[type="text"], #search-linklist input[type="text"] {
  197. padding: 0 5px;
  198. height: 30px;
  199. width: 260px;
  200. background: #f5f5f5;
  201. border: medium none currentColor;
  202. box-shadow: 0 1px 0 rgba(255, 255, 255, 0.078), 0 1px 1px rgba(0, 0, 0, 0.298) inset;
  203. border-radius: 2px;
  204. color: #252525;
  205. }
  206. @media screen and (max-width: 64em) {
  207. .searchform {
  208. max-width: 260px;
  209. margin: 0 auto;
  210. }
  211. }
  212. /* because chrome */
  213. #search input[type="text"]::-webkit-input-placeholder,
  214. #search-linklist input[type="text"]::-webkit-input-placeholder {
  215. color: #777777;
  216. }
  217. #search button,
  218. #search-tagcloud button,
  219. #search-linklist button {
  220. padding: 4px 8px 6px 8px;
  221. background-color: #1B926C;
  222. color: #f5f5f5;
  223. border: none;
  224. border-radius: 2px;
  225. }
  226. #search-tagcloud button {
  227. width: 90%;
  228. }
  229. @media screen and (max-width: 64em) {
  230. #search-linklist button {
  231. width: 100%;
  232. }
  233. #search-linklist .awesomplete {
  234. margin: 5px 0;
  235. }
  236. }
  237. #search button:hover,
  238. #search-linklist button:hover,
  239. #search-tagcloud button:hover {
  240. color: #d0d0d0;
  241. }
  242. #search,
  243. #search-linklist {
  244. padding: 6px 0;
  245. }
  246. @media screen and (max-width: 64em) {
  247. #search, #search * {
  248. visibility: hidden;
  249. }
  250. }
  251. .subheader-form a.button {
  252. color: #f5f5f5;
  253. font-weight: bold;
  254. text-decoration: none;
  255. border: 2px solid #f5f5f5;
  256. border-radius: 5px;
  257. padding: 3px 10px;
  258. }
  259. .linklist-item-editbuttons .delete-checkbox {
  260. display: none;
  261. }
  262. #header-login-form input[type="text"], #header-login-form input[type="password"] {
  263. width: 200px;
  264. }
  265. /* because chrome */
  266. #header-login-form input[type="text"]::-webkit-input-placeholder,
  267. #header-login-form input[type="password"]::-webkit-input-placeholder {
  268. color: #777777;
  269. }
  270. .subheader-form {
  271. visibility: hidden;
  272. position: fixed;
  273. width: 100%;
  274. text-align: center;
  275. background: #1b926c;
  276. display: block;
  277. z-index: 999;
  278. height: 30px;
  279. padding: 5px 0;
  280. }
  281. @media screen and (min-width: 64em) {
  282. .subheader-form.open, .subheader-form.open * {
  283. visibility: visible;
  284. }
  285. }
  286. .subheader-form input[type="text"], .subheader-form input[type="password"], .subheader-form .remember-me {
  287. padding: 5px 5px 3px 15px;
  288. height: 20px;
  289. width: 20%;
  290. background: #f5f5f5;
  291. border: medium none currentColor;
  292. border-radius: 2px;
  293. box-shadow: 0 1px 0 rgba(255, 255, 255, 0.078), 0 1px 4px rgba(0, 0, 0, 0.298) inset;
  294. color: #252525;
  295. }
  296. /* because chrome */
  297. .subheader-form input[type="text"]::-webkit-input-placeholder,
  298. .subheader-form input[type="password"]::-webkit-input-placeholder
  299. {
  300. color: #252525;
  301. }
  302. .subheader-form .remember-me {
  303. display: inline-block;
  304. width: auto;
  305. padding: 5px 20px 3px 20px;
  306. cursor: pointer;
  307. }
  308. .subheader-form .remember-me label, .subheader-form .remember-me input {
  309. cursor: pointer;
  310. }
  311. .subheader-form input[type="submit"] {
  312. display: inline-block;
  313. margin: 0 0 5px 0;
  314. padding: 4px 0 4px 0;
  315. height: 28px;
  316. width: 100px;
  317. background: #1b926c;
  318. border: 1px solid #f5f5f5;
  319. color: #f5f5f5;
  320. border-radius: 2px;
  321. }
  322. .subheader-form input[type="submit"]:hover {
  323. background: #f5f5f5;
  324. color: #1b926c;
  325. }
  326. .new-version-message {
  327. text-align: center;
  328. }
  329. .new-version-message a {
  330. color: rgb(151, 96, 13);
  331. font-weight: bold;
  332. }
  333. /**
  334. * CONTENT - GENERAL
  335. */
  336. #content {
  337. position: relative;
  338. z-index: 2;
  339. margin-top: 45px;
  340. }
  341. /**
  342. * Plugins additional forms
  343. */
  344. .toolbar-plugin {
  345. margin: 5px 0;
  346. text-align: center;
  347. }
  348. .toolbar-plugin input[type="text"] {
  349. padding: 0 5px;
  350. height: 30px;
  351. width: 300px;
  352. background: #f5f5f5;
  353. border: medium none currentColor;
  354. box-shadow: 0 1px 0 rgba(255, 255, 255, 0.078), 0 1px 1px rgba(0, 0, 0, 0.298) inset;
  355. border-radius: 2px;
  356. color: #252525;
  357. }
  358. /* because chrome */
  359. .toolbar-plugin input[type="text"]::-webkit-input-placeholder {
  360. color: #777777;
  361. }
  362. .toolbar-plugin input[type="submit"] {
  363. padding: 0 10px;
  364. height: 30px;
  365. background: #f5f5f5;
  366. border: medium none currentColor;
  367. border-radius: 2px;
  368. color: #252525;
  369. }
  370. .toolbar-plugin input[type="submit"]:hover {
  371. background: #fff;
  372. }
  373. @media screen and (max-width: 64em) {
  374. .toolbar-plugin input[type="text"] {
  375. width: 70%;
  376. }
  377. }
  378. /**
  379. * CONTENT - LINKLIST PAGING
  380. * 64em -> lg
  381. */
  382. .linklist-filters {
  383. margin: 5px 0;
  384. color: #252525;
  385. font-size: 0.9em;
  386. }
  387. .linklist-filters a {
  388. padding: 5px 8px;
  389. text-decoration: none;
  390. }
  391. .linklist-filters .filter-off {
  392. color: #252525;
  393. background: #f5f5f5;
  394. }
  395. .linklist-filters .filter-on {
  396. color: #b0ddce;
  397. background: #1b926c;
  398. }
  399. .linklist-filters .filter-block {
  400. color: #f5f5f5;
  401. background: #ac2925;
  402. }
  403. .linklist-pages {
  404. margin: 5px 0;
  405. color: #252525;
  406. text-align: center;
  407. }
  408. .linklist-pages a {
  409. color: #252525;
  410. text-decoration: none;
  411. }
  412. .linklist-pages a:hover {
  413. color: #fff;
  414. }
  415. .linksperpage {
  416. margin: 5px 0;
  417. text-align: right;
  418. color: #252525;
  419. font-size: 0.9em;
  420. }
  421. .linksperpage a {
  422. padding: 5px 5px;
  423. text-decoration: none;
  424. color: #252525;
  425. background: #f5f5f5;
  426. }
  427. .linksperpage a, .linksperpage input[type="text"] {
  428. display: inline-block;
  429. width: 20px;
  430. text-align: center;
  431. }
  432. .linksperpage form {
  433. display: inline;
  434. }
  435. .linksperpage input[type="text"] {
  436. height: 20px;
  437. margin: 0;
  438. padding: 4px 5px 3px 8px;
  439. background: #f5f5f5;
  440. border: medium none currentColor;
  441. color: #252525;
  442. font-size: 0.8em;
  443. }
  444. /**
  445. * CONTENT - LINKLIST ITEMS
  446. */
  447. .linklist-item {
  448. margin: 0 0 10px 0;
  449. background: #f5f5f5;
  450. box-shadow: 1px 1px 3px #797979;
  451. }
  452. .linklist-item-buttons {
  453. background: transparent;
  454. position: relative;
  455. width: 23px;
  456. z-index: 99;
  457. }
  458. .linklist-item-buttons-right {
  459. float: right;
  460. margin-right: -25px;
  461. }
  462. .linklist-item-buttons * {
  463. display: block;
  464. float: left;
  465. width:100%;
  466. margin: auto;
  467. text-align: center;
  468. }
  469. .linklist-item-title, .linklist-item-title h2 {
  470. margin: 0;
  471. word-wrap: break-word;
  472. }
  473. .linklist-item-title {
  474. position: relative;
  475. background: #f5f5f5;
  476. }
  477. .linklist-item-title h2 {
  478. padding: 3px 10px 0 10px;
  479. line-height: 30px;
  480. }
  481. .linklist-item-title h2 a {
  482. font-size: 0.7em;
  483. color: #252525;
  484. text-decoration: none;
  485. vertical-align: middle;
  486. }
  487. .linklist-item-title .linklist-link {
  488. font-size: 1.1em;
  489. color: #1b926c;
  490. }
  491. .linklist-item-title h2 a:visited .linklist-link {
  492. color: #2a4c41;
  493. }
  494. .linklist-item-title h2 a:hover, .linklist-item-title .linklist-link:hover{
  495. color: #252525;
  496. }
  497. .linklist-item-title .label-private {
  498. border: solid 1px #F89406;
  499. font-family: Arial, sans-serif;
  500. font-size: 0.65em;
  501. color: #F89406;
  502. }
  503. .fold-button {
  504. display: none;
  505. color: #252525;
  506. }
  507. .linklist-item-editbuttons {
  508. float: right;
  509. padding: 8px 5px;
  510. }
  511. .linklist-item-editbuttons * {
  512. display: block;
  513. float: left;
  514. margin: 0 1px;
  515. }
  516. .linklist-item-editbuttons a {
  517. font-size: 1em;
  518. }
  519. .edit-link {
  520. font-size: 1.2em;
  521. color: #0b5ea6;
  522. }
  523. .delete-link {
  524. font-size: 1.3em;
  525. color: #ac2925 !important;
  526. }
  527. .linklist-item-description {
  528. position: relative;
  529. padding: 0 10px;
  530. word-wrap: break-word;
  531. color: #252525;
  532. line-height: 1.3em;
  533. }
  534. .linklist-item-description a {
  535. text-decoration: none;
  536. color: #1b926c;
  537. }
  538. .linklist-item-description a:hover {
  539. color: #252525;
  540. }
  541. .linklist-item-description a:visited {
  542. color: #14553f;
  543. }
  544. .linklist-item-thumbnail {
  545. position: relative;
  546. padding: 0 0 0 5px;
  547. margin: 0;
  548. float: right;
  549. z-index: 50;
  550. height: 90px;
  551. }
  552. .linklist-item.private .linklist-item-title::before,
  553. .linklist-item.private .linklist-item-description::before {
  554. position: absolute;
  555. left: 3px;
  556. top: 0;
  557. display: block;
  558. content:"";
  559. background: #F89406;
  560. height: 96%;
  561. width: 2px;
  562. z-index: 1;
  563. }
  564. .linklist-item.private .linklist-item-description::before {
  565. height: 100%;
  566. }
  567. .linklist-item.private .linklist-item-title::before {
  568. margin-top: 3px;
  569. }
  570. .linklist-item-infos {
  571. padding: 4px 8px 4px 8px;
  572. background: #ddd;
  573. color: #252525;
  574. }
  575. .linklist-item-infos a {
  576. color: #252525;
  577. text-decoration: none;
  578. }
  579. .linklist-item-infos a:hover {
  580. color: #000;
  581. }
  582. .linklist-item-infos .linklist-item-tags {
  583. font-size: 0.8em;
  584. }
  585. .linklist-item-infos .label-tag {
  586. font-size: 1em;
  587. }
  588. .linklist-item-infos-dateblock {
  589. font-size: 0.9em;
  590. }
  591. .linklist-plugin-icon {
  592. width: 13px;
  593. height: 13px;
  594. }
  595. .linklist-item-infos-url {
  596. text-align: right;
  597. white-space: nowrap;
  598. overflow: hidden;
  599. text-overflow: ellipsis;
  600. font-size: 0.8em;
  601. height:23px;
  602. line-height:23px;
  603. }
  604. .linklist-item-infos .mobile-buttons {
  605. text-align: right;
  606. }
  607. .linklist-item-infos .linklist-plugin-icon {
  608. display: inline-block;
  609. margin: 0 2px;
  610. width: 16px;
  611. height: 16px;
  612. }
  613. .linklist-item-infos-controls-group {
  614. display: inline-block;
  615. border-right: 1px solid #5d5d5d;
  616. padding-right: 6px;
  617. }
  618. .ctrl-edit {
  619. margin: 0 7px;
  620. }
  621. /** 64em -> lg **/
  622. @media screen and (max-width: 64em) {
  623. .linklist-item-infos-url {
  624. text-align: left;
  625. }
  626. }
  627. /**
  628. * Footer
  629. */
  630. #footer {
  631. margin: 20px 0;
  632. padding: 5px;
  633. text-align: center;
  634. color: #252525;
  635. }
  636. #footer:before {
  637. display: block;
  638. content:"";
  639. background: linear-gradient(to right, #949393, #252525, #949393);
  640. height: 1px;
  641. width: 80%;
  642. margin: 10px auto;
  643. }
  644. #footer a {
  645. color: #252525;
  646. }
  647. /**
  648. * PAGE FORM
  649. */
  650. .page-form {
  651. margin: 20px 0 0 0;
  652. background: #f5f5f5;
  653. box-shadow: 1px 1px 2px #797979;
  654. color: #252525;
  655. overflow: hidden;
  656. }
  657. .page-form .window-title {
  658. margin: 0 0 10px 0;
  659. padding: 10px 0;
  660. width: 100%;
  661. color: #1b926c;
  662. background: #f5f5f5;
  663. text-align: center;
  664. }
  665. .page-form .window-subtitle {
  666. text-align: center;
  667. }
  668. .page-form a {
  669. color: #1b926c;
  670. font-weight: bold;
  671. text-decoration: none;
  672. }
  673. .page-form p {
  674. padding: 5px 10px;
  675. margin: 0;
  676. }
  677. .page-form input[type="text"],
  678. .page-form input[type="password"],
  679. .page-form textarea {
  680. box-sizing: border-box;
  681. margin: 10px 0;
  682. padding: 5px 5px 3px 15px;
  683. height: 35px;
  684. width: 90%;
  685. background: #eeeeee;
  686. border: solid 1px #d8d8d8;
  687. border-radius: 2px;
  688. color: #252525;
  689. }
  690. .page-form textarea {
  691. min-height: 240px;
  692. padding: 15px 5px 3px 15px;
  693. resize: vertical;
  694. overflow-y: auto;
  695. word-wrap:break-word
  696. }
  697. /* because chrome */
  698. .page-form input[type="text"]::-webkit-input-placeholder,
  699. .page-form input[type="password"]::-webkit-input-placeholder {
  700. color: #777777;
  701. }
  702. .page-form input[type="submit"], .page-form a.button {
  703. margin: 15px 5px;
  704. height: 35px;
  705. line-height: 35px;
  706. width: 150px;
  707. background: #1b926c;
  708. color: #f5f5f5;
  709. border: none;
  710. box-shadow: 1px 1px 1px #ddd, -1px -1px 6px #ddd, -1px 1px 2px #ddd, 1px -1px 2px #ddd;
  711. font-size: 1.2em;
  712. text-decoration: none;
  713. vertical-align: center;
  714. font-weight: normal;
  715. display: inline-block;
  716. }
  717. .page-form .button.button-red {
  718. background: #ac2925;
  719. }
  720. .page-form .submit-buttons {
  721. margin-bottom: 10px;
  722. }
  723. @media screen and (min-width: 64em) {
  724. .page-form .submit-buttons {
  725. position: relative;
  726. }
  727. .page-form .submit-buttons .button.button-red {
  728. position: absolute;
  729. right: 5%;
  730. }
  731. }
  732. @media screen and (max-width: 64em) {
  733. .page-form .submit-buttons .button {
  734. display: block;
  735. margin: auto;
  736. }
  737. }
  738. .page-form select {
  739. color: #252525;
  740. }
  741. /**
  742. * PAGE FORM - LIGHT
  743. */
  744. .page-form-light div, .page-form-light p {
  745. text-align: center;
  746. }
  747. /**
  748. * PAGE FORM - COMPLETE
  749. */
  750. .page-form-complete div, .page-form-complete p {
  751. color: #252525;
  752. }
  753. .page-form-complete .form-label, .page-form-complete .form-input {
  754. position: relative;
  755. height: 60px;
  756. }
  757. .page-form-complete .form-label label,
  758. .page-form-complete .form-input input,
  759. .page-form-complete .form-input select.align,
  760. .page-form-complete .timezone {
  761. position: absolute;
  762. top: 50%;
  763. transform: translateY(-50%);
  764. }
  765. .page-form-complete .form-label label {
  766. text-align: right;
  767. right: 0;
  768. padding: 0 20px;
  769. }
  770. .page-form-complete .label-name {
  771. font-weight: bold;
  772. }
  773. .page-form-complete .label-desc {
  774. font-size: 0.8em;
  775. }
  776. .page-form-complete input[type="text"],
  777. .page-form-complete input[type="password"],
  778. .page-form-complete textarea {
  779. margin: 0;
  780. }
  781. .page-form section {
  782. margin: 10px 0 25px 0;
  783. }
  784. .page-form table {
  785. margin: auto;
  786. width: 90%;
  787. }
  788. .page-form table .order {
  789. text-decoration: none;
  790. color: #252525;
  791. }
  792. .page-form table, .page-form th, .page-form td {
  793. border-width: 1px 0;
  794. border-style: solid;
  795. border-color: #aaaaaa;
  796. }
  797. .page-form th, .page-form td {
  798. padding: 5px;
  799. }
  800. /* Awesomeplete fix */
  801. div.awesomplete {
  802. width: inherit;
  803. }
  804. div.awesomplete > input {
  805. display: inherit;
  806. }
  807. div.awesomplete > ul {
  808. z-index: 9999;
  809. }
  810. .page-form .awesomplete {
  811. width: 90%;
  812. }
  813. .page-form .awesomplete input {
  814. width: 100%;
  815. }
  816. .page-form div.awesomplete > ul {
  817. color: black;
  818. }
  819. form[name="linkform"].page-form {
  820. overflow: visible;
  821. }
  822. @media screen and (max-width: 64em) {
  823. .page-form-complete .form-label {
  824. height: inherit;
  825. }
  826. .page-form-complete .form-label label,
  827. .page-form-complete .form-input input,
  828. .page-form-complete .timezone {
  829. position: inherit;
  830. top: inherit;
  831. transform: translateY(0);
  832. }
  833. .page-form-complete .form-input input[type="checkbox"] {
  834. position: absolute;
  835. top: 50%;
  836. right: 50%;
  837. transform: translateY(-50%);
  838. }
  839. .page-form-complete .form-input {
  840. text-align: center;
  841. }
  842. .page-form-complete .form-label label {
  843. display: block;
  844. text-align: left;
  845. margin: 10px 0 0 0;
  846. }
  847. .timezone-continent:after {
  848. content:"\a\a";
  849. white-space: pre;
  850. }
  851. .page-form-complete .radio-buttons {
  852. text-align: left;
  853. padding: 5px 15px;
  854. }
  855. }
  856. /**
  857. * Page visitor (page form extended)
  858. */
  859. .page-visitor {
  860. color: #252525;
  861. }
  862. #page404 {
  863. color: #3f3f3f;
  864. }
  865. /**
  866. * EDIT LINK
  867. */
  868. #editlinkform .created-date {
  869. color: #767676;
  870. margin-bottom: 10px;
  871. }
  872. /**
  873. * LOGIN
  874. */
  875. #login-form .remember-me {
  876. margin: 5px 0;
  877. }
  878. /**
  879. * Search results
  880. */
  881. .search-result a {
  882. color: white;
  883. text-decoration: none;
  884. }
  885. .search-result .label-tag {
  886. border-color: white;
  887. }
  888. .search-result .label-tag .remove {
  889. border-left: white 1px solid;
  890. padding: 0 0 0 5px;
  891. margin: 0 0 0 5px;
  892. }
  893. .search-result .label-private {
  894. border: 1px solid white;
  895. }
  896. /**
  897. * TOOLS
  898. */
  899. .tools-item {
  900. margin: 10px 0;
  901. }
  902. .tools-item .pure-button:hover {
  903. background-image: none;
  904. background-color: #1b926c;
  905. color: #f5f5f5;
  906. }
  907. /**
  908. * PLUGIN ADMIN
  909. */
  910. #pluginform .mobile-row {
  911. font-size: 0.9em;
  912. }
  913. #pluginform .more {
  914. margin-top: 10px;
  915. }
  916. @media screen and (max-width: 64em) {
  917. #pluginform .main-row, #pluginform .main-row td {
  918. border-bottom-style: none;
  919. }
  920. #pluginform .mobile-row, #pluginform .mobile-row td {
  921. border-top-style: none;
  922. }
  923. }
  924. /**
  925. * IMPORT
  926. */
  927. #import-field {
  928. margin: 15px 0;
  929. }
  930. /**
  931. * TAG CLOUD
  932. */
  933. #cloudtag {
  934. padding: 10px;
  935. text-align: center;
  936. }
  937. #cloudtag, #cloudtag a {
  938. color: #252525;
  939. text-decoration: none;
  940. }
  941. #cloudtag .count {
  942. color: #7f7f7f;
  943. }
  944. /**
  945. * TAG LIST
  946. */
  947. #taglist {
  948. padding: 0 10px;
  949. }
  950. #taglist a {
  951. color: #252525;
  952. text-decoration: none;
  953. }
  954. #taglist .count {
  955. display: inline-block;
  956. width: 35px;
  957. text-align: right;
  958. color: #7f7f7f;
  959. }
  960. #taglist .rename-tag-form {
  961. display: none;
  962. }
  963. #taglist .delete-tag {
  964. color: #ac2925;
  965. display: none;
  966. }
  967. #taglist .rename-tag {
  968. color: #0b5ea6;
  969. }
  970. #taglist .validate-rename-tag {
  971. color: #1b926c;
  972. }
  973. /**
  974. * Picture wall CSS
  975. */
  976. #picwall_container {
  977. margin: 0 10px 10px 10px;
  978. color: #252525;
  979. background-color: #f5f5f5;
  980. clear: both;
  981. }
  982. .picwall_pictureframe {
  983. margin: 2px;
  984. background-color: #f5f5f5;
  985. z-index: 5;
  986. position: relative;
  987. display: table-cell;
  988. vertical-align: middle;
  989. width: 90px;
  990. height: 90px;
  991. overflow: hidden;
  992. text-align: center;
  993. float: left;
  994. }
  995. .b-lazy {
  996. -webkit-transition: opacity 500ms ease-in-out;
  997. -moz-transition: opacity 500ms ease-in-out;
  998. -o-transition: opacity 500ms ease-in-out;
  999. transition: opacity 500ms ease-in-out;
  1000. opacity: 0;
  1001. }
  1002. .b-lazy.b-loaded {
  1003. opacity: 1;
  1004. }
  1005. .picwall_pictureframe img {
  1006. max-width: 100%;
  1007. height: auto;
  1008. color: transparent;
  1009. } /* Adapt the width of the image */
  1010. .picwall_pictureframe a {
  1011. text-decoration: none;
  1012. }
  1013. /* CSS to show title when hovering an image - no javascript required. */
  1014. .picwall_pictureframe span.info {
  1015. display: none;
  1016. font-family: Arial, sans-serif;
  1017. }
  1018. .picwall_pictureframe:hover span.info {
  1019. display: block;
  1020. position: absolute;
  1021. top: 0;
  1022. left: 0;
  1023. width: 90px;
  1024. height: 90px;
  1025. font-weight: bold;
  1026. font-size: 9pt;
  1027. color: #f5f5f5;
  1028. text-align: left;
  1029. background-color: rgba(0, 0, 0, 0.8);
  1030. }
  1031. /**
  1032. * DAILY
  1033. */
  1034. .daily-desc {
  1035. color: #7f7f7f;
  1036. font-size: 0.8em;
  1037. }
  1038. .daily-about a {
  1039. color: #343434;
  1040. text-decoration: none;
  1041. }
  1042. .daily-about a:hover {
  1043. color: #7f7f7f;
  1044. }
  1045. .daily-about h3:before, .daily-about h3:after {
  1046. display: block;
  1047. content:"";
  1048. background: linear-gradient(to right, #d5d4d4, #252525, #d5d4d4);
  1049. height: 1px;
  1050. width: 90%;
  1051. margin: 10px auto;
  1052. }
  1053. .daily-entry {
  1054. padding: 0 10px;
  1055. }
  1056. .daily-entry .daily-entry-title:after {
  1057. display: block;
  1058. content:"";
  1059. background: linear-gradient(to right, #fff, #515151, #fff);
  1060. height: 1px;
  1061. width: 70%;
  1062. margin: 5px auto;
  1063. }
  1064. .daily-entry .daily-entry-title {
  1065. margin: 10px 0 0 0;
  1066. }
  1067. .daily-entry .daily-entry-title a {
  1068. color: #000;
  1069. text-decoration: none;
  1070. }
  1071. .daily-entry .daily-entry-description {
  1072. padding: 5px 5px 0 5px;
  1073. font-size: 0.9em;
  1074. text-align: justify;
  1075. word-wrap: break-word;
  1076. }
  1077. .daily-entry .daily-entry-tags {
  1078. padding: 0 5px 5px 5px;
  1079. font-size: 0.8em;
  1080. }
  1081. .daily-entry-thumbnail {
  1082. float: left;
  1083. margin: 15px 5px 5px 15px;
  1084. }
  1085. .daily-entry-description a {
  1086. text-decoration: none;
  1087. color: #1b926c;
  1088. }
  1089. .daily-entry-description a:hover {
  1090. text-shadow: 1px 1px #ddd;
  1091. }
  1092. .daily-entry-description a:visited {
  1093. color: #20b988;
  1094. }
  1095. /*
  1096. * Fix empty bookmarklet name in Firefox
  1097. */
  1098. .pure-button {
  1099. -moz-user-select: auto;
  1100. }
  1101. .tag-sort {
  1102. margin-top: 30px;
  1103. text-align: center;
  1104. }
  1105. .tag-sort a {
  1106. display: inline-block;
  1107. margin: 0 15px;
  1108. color: white;
  1109. text-decoration: none;
  1110. font-weight: bold;
  1111. }
  1112. /**
  1113. * Markdown
  1114. */
  1115. .markdown p {
  1116. margin: 0 !important;
  1117. }
  1118. .markdown p + p {
  1119. margin: 0.5em 0 0 0 !important;
  1120. }
  1121. .markdown *:first-child {
  1122. margin-top: 0 !important;
  1123. }
  1124. .markdown *:last-child {
  1125. margin-bottom: 5px !important;
  1126. }
  1127. /**
  1128. * Pure Button
  1129. */
  1130. .pure-button-success,
  1131. .pure-button-error,
  1132. .pure-button-warning,
  1133. .pure-button-primary,
  1134. .pure-button-shaarli,
  1135. .pure-button-secondary {
  1136. color: white !important;
  1137. border-radius: 4px;
  1138. text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  1139. }
  1140. .pure-button-shaarli {
  1141. background-color: #1B926C;
  1142. }