]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/default/css/shaarli.css
Improve header login button
[github/shaarli/Shaarli.git] / tpl / default / css / shaarli.css
index ae0d58073c3cbff1bf6c4ae060a10d14d3ce81f9..2a7dff1c79c3af783bce0e9bc6a445bd3a1a72fc 100644 (file)
@@ -2,7 +2,7 @@
  * General
  */
 body {
-    background: url(../img/noise.png) #c5c5c5;
+    background: #c5c5c5;
 }
 
 .strong {
@@ -86,6 +86,9 @@ pre {
     background-color: #1b926c;
 }
 
+.anchor:target {
+    padding-top: 40px;
+}
 /**
  * MENU
  **/
@@ -93,10 +96,11 @@ pre {
     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: 2.1em;
+    max-height: 45px;
     transition: max-height 0.5s;
     overflow: hidden;
     z-index: 999;
@@ -104,7 +108,7 @@ pre {
 
 /* Chrome bugfix: with 100% height, it only displays the first element. */
 .pure-menu-item {
-    height: inherit;
+    height: 45px;
 }
 
 .shaarli-menu.open {
@@ -112,10 +116,16 @@ pre {
     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 {
+    padding: 0.8em 1em;
     color: #f5f5f5;
 }
 
@@ -124,14 +134,22 @@ pre {
 .pure-menu-selected .pure-menu-link:focus {
     color: #fff;
     background: transparent;
+}
 
+.pure-menu-item:hover::after {
+    margin: -4px auto 0 auto;
+    display: block;
+    content:"";
+    background: #fff;
+    height: 4px;
+    width: 100%;
 }
 
 .menu-toggle {
     width: 34px;
-    height: 34px;
+    height: 45px;
     position: absolute;
-    top: 0;
+    top: 5px;
     right: 0;
     display: none;
 }
@@ -175,46 +193,74 @@ pre {
     font-size: 0.8em;
 }
 
-#search {
-    position: fixed;
+@media screen and (min-width: 64em) {
+    #linkcount {
+        position: absolute;
+        right: 5px;
+    }
+}
+
+#search, #search-linklist {
+    text-align: center;
     width: 100%;
 }
 
-#search input[type="text"] {
-    width: 250px;
+#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: #252525;
+#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;
+}
+
+#search button {
     color: #f5f5f5;
 }
 
-#search button:hover {
+#search-linklist button {
+    color: #252525;
+}
+
+#search button:hover,
+#search-linklist button:hover {
     color: #fff;
 }
 
+#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;
     }
 }
 @media screen and (max-width: 64em) {
-    #search {
-        position: relative;
-        height: 60px;
+    #search, #search * {
+        visibility: hidden;
     }
 }
 
@@ -229,7 +275,7 @@ pre {
     text-align: center;
     background: #1b926c;
     display: block;
-    z-index: 9999;
+    z-index: 999;
     height: 30px;
     padding: 5px 0;
 }
@@ -239,11 +285,6 @@ pre {
         visibility: visible;
     }
 }
