X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fcss%2Fshaarli.css;h=14439402f26237b9694add9ba9e7205dd1e61e81;hb=055ce4bd197de49ef654aa17dc6eceab5c32240e;hp=7ca567e7549f5b3c729673a38c8e8455bfd6ddf9;hpb=b87442f216e6745b8472b85ae8fe5d85ede29094;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css index 7ca567e7..14439402 100644 --- a/tpl/default/css/shaarli.css +++ b/tpl/default/css/shaarli.css @@ -1,1208 +1,1348 @@ -/* Cascading Stylesheet for Shaarli - https://github.com/shaarli/Shaarli */ - +/** + * General + */ body { - font-family: "Trebuchet MS",Verdana,Arial,Helvetica,sans-serif; - font-size: 10pt; - background-color: #ffffff; - word-wrap: break-word; + background: #d0d0d0; } -input, textarea { - background-color: #dedede; - background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dedede), to(#ffffff)); - background: -webkit-linear-gradient(#dedede, #ffffff); - background: -moz-linear-gradient(#dedede, #ffffff); - background: -ms-linear-gradient(#dedede, #ffffff); - background: -o-linear-gradient(#dedede, #ffffff); - background: linear-gradient(#dedede, #ffffff); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); - padding: 5px; - border-radius: 3px 3px 3px 3px; - border: none; - color: #000; +.strong { + font-weight: bold; } -a { - text-decoration: none; +.clear { + clear: both; } -h1 { - font-size: 20pt; - font-weight: bold; - font-style: italic; - margin-bottom: 20px; +.center { + text-align: center; + margin: auto; } -em { - font-style: italic; +.label { + display: inline-block; + padding: .25em .4em; + font-size: 75%; + font-weight: 700; + line-height: 1; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: .25rem; } -strong { - font-weight: bold; +pre { + max-width: 100%; } -/* Buttons */ -.bigbutton, #pageheader a.bigbutton { - background-color: #c0c0c0; - background: -moz-linear-gradient(#c0c0c0, #ffffff) repeat scroll 0 0 transparent; - background: -webkit-gradient(linear, 0 0, 0 bottom, from(#c0c0c0), to(#ffffff)); - background: -webkit-linear-gradient(#c0c0c0, #ffffff); - background: -ms-linear-gradient(#c0c0c0, #ffffff); - background: -o-linear-gradient(#c0c0c0, #ffffff); - background: linear-gradient(#c0c0c0, #ffffff); - border-radius: 3px 3px 3px 3px; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); - cursor: pointer; - height: 24px; - padding: 0 5px; - margin: 0 5px 0 0; - color: #606060; - border-style: outset; - border-width: 1px; - display: inline-block; +@font-face { + font-family: 'Roboto'; + font-weight: 400; + font-style: normal; + src: + local('Roboto'), + local('Roboto-Regular'), + url('../fonts/Roboto-Regular.woff2') format('woff2'), + url('../fonts/Roboto-Regular.woff') format('woff'); } -a.bigbutton, #pageheader a.bigbutton { - height: 22px; - line-height: 22px; +@font-face { + font-family: 'Roboto'; + font-weight: 700; + font-style: normal; + src: + local('Roboto'), + local('Roboto-Bold'), + url('../fonts/Roboto-Bold.woff2') format('woff2'), + url('../fonts/Roboto-Bold.woff') format('woff'); +} + +body, .pure-g [class*="pure-u"] { + font-family: Roboto, Arial, sans-serif; +} + +/** + * Extends Pure grids responsive to hide items. + * Use xx-0 to hide an item on xx screen. + * Display it at any level with xx-visible. + */ +.pure-u-0 { display: none !important; } +@media screen and (min-width: 35.5em) { + .pure-u-sm-0 { display: none !important; } + .pure-u-sm-visible { display: inline-block !important; } +} +@media screen and (min-width: 48em) { + .pure-u-md-0 { display: none !important; } + .pure-u-md-visible { display: inline-block !important; } +} +@media screen and (min-width: 64em) { + .pure-u-lg-0 { display: none !important; } + .pure-u-lg-visible { display: inline-block !important; } +} +@media screen and (min-width: 80em) { + .pure-u-xl-0 { display: none !important; } + .pure-u-xl-visible { display: inline-block !important; } } -.smallbutton { - background-color: #c0c0c0; - background: -moz-linear-gradient(#c0c0c0, #ffffff) repeat scroll 0 0 transparent; - background: -webkit-gradient(linear, 0 0, 0 bottom, from(#c0c0c0), to(#ffffff)); - background: -webkit-linear-gradient(#c0c0c0, #ffffff); - background: -ms-linear-gradient(#c0c0c0, #ffffff); - background: -o-linear-gradient(#c0c0c0, #ffffff); - background: linear-gradient(#c0c0c0, #ffffff); - border-radius: 3px 3px 3px 3px; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); +/** + * Make pure-extras alert closable. + */ +.pure-alert-closable .fa-times { + float: right; +} +.pure-alert-close { cursor: pointer; - height: 20px; - margin-left: 5px; - padding: 0 5px; - color: #606060; - border-style: outset; - border-width: 1px; } -/* Small tab on the left of each link with edit/delete buttons. */ -.button_edit, .button_delete { - border-radius: 0; - box-shadow: none; - border-style: none; - border-width: 0; - padding: 0; - background: none; +.pure-alert-success { + background-color: #1b926c; } -.linkeditbuttons { - position: absolute; - left: 2px; - padding: 4px 2px 2px 2px; +.anchor:target { + padding-top: 40px; +} +/** + * MENU + **/ +.shaarli-menu { + position: fixed; + top: 0; + width: 100%; + --height: 50px; + background: #1b926c; + -webkit-font-smoothing: antialiased; + /* Hack to transition with auto height: http://stackoverflow.com/a/8331169/1484919 */ + max-height: 45px; + transition: max-height 0.5s; + overflow: hidden; + z-index: 999; +} + +/* Chrome bugfix: with 100% height, it only displays the first element. */ +.pure-menu-item { + height: 45px; +} - -webkit-border-radius: 0px 6px 6px 0px; - -moz-border-radius: 0px 6px 6px 0px; - -o-border-radius: 0px 6px 6px 0px; - -ms-border-radius: 0px 6px 6px 0px; - border-radius: 0px 6px 6px 0px; +.shaarli-menu.open { + max-height: 500px; + transition: max-height 0.75s; } -#pageheader #logo { - background-image: url('../../../images/logo.png'); - background-repeat: no-repeat; +.head-logo { float: left; - margin: 0 10px 0 10px; - width: 105px; - height: 55px; - cursor: pointer; + margin: 0 5px 0 0; } -#pageheader #menu { - width: 100%; +.pure-menu-link, +.pure-menu-link:visited, +.pure-menu-selected .pure-menu-link, +.pure-menu-selected .pure-menu-link:visited { + padding: 0.8em 1em; + color: #f5f5f5; } -#pageheader #menu ul { - margin: auto; - padding: 7px 0px 0px 0px; - float: none; +.pure-menu-link:hover, .pure-menu-link:focus, +.pure-menu-selected .pure-menu-link:hover, +.pure-menu-selected .pure-menu-link:focus { + color: #fff; + background: transparent; } -#pageheader #menu ul li { - list-style: none; - display: inline; - position: relative; - box-sizing: border-box; +.pure-menu-item:hover::after { + margin: -4px auto 0 auto; + display: block; + content:""; + background: #fff; + height: 4px; + width: 100%; } -#pageheader a { - background-color: #333333; - background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333333), to(#000000)); - background: -webkit-linear-gradient(#333333, #000000); - background: -moz-linear-gradient(#333333, #000000); - background: -ms-linear-gradient(#333333, #000000); - background: -o-linear-gradient(#333333, #000000); - background: linear-gradient(#333333, #000000); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); - padding: 5px; - border-radius: 3px 3px 3px 3px; - margin: 10px 3px 3px 3px; - color: #A2DD42; - text-decoration: none; - line-height: 2.5; - white-space: nowrap; +.menu-toggle { + width: 34px; + height: 45px; + position: absolute; + top: 5px; + right: 0; + display: none; } -#pageheader #linkcount { - float: right; - font-style: italic; - color: #bbb; - text-align: right; - padding-right: 5px; - margin: 3px 3px 0px 0px; -} - -#pageheader { - background-color: #333333; - background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333333), to(#111111)); - background: -webkit-linear-gradient(#333333, #111111); - background: -moz-linear-gradient(#333333, #111111); - background: -ms-linear-gradient(#333333, #111111); - background: -o-linear-gradient(#333333, #111111); - background: linear-gradient(#333333, #111111); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); - width: auto; - padding: 0 10px 5px 10px; - margin: auto; +.menu-toggle .bar { + background-color: #b0ddce; + display: block; + width: 20px; + height: 2px; + border-radius: 100px; + position: absolute; + top: 18px; + right: 7px; + transition: all 0.5s; } -#pageheader .search { - width: 100%; - white-space: nowrap; +.menu-toggle .bar:first-child { + transform: translateY(-6px); } -#toolsdiv a { - clear: both; +.menu-toggle.x .bar { + transform: rotate(45deg); } -#toolsdiv #bookmark { - clear: none; +.menu-toggle.x .bar:first-child { + transform: rotate(-45deg); } -#toolsdiv a span { - color: #ffffff; +@media screen and (max-width: 64em) { + .menu-toggle { + display: block; + } } -.linksperpage, .tagfilter, .searchform, .addform { - background-color: #dedede; - background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dedede), to(#ffffff)); - background: -webkit-linear-gradient(#dedede, #ffffff); - background: -moz-linear-gradient(#dedede, #ffffff); - background: -ms-linear-gradient(#dedede, #ffffff); - background: -o-linear-gradient(#dedede, #ffffff); - background: linear-gradient(#dedede, #ffffff); - display: inline; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); - padding: 5px; - border: none; - border-radius: 3px 3px 3px 3px; - margin: 10px 3px 3px 3px; - color: #cecece; +.header-buttons { + text-align: right; } -.linksperpage { - box-shadow: 0 0 0 rgba(0, 0, 0, 0.5); - padding: 3px; +.linkcount { + color: #252525; + font-size: 0.8em; } -.linksperpage input, .tagfilter input, .searchform input, .addform input { - border: none; - color: #606060; - background: none; - box-shadow: none; - padding: 5px; +@media screen and (min-width: 64em) { + .linkcount { + position: absolute; + right: 5px; + } } -.linksperpage input { - padding: 0; +#search, #search-linklist, #search-tagcloud { + text-align: center; + width: 100%; } -.searchform #searchform_value { - width: 30%; +#search input[type="text"], #search-linklist input[type="text"] { + padding: 0 5px; + height: 30px; + width: 260px; + background: #f5f5f5; + border: medium none currentColor; + box-shadow: 0 1px 0 rgba(255, 255, 255, 0.078), 0 1px 1px rgba(0, 0, 0, 0.298) inset; + border-radius: 2px; + color: #252525; +} +@media screen and (max-width: 64em) { + .searchform { + max-width: 260px; + margin: 0 auto; + } } -.tagfilter { - margin-left:24px; +/* because chrome */ +#search input[type="text"]::-webkit-input-placeholder, +#search-linklist input[type="text"]::-webkit-input-placeholder { + color: #777777; } -.tagfilter div.awesomplete { - width: 15%; +#search button, +#search-tagcloud button, +#search-linklist button { + padding: 4px 8px 6px 8px; + background-color: #1B926C; + color: #f5f5f5; + border: none; + border-radius: 2px; } -.tagfilter #tagfilter_value { - display: inline; +#search-tagcloud button { + width: 90%; } -.tagfilter li { - color: black; +@media screen and (max-width: 64em) { + #search-linklist button { + width: 100%; + } + #search-linklist .awesomplete { + margin: 5px 0; + } } -.tagfilter input.bigbutton, .searchform input.bigbutton, .addform input.bigbutton { - background-color: #dedede; - background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dedede), to(#ffffff)); - background: -webkit-linear-gradient(#dedede, #ffffff); - background: -moz-linear-gradient(#dedede, #ffffff); - background: -ms-linear-gradient(#dedede, #ffffff); - background: -o-linear-gradient(#dedede, #ffffff); - background: linear-gradient(#dedede, #ffffff); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); - padding: 0 5px 0 5px; - margin: 5px 0 5px 0; - height: 20px; - border-radius: 3px 3px 3px 3px; - cursor: pointer; +#search button:hover, +#search-linklist button:hover, +#search-tagcloud button:hover { + color: #d0d0d0; } -#shaarli_title { - font-weight: bold; - font-style: italic; - margin-top: 0; +#search, +#search-linklist { + padding: 6px 0; } -#shaarli_title a { - color: #fff !important; +@media screen and (max-width: 64em) { + #search, #search * { + visibility: hidden; + } } -#pageheader a:visited { - color: #98C943; +.subheader-form a.button { + color: #f5f5f5; + font-weight: bold; text-decoration: none; + border: 2px solid #f5f5f5; + border-radius: 5px; + padding: 3px 10px; } -#pageheader a:hover { - color: #FFFFC9; - text-decoration: none; +.linklist-item-editbuttons .delete-checkbox { + display: none; } -#pageheader a:active { - color: #bbb; - text-decoration: none; +#header-login-form input[type="text"], #header-login-form input[type="password"] { + width: 200px; } -#searchcriteria { - padding: 4px 0px 5px 5px; - font-weight: bold; +/* because chrome */ +#header-login-form input[type="text"]::-webkit-input-placeholder, +#header-login-form input[type="password"]::-webkit-input-placeholder { + color: #777777; } -.paging { - padding: 5px; - background-color: #777; - color: #ccc; +.subheader-form { + visibility: hidden; + position: fixed; + width: 100%; text-align: center; - clear: both; + background: #1b926c; + display: block; + z-index: 999; + height: 30px; + padding: 5px 0; } -.paging a:link { - color: #ccc; - text-decoration: none; +@media screen and (min-width: 64em) { + .subheader-form.open, .subheader-form.open * { + visibility: visible; + } } -.paging a:visited { - color: #ccc; +.subheader-form input[type="text"], .subheader-form input[type="password"], .subheader-form .remember-me { + padding: 5px 5px 3px 15px; + height: 20px; + width: 20%; + background: #f5f5f5; + border: medium none currentColor; + border-radius: 2px; + box-shadow: 0 1px 0 rgba(255, 255, 255, 0.078), 0 1px 4px rgba(0, 0, 0, 0.298) inset; + color: #252525; } -.paging a:hover { - color: #FFFFC9; +/* because chrome */ +.subheader-form input[type="text"]::-webkit-input-placeholder, +.subheader-form input[type="password"]::-webkit-input-placeholder +{ + color: #252525; } -.paging a:active { - color: #fff; +.subheader-form .remember-me { + display: inline-block; + width: auto; + padding: 5px 20px 3px 20px; + cursor: pointer; } -.paging_privatelinks { - float: left; +.subheader-form .remember-me label, .subheader-form .remember-me input { + cursor: pointer; } -.paging_linksperpage { - float: right; - padding-right: 5px; - margin: 0px 10px 2px 0px; +.subheader-form input[type="submit"] { + display: inline-block; + margin: 0 0 5px 0; + padding: 4px 0 4px 0; + height: 28px; + width: 100px; + background: #1b926c; + border: 1px solid #f5f5f5; + color: #f5f5f5; + border-radius: 2px; } -.paging_linksperpage form.linksperpage { - display: inline; +.subheader-form input[type="submit"]:hover { + background: #f5f5f5; + color: #1b926c; } -.paging_linksperpage form.linksperpage input { - height: 15px; +.new-version-message { + text-align: center; } -.paging_current { - display: inline; - color: #fff; - padding: 0 20 0 20; +.new-version-message a { + color: rgb(151, 96, 13); + font-weight: bold; } -.paging_older { - margin-right: 15px; +/** + * CONTENT - GENERAL + */ +#content { + position: relative; + z-index: 2; + margin-top: 45px; } -.paging_newer { - margin-left: 15px; +/** + * Plugins additional forms + */ +.toolbar-plugin { + margin: 5px 0; + text-align: center; } -#headerform { - color: #ffffff; - padding: 5px 5px 5px 5px; - clear: both; +.toolbar-plugin input[type="text"] { + padding: 0 5px; + height: 30px; + width: 300px; + background: #f5f5f5; + border: medium none currentColor; + box-shadow: 0 1px 0 rgba(255, 255, 255, 0.078), 0 1px 1px rgba(0, 0, 0, 0.298) inset; + border-radius: 2px; + color: #252525; } -#headerform input.linkurl { - width: 50%; - font-size: inherit; +/* because chrome */ +.toolbar-plugin input[type="text"]::-webkit-input-placeholder { + color: #777777; } -#headerform label { - cursor: pointer; - margin-right: 10px; +.toolbar-plugin input[type="submit"] { + padding: 0 10px; + height: 30px; + background: #f5f5f5; + border: medium none currentColor; + border-radius: 2px; + color: #252525; } -#headerform label[for=longlastingsession] { - display: block; - width: 100%; - margin-top: 5px; +.toolbar-plugin input[type="submit"]:hover { + background: #fff; } -#toolsdiv { - color: #ffffff; - padding: 5px 5px 5px 5px; - clear: left; +@media screen and (max-width: 64em) { + .toolbar-plugin input[type="text"] { + width: 70%; + + } } -#uploaddiv { - color: #ffffff; - padding: 5px 5px 5px 5px; - clear: left; +/** + * CONTENT - LINKLIST PAGING + * 64em -> lg + */ +.linklist-filters { + margin: 5px 0; + color: #252525; + font-size: 0.9em; } -#editlinkform { - height: 100%; - padding: 5px 5px 5px 15px; - width: 80%; - clear: left; +.linklist-filters a { + padding: 5px 8px; + text-decoration: none; } -#editlinkform label { - cursor: pointer; - color: #ffffff; +.linklist-filters .filter-off { + color: #252525; + background: #f5f5f5; } -#editlinkform textarea, #editlinkform .lf_input { - width: 100%; +.linklist-filters .filter-on { + color: #b0ddce; + background: #1b926c; } -#linklist li { - padding: 4px 10px 15px 20px; - border-top: 1px solid #bbb; - clear: both; - background-color: #F2F2F2; - background: -webkit-gradient(linear, 0 0, 0 bottom, from(#F2F2F2), to(#ffffff)); - background: -webkit-linear-gradient(#F2F2F2, #ffffff); - background: -moz-linear-gradient(#F2F2F2, #ffffff); - background: -ms-linear-gradient(#F2F2F2, #ffffff); - background: -o-linear-gradient(#F2F2F2, #ffffff); - background: linear-gradient(#F2F2F2, #ffffff); +.linklist-pages { + margin: 5px 0; + color: #252525; + text-align: center; } -/* -#linklist li.publicLinkHightLight:hover, #linklist li:hover { - background: #E9FFCE; +.linklist-pages a { + color: #252525; + text-decoration: none; } -*/ -.linkdate { - font-size:8pt; - color:#888; +.linklist-pages a:hover { + color: #fff; } -.linkdate a { - color:#E28E3F; +.linksperpage { + margin: 5px 0; + text-align: right; + color: #252525; + font-size: 0.9em; } -#linklist li.private { - background: url('../images/private.png') no-repeat 4px center; - padding-left: 30px; +.linksperpage a { + padding: 5px 5px; + text-decoration: none; + color: #252525; + background: #f5f5f5; } -#linklist li { - padding-left: 30px; +.linksperpage a, .linksperpage input[type="text"] { + display: inline-block; + width: 20px; + text-align: center; } -.private .linktitle a { - color: #969696; +.linksperpage form { + display: inline; } -.linktitle { - font-size: 14pt; - font-weight: bold; +.linksperpage input[type="text"] { + height: 20px; + margin: 0; + padding: 4px 5px 3px 8px; + background: #f5f5f5; + border: medium none currentColor; + color: #252525; + font-size: 0.8em; } -.linktitle a { - text-decoration: none; - color: #80AD48; +/** + * CONTENT - LINKLIST ITEMS + */ +.linklist-item { + margin: 0 0 10px 0; + background: #f5f5f5; + box-shadow: 1px 1px 3px #797979; } -.linktitle a:hover { - color: #F57900; +.linklist-item-buttons { + background: transparent; + position: relative; + width: 23px; + z-index: 99; } -.linkdate { - font-size: 8pt; - color: #888; +.linklist-item-buttons-right { + float: right; + margin-right: -25px; } -.linkdate a { - background-image: url('../images/calendar.png'); - padding: 2px 0 3px 20px; - background-repeat: no-repeat; - text-decoration: none; - color: #E28E3F; +.linklist-item-buttons * { + display: block; + float: left; + width:100%; + margin: auto; + text-align: center; } -.linkdate a:hover { - color: #F57900 } +.linklist-item-title, .linklist-item-title h2 { + margin: 0; + word-wrap: break-word; +} -.linkurl { - font-size: 8pt; - color: #4BAA74; +.linklist-item-title { + position: relative; + background: #f5f5f5; } -.linkdescription { - color: #000; - margin-top: 0; - margin-bottom: 12px; - font-weight: normal; - overflow: auto; +.linklist-item-title h2 { + padding: 3px 10px 0 10px; + line-height: 30px; } -.linkdescription a { +.linklist-item-title h2 a { + font-size: 0.7em; + color: #252525; text-decoration: none; - color: #3465A4; + vertical-align: middle; } -.linkdescription a:hover { - color: #F57900; +.linklist-item-title .linklist-link { + font-size: 1.1em; + color: #1b926c; } -.linktaglist { - padding-top: 10px; - line-height: 200%; +.linklist-item-title h2 a:visited .linklist-link { + color: #2a4c41; } -.linktag { - font-size: 9pt; - background-color: #F2F2F2; - background: -webkit-gradient(linear, 0 0, 0 bottom, from(#F2F2F2), to(#ffffff)); - background: -webkit-linear-gradient(#F2F2F2, #ffffff); - background: -moz-linear-gradient(#F2F2F2, #ffffff); - background: -ms-linear-gradient(#F2F2F2, #ffffff); - background: -o-linear-gradient(#F2F2F2, #ffffff); - background: linear-gradient(#F2F2F2, #ffffff); - box-shadow: 0 0 2px rgba(0, 0, 0, 0.5); - padding: 3px 5px 3px 20px; - height: 20px; - border-radius: 3px; - cursor: pointer; - background-image: url('../images/tag_blue.png'); - background-repeat: no-repeat; - background-position: 3px center; - background-color: #ffffff; +.linklist-item-title h2 a:hover, .linklist-item-title .linklist-link:hover{ + color: #252525; } -.linktag:hover { - border-color: #555573; - color: #000; + +.linklist-item-title .label-private { + border: solid 1px #F89406; + font-family: Arial, sans-serif; + font-size: 0.65em; + color: #F89406; } -.linktag a { - color: #777; - text-decoration: none; +.fold-button { + display: none; + color: #252525; +} + +.linklist-item-editbuttons { + float: right; + padding: 8px 5px; } -.linktag .remove { - border-left: 1px solid #aaa; - padding-left: 5px; - color:#6767A7; +.linklist-item-editbuttons * { + display: block; + float: left; + margin: 0 1px; } -.linkshort { - font-size: 8pt; - color: #888; +.linklist-item-editbuttons a { + font-size: 1em; } -.linkshort a { - text-decoration: none; - color: #393964; +.edit-link { + font-size: 1.2em; + color: #0b5ea6; } -.linkshort a:hover { - text-decoration: underline; +.delete-link { + font-size: 1.3em; + color: #ac2925 !important; } -.buttoneditform { - display: inline; +.linklist-item-description { + position: relative; + padding: 0 10px; + word-wrap: break-word; + color: #252525; + line-height: 1.3em; } -#footer { - font-size: 8pt; - text-align: center; - color: #888; - clear: both; - max-width: 30em; - margin: 15px auto 15px auto; +.linklist-item-description a { + text-decoration: none; + color: #1b926c; } -#footer a { - color: #486D08; +.linklist-item-description a:hover { + color: #252525; } -#footer a:hover { - color: #000000; +.linklist-item-description a:visited { + color: #14553f; } -#newversion { - background-color: #FFFFA0; - color: #000; +.linklist-item-thumbnail { + position: relative; + padding: 0 0 0 5px; + margin: 0; + float: right; + z-index: 50; + height: 90px; +} + +.linklist-item.private .linklist-item-title::before, +.linklist-item.private .linklist-item-description::before { position: absolute; + left: 3px; top: 0; - right: 0; - padding: 2 7 2 7; - font-size: 9pt; + display: block; + content:""; + background: #F89406; + height: 96%; + width: 2px; + z-index: 1; } -#newversion #version_id { - text-decoration: blink; +.linklist-item.private .linklist-item-description::before { + height: 100%; } -#cloudtag { - padding-left: 10%; - padding-right: 10%; +.linklist-item.private .linklist-item-title::before { + margin-top: 3px; } -#cloudtag .count { - color: #99f; - font-size: 9pt; - padding-left: 5px; - padding-right: 2px; +.linklist-item-infos { + padding: 4px 8px 4px 8px; + background: #ddd; + color: #252525; } -#cloudtag a { - color: black; +.linklist-item-infos a { + color: #252525; text-decoration: none; } -#install { - margin: 0 20px; +.linklist-item-infos a:hover { + color: #000; } -#installform { - border: 1px solid black; - padding: 10px; +.linklist-item-infos .linklist-item-tags { + font-size: 0.8em; } -#installform table { - border: none; +.linklist-item-infos .label-tag { + font-size: 1em; } -#installform td { - font-size: 10pt; - color: black; - padding: 10px 5px 10px 5px; - clear: left; +.linklist-item-infos-dateblock { + font-size: 0.9em; } -#installform input.bigbutton { - float: right; +.linklist-plugin-icon { + width: 13px; + height: 13px; } -#changepasswordform { - color: #ccc; - padding: 10px 5px 10px 5px; - clear: left; +.linklist-item-infos-url { + text-align: right; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + font-size: 0.8em; + height:23px; + line-height:23px; } -#changetag { - color: #ccc; - padding: 10px 5px 10px 5px; - clear: left; +.linklist-item-infos .mobile-buttons { + text-align: right; } -#changetag #totag { - margin-left: 40px; +.linklist-item-infos .linklist-plugin-icon { + display: inline-block; + margin: 0 2px; + width: 16px; + height: 16px; } -#changetag div { - float:left; +.linklist-item-infos-controls-group { + display: inline-block; + border-right: 1px solid #5d5d5d; + padding-right: 6px; } -#changetag label { - padding: 5px; +.ctrl-edit { + margin: 0 7px; } -#changetag li { - color: #000; -} -#configform td { - color: #ccc; - font-size: 10pt; - padding: 10px 5px 10px 5px; +/** 64em -> lg **/ +@media screen and (max-width: 64em) { + .linklist-item-infos-url { + text-align: left; + } } -#configform { - color: #ccc; - padding: 10px 5px 10px 5px; - clear: left; +/** + * Footer + */ +#footer { + margin: 20px 0; + padding: 5px; + text-align: center; + color: #252525; } -.thumbnail { - float: right; - margin: 0px 10px 0px 10px; +#footer:before { + display: block; + content:""; + background: linear-gradient(to right, #949393, #252525, #949393); + height: 1px; + width: 80%; + margin: 10px auto; } -.thumbnail img { - border-radius: 3px; - box-shadow: 0.5px 0.5px 0.5px 1px #dde4e6; +#footer a { + color: #252525; } -/* If you want thumbnails on the left: -.thumbnail { - float: left; - margin-right: 10px; -} -.linkcontainer { - position: static; - margin-left: 130px; +/** + * PAGE FORM + */ +.page-form { + margin: 20px 0 0 0; + background: #f5f5f5; + box-shadow: 1px 1px 2px #797979; + color: #252525; + overflow: hidden; } -*/ -/* --- Picture wall CSS --- */ -#picwall_container { - color: #fff; - background-color: #000; - clear: both; +.page-form .window-title { + margin: 0 0 10px 0; + padding: 10px 0; + width: 100%; + color: #1b926c; + background: #f5f5f5; + text-align: center; } -.picwall_pictureframe { - background-color: #000; - z-index: 5; - position: relative; - display: table-cell; - vertical-align: middle; - width: 90px; - height: 90px; - overflow: hidden; +.page-form .window-subtitle { text-align: center; - float: left; } -.b-lazy { - -webkit-transition: opacity 500ms ease-in-out; - -moz-transition: opacity 500ms ease-in-out; - -o-transition: opacity 500ms ease-in-out; - transition: opacity 500ms ease-in-out; - opacity: 0; -} -.b-lazy.b-loaded { - opacity: 1; +.page-form a { + color: #1b926c; + font-weight: bold; + text-decoration: none; } -.picwall_pictureframe img { - max-width: 100%; - height: auto; - color: transparent; -} /* Adapt the width of the image */ +.page-form p { + padding: 5px 10px; + margin: 0; +} -.picwall_pictureframe a { +.page-form input[type="text"], +.page-form input[type="password"], +.page-form textarea { + box-sizing: border-box; + margin: 10px 0; + padding: 5px 5px 3px 15px; + height: 35px; + width: 90%; + background: #eeeeee; + border: solid 1px #d8d8d8; + border-radius: 2px; + color: #252525; +} + +.page-form textarea { + min-height: 240px; + padding: 15px 5px 3px 15px; + resize: vertical; + overflow-y: auto; + word-wrap:break-word +} + +/* because chrome */ +.page-form input[type="text"]::-webkit-input-placeholder, +.page-form input[type="password"]::-webkit-input-placeholder { + color: #777777; +} + +.page-form input[type="submit"], .page-form a.button { + margin: 15px 5px; + height: 35px; + line-height: 35px; + width: 150px; + background: #1b926c; + color: #f5f5f5; + border: none; + box-shadow: 1px 1px 1px #ddd, -1px -1px 6px #ddd, -1px 1px 2px #ddd, 1px -1px 2px #ddd; + font-size: 1.2em; text-decoration: none; + vertical-align: center; + font-weight: normal; + display: inline-block; } -/* CSS to show title when hovering an image - no javascript required. */ -.picwall_pictureframe span.info { - display: none; + +.page-form .button.button-red { + background: #ac2925; } -.picwall_pictureframe:hover span.info { - display: block; - position: absolute; - top: 0; - left: 0; - width: 90px; - font-weight: bold; - font-size: 8pt; - color: #fff; - text-align: left; - background-color: transparent; - background-color: rgba(0, 0, 0, 0.4); - /* FF3+, Saf3+, Opera 10.10+, Chrome, IE9 */ - filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#66000000, endColorstr=#66000000); - /* IE6–IE9 */ - text-shadow: 2px 2px 1px #000000; -} - -#linklist li.publicLinkHightLight { - background: #ffffff; -} - -div.daily { - font-family: Georgia, 'DejaVu Serif', Norasi, serif; - background-color: #E6D6BE; - /* Background paper texture by BashCorpo: - http://www.bashcorpo.dk/textures.php - http://bashcorpo.deviantart.com/art/Grungy-paper-texture-v-5-22966998 */ - background-image: url("../images/Paper_texture_v5_by_bashcorpo_w1000.jpg"); - -webkit-background-size: cover; - -moz-background-size: cover; - -o-background-size: cover; - background-size: cover; - position: relative; - border-bottom: 2px solid black; +.page-form .submit-buttons { + margin-bottom: 10px; } -#daily_col1 { - float: left; - position: relative; - width: 33%; - padding-left: 1%; +@media screen and (min-width: 64em) { + .page-form .submit-buttons { + position: relative; + } + + .page-form .submit-buttons .button.button-red { + position: absolute; + right: 5%; + } } -#daily_col2 { - float: left; - position: relative; - width: 33%; +@media screen and (max-width: 64em) { + .page-form .submit-buttons .button { + display: block; + margin: auto; + } } -#daily_col3 { - float: left; - position: relative; - width: 33%; +.page-form select { + color: #252525; } -div.dailyAbout { - float: left; - border: 1px solid black; - font-size: 8pt; - position: absolute; - left: 10px; - top: 15px; - padding: 5px 5px 5px 5px; +/** + * PAGE FORM - LIGHT + */ +.page-form-light div, .page-form-light p { text-align: center; } -div.dailyAbout a { - color: #890500; +/** + * PAGE FORM - COMPLETE + */ +.page-form-complete { + #background: #f5f5f5; +} + +.page-form-complete div, .page-form-complete p { + color: #252525; } -div.dailyAbout img { +.page-form-complete .form-label, .page-form-complete .form-input { position: relative; - top: 3px; - margin-right: 4px; - width: 14px; - height: 14px; + height: 60px; } -div.dailyEntryPermalink { - float: right; +.page-form-complete .form-label label, +.page-form-complete .form-input input, +.page-form-complete .form-input select.align, +.page-form-complete .timezone { + position: absolute; + top: 50%; + transform: translateY(-50%); } -div.dailyTitle { - font-weight: bold; - font-size: 44pt; - text-align: center; - padding: 10px 20px 0px 20px; +.page-form-complete .form-label label { + text-align: right; + right: 0; + padding: 0 20px; } -div.dailyDate { - font-size: 12pt; +.page-form-complete .label-name { font-weight: bold; - text-align: center; - padding: 0px 20px 30px 20px; } -/* Individual entries in "Daily": */ -div.dailyEntry { - margin: 5px 10px 2px 5px; - font-size: 11pt; - border-top: 1px solid #555; +.page-form-complete .label-desc { + font-size: 0.8em; } -div.dailyEntry a { - text-decoration: none; - color: #890500; +.page-form-complete input[type="text"], +.page-form-complete input[type="password"], +.page-form-complete textarea { + margin: 0; } -div.dailyEntryTags { - font-size: 7.75pt; +.page-form section { + margin: 10px 0 25px 0; } -div.dailyEntryTitle { - font-size: 18pt; - font-weight: bold; +.page-form table { + margin: auto; + width: 90%; } -div.dailyEntryLinkdate { - font-size: 8pt; +.page-form table .order { + text-decoration: none; + color: #252525; } -div.dailyEntryThumbnail { - width: 100%; - text-align: center; - background-color: rgb(128, 128, 128); - background: url(../images/50pc_transparent.png); - padding: 4px 0px 2px 0px; +.page-form table, .page-form th, .page-form td { + border-width: 1px 0; + border-style: solid; + border-color: #aaaaaa; } -div.dailyEntryDescription { - margin-top: 10px; - margin-bottom: 30px; - text-align: justify; - overflow: auto; +.page-form th, .page-form td { + padding: 5px; + } -div.dailyNoEntry { - text-align: center; - padding: 40px 0px 90px 0px; +/* Awesomeplete fix */ +div.awesomplete { + width: inherit; } -.daily #closing { - clear: both; - text-align: center; - padding-bottom: 20px; +div.awesomplete > input { + display: inherit; } -/* Common CSS screwdriver */ -.clear { - clear: both; +div.awesomplete > ul { + z-index: 9999; } -.right { - text-align: right; +.page-form .awesomplete { + width: 90%; } -.white { - color: white; +.page-form .awesomplete input { + width: 100%; } -/* For lazy images loading in picture wall. - Using http://www.appelsiini.net/projects/lazyload -*/ -.lazyimage { - display: none; +.page-form div.awesomplete > ul { + color: black; } -#configuration_table td { - border: none; - padding: 10px; - vertical-align: top; +form[name="linkform"].page-form { + overflow: visible; } -@media print { - html { - border: none; - background: #fff !important; - color: #000 !important; +@media screen and (max-width: 64em) { + .page-form-complete .form-label { + height: inherit; } - body { - font-size: 12pt; - width: auto !important; - margin: auto !important; + .page-form-complete .form-label label, + .page-form-complete .form-input input, + .page-form-complete .timezone { + position: inherit; + top: inherit; + transform: translateY(0); } - /* Minimum numer of lines to display when splitting a paragraph - over two pages */ - p { - orphans: 3; - widows: 3; + .page-form-complete .form-input input[type="checkbox"] { + position: absolute; + top: 50%; + right: 50%; + transform: translateY(-50%); } - a { - color: #000 !important; - text-decoration: none !important; + .page-form-complete .form-input { + text-align: center; } - #pageheader, .paging, #linklist li form, #footer { - display: none; + .page-form-complete .form-label label { + display: block; + text-align: left; + margin: 10px 0 0 0; } - #linklist li { - padding: 2 0 10 0; - border-top: 2px solid #000; - clear: both; + .timezone-continent:after { + content:"\a\a"; + white-space: pre; } - #linklist li.private { - background-color: none; - border-left: 0; + .page-form-complete .radio-buttons { + text-align: left; + padding: 5px 15px; } +} - .linkdate { - line-height: 2; - } +/** + * Page visitor (page form extended) + */ +.page-visitor { + color: #252525; +} - .linkurl { - color: #000; - } +#page404 { + color: #3f3f3f; +} - .linkdescription { - font-size: 10pt; - } +/** + * EDIT LINK + */ +#editlinkform .created-date { + color: #767676; + margin-bottom: 10px; +} - .linktag { - border: 1px solid black; - font-style: italic; - font-size: 8pt; - } +/** + * LOGIN + */ +#login-form .remember-me { + margin: 5px 0; } -@media handheld, only screen and (max-width: 480px), only screen and (max-device-width: 854px) { - /* A few fixes for mobile devices (far from perfect). */ +/** + * Search results + */ +.search-result a { + color: white; + text-decoration: none; +} - .tagfilter div.awesomplete { - width: 70%; - } +.search-result .label-tag { + border-color: white; +} - .nomobile { - display: none; - } +.search-result .label-tag .remove { + border-left: white 1px solid; + padding: 0 0 0 5px; + margin: 0 0 0 5px; +} - #logo { - display: none; - } +.search-result .label-private { + border: 1px solid white; +} - #pageheader #menu ul { - text-align: center; - } +/** + * TOOLS + */ +.tools-item { + margin: 10px 0; +} - #pageheader #menu a { - padding: 5px; - border-radius: 3px 3px 3px 3px; - margin: 3px; - } +.tools-item .pure-button:hover { + background-image: none; + background-color: #1b926c; + color: #f5f5f5; +} - #headerform label { - width: 100%; - display: block; - height: auto; - line-height: 25px; - padding-bottom: 10px; - } +/** + * PLUGIN ADMIN + */ +#pluginform .mobile-row { + font-size: 0.9em; +} - #headerform label input[type=text], - #headerform label input[type=password]{ - float: right; - width: 70%; - } +#pluginform .more { + margin-top: 10px; +} - .searchform, .tagfilter { - display: block !important; - margin: 0px 3px 7px 0px !important; - padding: 0px !important; - width: 97% !important; +@media screen and (max-width: 64em) { + #pluginform .main-row, #pluginform .main-row td { + border-bottom-style: none; } - .searchform input, .tagfilter input { - margin: 0px !important; - padding: 0px !important; - display: inline !important; + #pluginform .mobile-row, #pluginform .mobile-row td { + border-top-style: none; } +} - .tagfilter input.bigbutton, .searchform input.bigbutton, .addform input.bigbutton, a.bigbutton { - width: 30%; - font-size: smaller; - } +/** + * IMPORT + */ +#import-field { + margin: 15px 0; +} - #searchform_value { - width: 70% !important; - } +/** + * TAG CLOUD + */ +#cloudtag { + padding: 10px; + text-align: center; +} - #tagfilter_value { - width: 70% !important; - } +#cloudtag, #cloudtag a { + color: #252525; + text-decoration: none; +} - div.qrcode { - position: relative; - float: left; - top: -10px; - left: 0px; - } +#cloudtag .count { + color: #7f7f7f; +} - .paging_privatelinks { - float: none; - } +/** + * TAG LIST + */ +#taglist { + padding: 0 10px; +} - .paging_linksperpage { - float: none; - margin-bottom: 10px; - font-size: smaller; - } +#taglist a { + color: #252525; + text-decoration: none; +} - #paging_older, #paging_newer, .paging_linksperpage a { - border: 1px solid black; - padding: 3px 5px 3px 5px; - background-color: #666; - color: #fff; - border-radius: 3px 3px 3px 3px; - } +#taglist .count { + display: inline-block; + width: 35px; + text-align: right; + color: #7f7f7f; +} - .thumbnail { - float: none; - height: auto; - margin: 0px; - text-align: center; - } +#taglist .rename-tag-form { + display: none; +} - #cloudtag { - padding: 0px; - } +#taglist .delete-tag { + color: #ac2925; + display: none; +} - div.dailyAbout { - float: none; - position: relative; - width: 100%; - clear: both; - padding: 0px; - top: 0px; - left: 0px; - } +#taglist .rename-tag { + color: #0b5ea6; +} - #daily_col1, #daily_col2, #daily_col3 { - float: none; - width: 100%; - padding: 0px; - } +#taglist .validate-rename-tag { + color: #1b926c; +} - div.dailyTitle { - font-size: 18pt; - margin-top: 5px; - padding: 0px; - } +/** + * Picture wall CSS + */ +#picwall_container { + margin: 0 10px 10px 10px; + color: #252525; + background-color: #f5f5f5; + clear: both; +} - div.dailyDate { - font-size: 11pt; - padding: 0px; - display: block; - } +.picwall_pictureframe { + margin: 2px; + background-color: #f5f5f5; + z-index: 5; + position: relative; + display: table-cell; + vertical-align: middle; + width: 90px; + height: 90px; + overflow: hidden; + text-align: center; + float: left; +} - div.dailyEntryTitle { - font-size: 16pt; - font-weight: bold; - } +.b-lazy { + -webkit-transition: opacity 500ms ease-in-out; + -moz-transition: opacity 500ms ease-in-out; + -o-transition: opacity 500ms ease-in-out; + transition: opacity 500ms ease-in-out; + opacity: 0; +} +.b-lazy.b-loaded { + opacity: 1; +} - div.dailyEntryDescription { - font-size: 10pt; - } +.picwall_pictureframe img { + max-width: 100%; + height: auto; + color: transparent; +} /* Adapt the width of the image */ + +.picwall_pictureframe a { + text-decoration: none; } -#toolsdiv a.button-description { - clear: none; +/* CSS to show title when hovering an image - no javascript required. */ +.picwall_pictureframe span.info { + display: none; + font-family: Arial, sans-serif; } -/* Highlight search results */ -.highlight { - background-color: #FFFF33; +.picwall_pictureframe:hover span.info { + display: block; + position: absolute; + top: 0; + left: 0; + width: 90px; + height: 90px; + font-weight: bold; + font-size: 9pt; + color: #f5f5f5; + text-align: left; + background-color: rgba(0, 0, 0, 0.8); } -.center { - text-align: center; +/** + * DAILY + */ +.daily-desc { + color: #7f7f7f; + font-size: 0.8em; } -ul.errors { - color: red; - float: left; +.daily-about a { + color: #343434; + text-decoration: none; } -#pluginsadmin { - width: 80%; - padding: 20px 0 0 20px; +.daily-about a:hover { + color: #7f7f7f; } -#pluginsadmin section { - padding: 20px 0; +.daily-about h3:before, .daily-about h3:after { + display: block; + content:""; + background: linear-gradient(to right, #d5d4d4, #252525, #d5d4d4); + height: 1px; + width: 90%; + margin: 10px auto; } -#pluginsadmin .plugin_parameters { - margin: 10px 0; +.daily-entry { + padding: 0 10px; } -#pluginsadmin h1 { - font-style: normal; +.daily-entry .daily-entry-title:after { + display: block; + content:""; + background: linear-gradient(to right, #fff, #515151, #fff); + height: 1px; + width: 70%; + margin: 5px auto; } -#pluginsadmin h2 { - font-size: 1.4em; - font-weight: bold; +.daily-entry .daily-entry-title { + margin: 10px 0 0 0; } -#pluginsadmin table { - width: 100%; +.daily-entry .daily-entry-title a { + color: #000; + text-decoration: none; } -#pluginsadmin table, #pluginsadmin th, #pluginsadmin td { - border-width: 1px 0; - border-style: solid; - border-color: #c0c0c0; +.daily-entry .daily-entry-description { + padding: 5px 5px 0 5px; + font-size: 0.9em; + text-align: justify; + word-wrap: break-word; } -#pluginsadmin table th { - font-weight: bold; - padding: 10px 0; +.daily-entry .daily-entry-tags { + padding: 0 5px 5px 5px; + font-size: 0.8em; } -#pluginsadmin table td { - padding: 5px 0; +.daily-entry-thumbnail { + float: left; + margin: 15px 5px 5px 15px; } -#pluginsadmin input[type=submit] { - margin: 10px 0; +.daily-entry-description a { + text-decoration: none; + color: #1b926c; } -#pluginsadmin label { - cursor: pointer; +.daily-entry-description a:hover { + text-shadow: 1px 1px #ddd; } -#pluginsadmin .plugin_parameter { - padding: 10px 0; - border-width: 1px 0; - border-style: solid; - border-color: #c0c0c0; +.daily-entry-description a:visited { + color: #20b988; } -#pluginsadmin .float_label { - float: left; - width: 40%; +/* + * Fix empty bookmarklet name in Firefox + */ +.pure-button { + -moz-user-select: auto; +} + +.tag-sort { + margin-top: 30px; + text-align: center; } -#pluginsadmin a { - color: #486D08; +.tag-sort a { + display: inline-block; + margin: 0 15px; + color: white; + text-decoration: none; + font-weight: bold; } -#pluginsadmin a.arrow { - color: black; +/** + * Markdown + */ +.markdown p { + margin: 0 !important; } -/* 404 page */ -.error-container { +.markdown p + p { + margin: 0.5em 0 0 0 !important; +} - margin: 50px; - margin-top: 20px; +.markdown *:first-child { + margin-top: 0 !important; } -.error-container h1 { - text-decoration: none; - font-style: normal; - color: #80AD48; +.markdown *:last-child { + margin-bottom: 5px !important; } -.linklist-plugin-icon { - width: 13px; - height: 13px; +/** + * Pure Button + */ +.pure-button-success, +.pure-button-error, +.pure-button-warning, +.pure-button-primary, +.pure-button-shaarli, +.pure-button-secondary { + color: white !important; + border-radius: 4px; + text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); +} + +.pure-button-shaarli { + background-color: #1B926C; }