]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/default/css/shaarli.css
fix delete button
[github/shaarli/Shaarli.git] / tpl / default / css / shaarli.css
index fd0a144f227c0c98dd79a2fe446e81fc1b9e0bd5..f0ba8adb80cc41bd9241a335c1a884b44def6e43 100644 (file)
@@ -2,7 +2,7 @@
  * General
  */
 body {
-    background: url(../img/noise.png) #979797;
+    background: url(../img/noise.png) #c5c5c5;
 }
 
 .strong {
@@ -86,6 +86,9 @@ pre {
     background-color: #1b926c;
 }
 
+.anchor:target {
+    padding-top: 35px;
+}
 /**
  * MENU
  **/
@@ -107,22 +110,24 @@ pre {
     height: inherit;
 }
 
-.shaarli-menu.open {
-    max-height: 500px;
-    transition: max-height 0.75s;
+.head-logo {
+    float: left;
+    margin: 0 5px 0 0;
 }
 
 .pure-menu-link,
 .pure-menu-link:visited,
 .pure-menu-selected .pure-menu-link,
 .pure-menu-selected .pure-menu-link:visited {
-    color: #b0ddce;
+    color: #f5f5f5;
 }
 
-.pure-menu-link:hover,
-.pure-menu-selected .pure-menu-link:hover {
-    color: #d1fff0;
+.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;
+
 }
 
 .menu-toggle {
@@ -164,43 +169,6 @@ pre {
     }
 }
 
-/**
- * Header
- */
-#header {
-    width: 100%;
-    height: 150px;
-    background: url(../img/noise.png), #979797 url(../img/logo.png) no-repeat 10px 2.5em;
-}
-
-#header h1 {
-    float: left;
-    margin: 45px 0 0 125px;
-    width: 55%;
-    height: 100px;
-}
-
-#header h1 a, #header h1 a:visited {
-    /* https://css-tricks.com/centering-css-complete-guide/#vertical-inline-multiple */
-    display: -ms-flexbox;
-    display: flex;
-    flex-direction: column;
-    justify-content: center;
-
-    overflow: hidden;
-    height: 100px;
-    color: #252525;
-    text-decoration: none;
-    z-index: 1;
-
-    font-family: Roboto Slab, Arial, sans-serif;
-    font-size: 1.2em;
-}
-
-#header h1 a:hover {
-    color: #fff;
-}
-
 .header-buttons {
     text-align: right;
 }
@@ -210,100 +178,92 @@ pre {
     font-size: 0.8em;
 }
 
-#search {
-    margin-top: 5px;
+#search, #search-linklist {
+    text-align: center;
+    width: 100%;
 }
 
-#search input[type="text"] {
-    width: 250px;
-    color: #b0ddce;
+#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;
 }
 
 /* because chrome */
-#search input[type="text"]::-webkit-input-placeholder {
-    color: #b0ddce;
+#search input[type="text"]::-webkit-input-placeholder,
+#search-linklist input[type="text"]::-webkit-input-placeholder {
+    color: #777777;
 }
 
-#search button {
+#search button,
+#search-linklist button {
     background: transparent;
     border: none;
-    color: #b0ddce;
+}
+
+#search button {
+    color: #f5f5f5;
+}
+
+#search-linklist button {
+    color: #252525;
 }
 
 #search button:hover {
     color: #fff;
 }
 
+#search-linklist button:hover {
+    color: #000;
+}
+
+#search-linklist {
+    padding: 5px 0;
+}
+
 @media screen and (min-width: 64em) {
-    #search .searchform {
+    #search .searchform,
+    #search-linklist .searchform {
         margin-right: 25px;
         text-align: right;
     }
 
-    #search .tagfilter {
+    #search .tagfilter,
+    #search-linklist .tagfilter {
         margin-left: 25px;
         text-align: left;
     }
 }
-
-
-
-#header-login-form {
-    height: 0;
-    transition: 0.3s;
-}
-
-#header-login-form.open {
-    display: block;
-    height: 30px;
-    padding: 5px 0;
+@media screen and (max-width: 64em) {
+    #search, #search * {
+        visibility: hidden;
+    }
 }
 
 #header-login-form input[type="text"], #header-login-form input[type="password"] {
     width: 200px;
 }
 