-@media screen and (max-width: 64em) {
-    #search.subheader-form, .subheader-form.open * {
-        visibility: visible;
-    }
-}
 
 .subheader-form input[type="text"], .subheader-form input[type="password"], .subheader-form .remember-me {
     margin: 0 0 5px 0;
@@ -252,7 +293,7 @@ pre {
     width: 20%;
     background: #f5f5f5;
     border: medium none currentColor;
-    border-radius: 5px;
+    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;
 }
@@ -278,12 +319,18 @@ pre {
 .subheader-form input[type="submit"] {
     display: inline-block;
     margin: 0 0 5px 0;
-    height: 25px;
+    padding: 4px 0 4px 0;
+    height: 28px;
     width: 100px;
-    background: #0C7653;
-    border: medium none currentColor;
-    box-shadow: 1px 1px 2px #005C3E, -1px -1px 2px #005C3E;
+    background: #1b926c;
+    border: 1px solid #f5f5f5;
     color: #f5f5f5;
+    border-radius: 2px;
+}
+
+.subheader-form input[type="submit"]:hover {
+    background: #f5f5f5;
+    color: #1b926c;
 }
 
 .new-version-message {
@@ -301,17 +348,46 @@ pre {
 #content {
     position: relative;
     z-index: 2;
+    margin-top: 45px;
 }
 
-@media screen and (max-width: 64em) {
-    #content {
-        margin: 2.1em 0 0 0;
-    }
+/**
+ * Plugins additional forms
+ */
+.toolbar-plugin {
+    margin: 5px 0;
+    text-align: center;
 }
 
-@media screen and (min-width: 64em) {
-    #content {
-        margin-top: 33px;
+.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%;
+
     }
 }
 
@@ -326,7 +402,7 @@ pre {
 }
 
 .linklist-filters a {
-    padding: 2px 5px;
+    padding: 5px 8px;
     text-decoration: none;
 }
 
@@ -363,22 +439,26 @@ pre {
 }
 
 .linksperpage a {
-    padding: 2px 5px;
+    padding: 5px 5px;
     text-decoration: none;
     color: #252525;
     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: 12px;
+    height: 20px;
     margin: 0;
-    padding: 3px 5px 3px 8px;
+    padding: 4px 5px 3px 8px;
     background: #f5f5f5;
     border: medium none currentColor;
     color: #252525;
@@ -400,12 +480,26 @@ pre {
 }
 
 .linklist-item-title {
+    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: 2px;
+    margin-top: 3px;
+    z-index: 1;
+}
+
 .linklist-item-title h2 {
     padding: 3px 10px 0 10px;
-    line-height: 25px;
+    line-height: 30px;
 }
 
 .linklist-item-title a {
@@ -417,6 +511,7 @@ pre {
 }
 
 .linklist-item-title .linklist-link {
+    font-size: 1.1em;
     color: #1b926c;
 }
 
@@ -440,18 +535,15 @@ pre {
     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;
+    padding: 8px 5px;
+}
+
+.linklist-item-editbuttons * {
+    display: block;
+    float: left;
+    margin: 0 1px;
 }
 
 .linklist-item-editbuttons a {
@@ -464,16 +556,30 @@ pre {
 }
 
 .delete-link {
-    font-size: 1.1em;
+    font-size: 1.3em;
     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;
+    line-height: 1.3em;
+}
+
+.linklist-item.private .linklist-item-description::before {
+    position: absolute;
+    left: 3px;
+    top: 0;
+    display: block;
+    content:"";
+    background: #F89406;
+    height: 95%;
+    width: 2px;
+    z-index: 1;
 }
 
 .linklist-item-description a {
@@ -496,13 +602,13 @@ pre {
 }
 
 .linklist-item-infos {
-    padding: 5px 5px 0 5px;
+    padding: 8px 8px 5px 8px;
     background: #ddd;
     color: #252525;
 }
 
 .linklist-item-infos a {
-    color: #505050;
+    color: #252525;
     text-decoration: none;
 }
 
@@ -511,17 +617,11 @@ pre {
 }
 
 .linklist-item-infos .linklist-item-tags {
-    margin: 0 0 5px 0;
     font-size: 0.8em;
 }
 
 .linklist-item-infos .label-tag {
-    border: 1px solid #505050;
-    font-size: 0.9em;
-}
-
-.linklist-item-infos .label-tag:hover {
-    border: 1px solid #000;
+    font-size: 1em;
 }
 
 .linklist-item-infos-dateblock {
@@ -541,6 +641,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 {
@@ -576,10 +687,10 @@ pre {
  */
 .page-form {
     margin: 20px 0 0 0;
-    padding: 0 10px 0 10px;
     background: #f5f5f5;
     box-shadow: 1px 1px 2px #797979;
     color: #252525;
+    overflow: hidden;
 }
 
 .page-form .window-title {
@@ -609,17 +720,22 @@ pre {
     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: #f5f5f5;
-    border: medium none currentColor;
-    border-radius: 5px;
-    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.078), 0 1px 4px rgba(0, 0, 0, 0.298) inset;
+    height: 35px;
+    width: 90%;
+    background: #eeeeee;
+    border: solid 1px #d8d8d8;
+    border-radius: 2px;
     color: #252525;
 }
 
@@ -634,18 +750,50 @@ pre {
 /* because chrome */
 .page-form input[type="text"]::-webkit-input-placeholder,
 .page-form input[type="password"]::-webkit-input-placeholder {
-    color: #252525;
+    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;
+    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;
-    color: #f5f5f5;
+    text-decoration: none;
+    vertical-align: center;
+    font-weight: normal;
+    display: inline-block;
+}
+
+
+.page-form .button.button-red {
+    background: #ac2925;
+}
+
+.page-form .submit-buttons {
+    margin-bottom: 10px;
+}
+
+@media screen and (min-width: 64em) {
+    .page-form .submit-buttons {
+        position: relative;
+    }
+
+    .page-form .submit-buttons .button.button-red {
+        position: absolute;
+        right: 5%;
+    }
+}
+
+@media screen and (max-width: 64em) {
+    .page-form .submit-buttons .button {
+        display: block;
+        margin: auto;
+    }
 }
 
 .page-form select {
@@ -704,10 +852,9 @@ pre {
 }
 
 .page-form section {
-    margin-top: 20px;
+    margin: 10px 0 25px 0;
 }
 
-
 .page-form table {
     margin: auto;
     width: 90%;
@@ -715,12 +862,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 {
@@ -730,7 +878,7 @@ pre {
 
 /* Awesomeplete fix */
 .page-form .awesomplete {
-    width: 80%;
+    width: 90%;
 }
 
 .page-form .awesomplete input {
@@ -770,7 +918,7 @@ pre {
         text-align: left;
         margin: 10px 0 0 0;
     }
-    
+
     .timezone-continent:after {
         content:"\a\a";
         white-space: pre;
@@ -852,7 +1000,6 @@ pre {
     }
 }
 
-
 /**
  * IMPORT
  */
@@ -882,13 +1029,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;
@@ -924,6 +1072,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 {
@@ -932,16 +1081,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);
 }
 
 /**
@@ -996,6 +1141,7 @@ pre {
     padding: 5px 5px 0 5px;
     font-size: 0.9em;
     text-align: justify;
+    word-wrap: break-word;
 }
 
 .daily-entry .daily-entry-tags {