-#header-login-form input, #header-login-form .remember-me {
-    transition: visibility 1s, opacity 1s;
-    visibility: hidden;
-    opacity: 0;
-}
-
-#header-login-form.open input, #header-login-form.open .remember-me {
-    visibility: visible;
-    opacity: 1;
-}
-
 .subheader-form {
+    visibility: hidden;
+    position: fixed;
+    width: 100%;
     text-align: center;
     background: #1b926c;
     display: block;
-    //transition: 0.3s;
+    z-index: 9999;
+    height: 30px;
+    padding: 5px 0;
 }
 
 @media screen and (min-width: 64em) {
-
-    .subheader-form.closed {
-        height: 0;
-    }
-
-    .subheader-form.open {
-        height: 30px;
-        padding: 5px 0;
-    }
-
-    .subheader-form * {
-        --transition: visibility 1s, opacity 1s;
-    }
-
-    .subheader-form.open * {
+    .subheader-form.open, .subheader-form.open * {
         visibility: visible;
-        opacity: 1;
-    }
-
-    .subheader-form.closed * {
-        visibility: hidden;
-        opacity: 0;
     }
 }
 
@@ -312,18 +272,18 @@ pre {
     padding: 5px 5px 3px 15px;
     height: 20px;
     width: 20%;
-    background: #1fa67a;
+    background: #f5f5f5;
     border: medium none currentColor;
-    border-radius: 25px;
+    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: #b0ddce;
+    color: #252525;
 }
 
 /* because chrome */
 .subheader-form input[type="text"]::-webkit-input-placeholder,
 .subheader-form input[type="password"]::-webkit-input-placeholder
 {
-    color: #b0ddce;
+    color: #252525;
 }
 
 .subheader-form .remember-me {
@@ -344,9 +304,8 @@ pre {
     width: 100px;
     background: #0C7653;
     border: medium none currentColor;
-    border-radius: 25px;
     box-shadow: 1px 1px 2px #005C3E, -1px -1px 2px #005C3E;
-    color: #b0ddce;
+    color: #f5f5f5;
 }
 
 .new-version-message {
@@ -364,7 +323,6 @@ pre {
 #content {
     position: relative;
     z-index: 2;
-    background: url(../img/noise.png) #979797;
 }
 
 @media screen and (max-width: 64em) {
@@ -375,7 +333,47 @@ pre {
 
 @media screen and (min-width: 64em) {
     #content {
-        margin-top: 34px;
+        margin-top: 33px;
+    }
+}
+
+/**
+ * Plugins additional forms
+ */
+.toolbar-plugin {
+    margin: 5px 0;
+    text-align: center;
+}
+
+.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;
+}
+
+/* because chrome */
+.toolbar-plugin input[type="text"]::-webkit-input-placeholder {
+    color: #777777;
+}
+
+.toolbar-plugin input[type="submit"] {
+    padding: 0 10px;
+    height: 30px;
+    background: #f5f5f5;
+    border: medium none currentColor;
+    border-radius: 2px;
+    color: #252525;
+}
+
+@media screen and (max-width: 64em) {
+    .toolbar-plugin input[type="text"] {
+        width: 70%;
+
     }
 }
 
@@ -396,7 +394,7 @@ pre {
 
 .linklist-filters .filter-off {
     color: #252525;
-    background: #c8c8c8;
+    background: #f5f5f5;
 }
 
 .linklist-filters .filter-on {
@@ -430,24 +428,25 @@ pre {
     padding: 2px 5px;
     text-decoration: none;
     color: #252525;
-    background: #c8c8c8;
-    border: solid 1px #979797;
+    background: #f5f5f5;
+}
+
+.linksperpage a, .linksperpage input[type="text"] {
+    display: inline-block;
+    width: 20px;
+    text-align: center;
 }
 
 .linksperpage form {
     display: inline;
-    margin: 0 10px 0 0;
 }
 
 .linksperpage input[type="text"] {
-    width: 28px;
-    height: 16px;
+    height: 15px;
     margin: 0;
     padding: 3px 5px 3px 8px;
-    background: #c8c8c8;
+    background: #f5f5f5;
     border: medium none currentColor;
-    --border-radius: 25px;
-    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.078), 0 1px 4px rgba(0, 0, 0, 0.298) inset;
     color: #252525;
     font-size: 0.8em;
 }
@@ -456,7 +455,7 @@ pre {
  * CONTENT - LINKLIST ITEMS
  */
 .linklist-item {
-    margin: 15px 0;
+    margin: 0 0 15px 0;
     background: #f5f5f5;
     box-shadow: 2px 2px 0.5em #797979;
 }
@@ -467,9 +466,20 @@ pre {
 }
 
 .linklist-item-title {
-    background: #20b988 url(../img/noise.png);
-    border-bottom: 1px solid #1b926c;
-    box-shadow: 1px 1px 0.2em #1b926c;
+    position: relative;
+    background: #f5f5f5;
+}
+
+.linklist-item.private .linklist-item-title::before {
+    position: absolute;
+    left: 3px;
+    top: 0;
+    display: block;
+    content:"";
+    background: #F89406;
+    height: 95%;
+    width: 3px;
+    margin-top: 3px;
 }
 
 .linklist-item-title h2 {
@@ -479,44 +489,91 @@ pre {
 
 .linklist-item-title a {
     font-size: 0.7em;
-    color: #d0fff0;
+    color: #252525;
     text-decoration: none;
     vertical-align: middle;
     font-family: Roboto Slab, Arial, sans-serif;
 }
 
+.linklist-item-title .linklist-link {
+    font-size: 1.1em;
+    color: #1b926c;
+}
+
 .linklist-item-title .linklist-link:visited {
-    color: #ddd;
+    color: #1b926c;
 }
 
 .linklist-item-title a:hover, .linklist-item-title .linklist-link:hover{
-    color: #fff;
+    color: #252525;
 }
 
 
 .linklist-item-title .label-private {
-    border: solid 1px #d0fff0;
+    border: solid 1px #F89406;
     font-family: Arial, sans-serif;
     font-size: 0.65em;
+    color: #F89406;
 }
 
 .linklist-item-title .fold-button {
     display: none;
 }
 
+.linklist-item-title:after {
+    display: block;
+    content:"";
+    background: linear-gradient(to right, #f5f5f5, #8e8e8e, #f5f5f5);
+    height: 1px;
+    width: 90%;
+    margin: 1px auto 0 auto;
+}
+
 .linklist-item-editbuttons {
     float: right;
     padding: 5px;
 }
 
+.linklist-item-editbuttons * {
+    display: block;
+    float: left;
+    margin: 0 1px;
+}
+
 .linklist-item-editbuttons a {
     font-size: 1em;
 }
 
+.edit-link {
+    font-size: 1.2em;
+    color: #0b5ea6;
+}
+
+.delete-link {
+    font-size: 1.1em;
+    color: #ac2925 !important;
+}
+
 .linklist-item-description {
+    position: relative;
     padding: 10px;
+    background: #f5f5f5;
     font-family: Roboto Slab, Arial, sans-serif;
     word-wrap: break-word;
+    color: #252525;
+}
+
+.linklist-item.private .linklist-item-description::before {
+    position: absolute;
+    left: 3px;
+    top: 0;
+    display: block;
+    content:"";
+    background: #F89406;
+    height: 95%;
+    width: 3px;
+    z-index: 9999;
+    #margin: 0;
 }
 
 .linklist-item-description a {
@@ -525,11 +582,11 @@ pre {
 }
 
 .linklist-item-description a:hover {
-    text-shadow: 1px 1px #ddd;
+    color: #252525;
 }
 
 .linklist-item-description a:visited {
-    color: #20b988;
+    color: #14553f;
 }
 
 .linklist-item-thumbnail {
@@ -539,15 +596,13 @@ pre {
 }
 
 .linklist-item-infos {
-    padding: 5px 5px 0 5px;
-    background: #ddd url(../img/noise.png);
-    border-top: 1px solid #989898;
-    box-shadow: 1px -1px 0.2em #989898;
+    padding: 8px 8px 5px 8px;
+    background: #ddd;
     color: #252525;
 }
 
 .linklist-item-infos a {
-    color: #505050;
+    color: #252525;
     text-decoration: none;
 }
 
@@ -556,17 +611,11 @@ pre {
 }
 
 .linklist-item-infos .linklist-item-tags {
-    margin: 0 0 5px 0;
     font-size: 0.8em;
 }
 
-.linklist-item-infos .linklist-item-infos .label-tag {
-    border: 1px solid #505050;
-    font-size: 0.9em;
-}
-
-.linklist-item-infos .label-tag:hover {
-    border: 1px solid #000;
+.linklist-item-infos .label-tag {
+    font-size: 1em;
 }
 
 .linklist-item-infos-dateblock {
@@ -586,6 +635,17 @@ pre {
     font-size: 0.8em;
 }
 
+.linklist-item-infos .mobile-buttons {
+    text-align: right;
+}
+
+.linklist-item-infos .linklist-plugin-icon {
+    display: inline-block;
+    margin: 0 2px;
+    width: 16px;
+    height: 16px;
+}
+
 /** 64em -> lg **/
 @media screen and (max-width: 64em) {
     .linklist-item-infos-url {
@@ -621,21 +681,28 @@ pre {
  */
 .page-form {
     margin: 20px 0 0 0;
-    background: url(../img/noise.png) #1fa67a;
-    border-radius: 5px;
+    background: #f5f5f5;
     box-shadow: 1px 1px 2px #797979;
-    color: #b0ddce;
+    color: #252525;
+    overflow: hidden;
 }
 
 .page-form .window-title {
     margin: 0 0 10px 0;
     padding: 10px 0;
     width: 100%;
-    color: #b0ddce;
-    background: #1b926c;
+    color: #1b926c;
+    background: #f5f5f5;
     text-align: center;
-    border-radius: 5px 5px 0 0;
-    border-bottom: 1px solid #797979;
+}
+
+.page-form .window-title:after {
+    display: block;
+    content:"";
+    background: linear-gradient(to right, #f5f5f5, #1b926c, #f5f5f5);
+    height: 1px;
+    width: 80%;
+    margin: auto;
 }
 
 .page-form .window-subtitle {
@@ -643,22 +710,27 @@ pre {
 }
 
 .page-form a {
-    color: #b0ddce;
+    color: #1b926c;
     font-weight: bold;
 }
 
+.page-form p {
+    padding: 0 10px;
+    margin: 0;
+}
+
 .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: 30px;
-    width: 80%;
-    background: #1b926c;
-    border: medium none currentColor;
-    border-radius: 25px;
-    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.078), 0 1px 4px rgba(0, 0, 0, 0.298) inset;
-    color: #b0ddce;
+    height: 35px;
+    width: 90%;
+    background: #eeeeee;
+    border: solid 1px #d8d8d8;
+    border-radius: 2px;
+    color: #252525;
 }
 
 .page-form textarea {
@@ -672,24 +744,42 @@ pre {
 /* because chrome */
 .page-form input[type="text"]::-webkit-input-placeholder,
 .page-form input[type="password"]::-webkit-input-placeholder {
-    color: #b0ddce;
+    color: #777777;
 }
 
-.page-form input[type="submit"] {
+.page-form input[type="submit"], .page-form a.button {
     margin: 15px 5px;
     height: 35px;
+    line-height: 35px;
     width: 150px;
     background: #1b926c;
-    border: medium none currentColor;
-    border-radius: 25px;
-    box-shadow: 1px 1px 4px #0C7653, -1px -1px 6px #0C7653, -1px 1px 6px #0C7653, 1px -1px 6px #0C7653;
+    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;
-    font-weight: bold;
-    color: #b0ddce;
+    text-decoration: none;
+    vertical-align: center;
+    font-weight: normal;
+}
+
+
+.page-form .button.button-red {
+    background: #ac2925;
+}
+
+@media screen and (min-width: 64em) {
+    .page-form .submit-buttons {
+        position: relative;
+    }
+
+    .page-form .submit-buttons .button.button-red {
+        position: absolute;
+        right: 5%;
+    }
 }
 
 .page-form select {
-    color: black;
+    color: #252525;
 }
 
 /**
@@ -703,11 +793,11 @@ pre {
  * PAGE FORM - COMPLETE
  */
 .page-form-complete {
-    #background: #ddd;
+    #background: #f5f5f5;
 }
 
 .page-form-complete div, .page-form-complete p {
-    color: #b0ddce;
+    color: #252525;
 }
 
 .page-form-complete .form-label, .page-form-complete .form-input {
@@ -744,10 +834,9 @@ pre {
 }
 
 .page-form section {
-    margin-top: 20px;
+    margin: 10px 0 25px 0;
 }
 
-
 .page-form table {
     margin: auto;
     width: 90%;
@@ -755,12 +844,13 @@ pre {
 
 .page-form table .order {
     text-decoration: none;
+    color: #252525;
 }
 
 .page-form table, .page-form th, .page-form td {
     border-width: 1px 0;
     border-style: solid;
-    border-color: #b0ddce;
+    border-color: #aaaaaa;
 }
 
 .page-form th, .page-form td {
@@ -770,7 +860,7 @@ pre {
 
 /* Awesomeplete fix */
 .page-form .awesomplete {
-    width: 80%;
+    width: 90%;
 }
 
 .page-form .awesomplete input {
@@ -810,7 +900,7 @@ pre {
         text-align: left;
         margin: 10px 0 0 0;
     }
-    
+
     .timezone-continent:after {
         content:"\a\a";
         white-space: pre;
@@ -826,8 +916,7 @@ pre {
  * Page visitor (page form extended)
  */
 .page-visitor {
-    background: url(../img/noise.png) #fff;
-    color: #000;
+    color: #252525;
 }
 
 #page404 {
@@ -839,128 +928,6 @@ pre {
  */
 #login-form .remember-me {
     margin: 5px 0;
-    color: #b0ddce;
-    font-weight: bold;
-}
-
-/**
- * CONTENT - LINKLIST ITEMS
- */
-.linklist-item {
-    margin: 15px 0;
-    background: #f5f5f5;
-    box-shadow: 2px 2px 0.5em #797979;
-}
-
-.linklist-item-title, .linklist-item-title h2  {
-    margin: 0;
-}
-
-.linklist-item-title {
-    background: #20b988 url(../img/noise.png);
-    border-bottom: 1px solid #1b926c;
-    box-shadow: 1px 1px 0.2em #1b926c;
-}
-
-.linklist-item-title h2 {
-    padding: 3px 10px 0 10px;
-    line-height: 25px;
-}
-
-.linklist-item-title a {
-    font-size: 0.7em;
-    color: #d0fff0;
-    text-decoration: none;
-    vertical-align: middle;
-    font-family: Roboto Slab, Arial, sans-serif;
-}
-
-.linklist-item-title .linklist-link:visited {
-    color: #ddd;
-}
-
-.linklist-item-title a:hover, .linklist-item-title .linklist-link:hover{
-    color: #fff;
-}
-
-.linklist-item-title .label-private {
-    border: solid 1px #d0fff0;
-    font-family: Arial, sans-serif;
-    font-size: 0.65em;
-}
-
-.linklist-item-title .fold-button {
-    display: none;
-}
-
-.linklist-item-editbuttons {
-    float: right;
-    padding: 5px;
-}
-
-.linklist-item-editbuttons a {
-    font-size: 1em;
-}
-
-.linklist-item-description {
-    padding: 10px;
-    font-family: Roboto Slab, Arial, sans-serif;
-}
-
-.linklist-item-description a {
-    text-decoration: none;
-    color: #1b926c;
-}
-
-.linklist-item-description a:hover {
-    text-shadow: 1px 1px #ddd;
-}
-
-.linklist-item-description a:visited {
-    color: #20b988;
-}
-
-.linklist-item-infos {
-    padding: 5px;
-    background: #ddd url(../img/noise.png);
-    border-top: 1px solid #989898;
-    box-shadow: 1px -1px 0.2em #989898;
-    color: #252525;
-    font-size: 0.8em;
-}
-
-.linklist-item-infos a {
-    color: #505050;
-    text-decoration: none;
-}
-
-.linklist-item-infos a:hover {
-    color: #000;
-}
-
-.linklist-item-tags {
-    margin: 0 0 5px 0;
-}
-
-.label-tag {
-    border: 1px solid #505050;
-    font-size: 1em;
-}
-
-.label-tag:hover {
-    border: 1px solid #000;
-}
-
-.linklist-plugin-icon {
-    width: 13px;
-    height: 13px;
-}
-
-.linklist-item-infos-url {
-    text-align: right;
-    white-space: nowrap;
-    overflow: hidden;
-    text-overflow: ellipsis;
 }
 
 /**
@@ -988,6 +955,12 @@ pre {
     margin: 10px 0;
 }
 
+.tools-item .pure-button:hover {
+    background-image: none;
+    background-color: #1b926c;
+    color: #f5f5f5;
+}
+
 /**
  * PLUGIN ADMIN
  */
@@ -1009,7 +982,6 @@ pre {
     }
 }
 
-
 /**
  * IMPORT
  */
@@ -1039,13 +1011,14 @@ pre {
  */
 #picwall_container {
     margin: 0 10px 10px 10px;
-    color: #fff;
-    background-color: #000;
+    color: #252525;
+    background-color: #f5f5f5;
     clear: both;
 }
 
 .picwall_pictureframe {
-    background-color: #000;
+    margin: 2px;
+    background-color: #f5f5f5;
     z-index: 5;
     position: relative;
     display: table-cell;
@@ -1081,6 +1054,7 @@ pre {
 /* CSS to show title when hovering an image - no javascript required. */
 .picwall_pictureframe span.info {
     display: none;
+    font-family: Arial, sans-serif;
 }
 
 .picwall_pictureframe:hover span.info {
@@ -1089,16 +1063,12 @@ pre {
     top: 0;
     left: 0;
     width: 90px;
+    height: 90px;
     font-weight: bold;
-    font-size: 8pt;
-    color: #fff;
+    font-size: 9pt;
+    color: #f5f5f5;
     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\96IE9 */
-    text-shadow: 2px 2px 1px #000000;
+    background-color: rgba(0, 0, 0, 0.8);
 }
 
 /**
@@ -1127,6 +1097,10 @@ pre {
     margin: 10px auto;
 }
 
+.daily-entry {
+    padding: 0 10px;
+}
+
 .daily-entry .daily-entry-title:after {
     display: block;
     content:"";