]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/default/css/shaarli.css
picwall template
[github/shaarli/Shaarli.git] / tpl / default / css / shaarli.css
index 27a127bc71b6dd9a14a815c495d3a8e8ef1d7ecc..e73375d4e1b41915b4c41495a194a246ff5c0b1f 100644 (file)
@@ -15,6 +15,7 @@ body {
 
 .center {
     text-align: center;
+    margin: auto;
 }
 
 .label {
@@ -81,6 +82,10 @@ pre {
     cursor: pointer;
 }
 
+.pure-alert-success {
+    background-color: #1b926c;
+}
+
 /**
  * MENU
  **/
@@ -97,13 +102,18 @@ pre {
     z-index: 999;
 }
 
+/* Chrome bugfix: with 100% height, it only displays the first element. */
+.pure-menu-item {
+    height: inherit;
+}
+
 .shaarli-menu.open {
     max-height: 500px;
     transition: max-height 0.75s;
 }
 
 .pure-menu-selected {
-    background: #1A694C;
+    background: #b0ddce;
 }
 
 .pure-menu-link,
@@ -526,12 +536,12 @@ pre {
     color: #000;
 }
 
-.linklist-item-tags {
+.linklist-item-infos .linklist-item-tags {
     margin: 0 0 5px 0;
     font-size: 0.8em;
 }
 
-.linklist-item-infos .label-tag {
+.linklist-item-infos .linklist-item-infos .label-tag {
     border: 1px solid #505050;
     font-size: 0.9em;
 }
@@ -588,13 +598,14 @@ pre {
 }
 
 /**
- * Login page
+ * PAGE FORM
  */
 .page-form {
     margin: 20px 0 0 0;
     background: url(../img/noise.png) #1fa67a;
     border-radius: 5px;
     box-shadow: 1px 1px 2px #797979;
+    color: #b0ddce;
 }
 
 .page-form h2 {
@@ -608,12 +619,18 @@ pre {
     border-bottom: 1px solid #797979;
 }
 
-.page-form div {
-    width: 100%;
+.page-form h3 {
     text-align: center;
 }
 
-.page-form input[type="text"], .page-form input[type="password"] {
+.page-form a {
+    color: #b0ddce;
+    font-weight: bold;
+}
+
+.page-form input[type="text"],
+.page-form input[type="password"],
+.page-form textarea {
     margin: 10px 0;
     padding: 5px 5px 3px 15px;
     height: 30px;
@@ -625,20 +642,22 @@ pre {
     color: #b0ddce;
 }
 
+.page-form textarea {
+    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: #b0ddce;
 }
 
-#login-form .remember-me {
-    margin: 5px 0;
-    color: #b0ddce;
-    font-weight: bold;
-}
-
 .page-form input[type="submit"] {
-    margin: 10px 0;
+    margin: 15px 5px;
     height: 35px;
     width: 150px;
     background: #1b926c;
@@ -650,9 +669,154 @@ pre {
     color: #b0ddce;
 }
 
+.page-form select {
+    color: black;
+}
+/**
+ * PAGE FORM - LIGHT
+ */
+.page-form-light div, .page-form-light p {
+    text-align: center;
+}
+
+/**
+ * PAGE FORM - COMPLETE
+ */
+.page-form-complete {
+    #background: #ddd;
+}
+
+.page-form-complete div, .page-form-complete p {
+    color: #b0ddce;
+}
+
+.page-form-complete .form-label, .page-form-complete .form-input {
+    position: relative;
+    height: 60px;
+}
+
+.page-form-complete .form-label label,
+.page-form-complete .form-input input,
+.page-form-complete .timezone {
+    position: absolute;
+    top: 50%;
+    transform: translateY(-50%);
+}
+
+.page-form-complete .form-label label {
+    text-align: right;
+    right: 0;
+    padding: 0 20px;
+}
+
+.page-form-complete .label-name {
+    font-weight: bold;
+}
+
+.page-form-complete .label-desc {
+    font-size: 0.7em;
+}
+
+.page-form section {
+    margin-top: 20px;
+}
+
+
+.page-form table {
+    margin: auto;
+    width: 90%;
+}
+
+.page-form table .order {
+    text-decoration: none;
+}
+
+.page-form table, .page-form th, .page-form td {
+    border-width: 1px 0;
+    border-style: solid;
+    border-color: #b0ddce;
+}
+
+.page-form th, .page-form td {
+    padding: 5px;
+
+}
+
+/* Awesomeplete fix */
+.page-form .awesomplete {
+    width: 80%;
+}
+
+.page-form .awesomplete input {
+    width: 100%;
+}
+
+.page-form div.awesomplete > ul {
+    color: black;
+}
+
+@media screen and (max-width: 64em) {
+    .page-form-complete .form-label {
+        height: inherit;
+    }
+
+    .page-form-complete .form-label label,
+    .page-form-complete .form-input input,
+    .page-form-complete .timezone {
+        position: inherit;
+        top: inherit;
+        transform: translateY(0);
+    }
+
+    .page-form-complete .form-input input[type="checkbox"] {
+        position: absolute;
+        top: 50%;
+        right: 50%;
+        transform: translateY(-50%);
+    }
+
+    .page-form-complete .form-input {
+        text-align: center;
+    }
+
+    .page-form-complete .form-label label {
+        display: block;
+        text-align: left;
+        margin: 10px 0 0 0;
+    }
+    
+    .timezone-continent:after {
+        content:"\a\a";
+        white-space: pre;
+    }
+
+    .page-form-complete .radio-buttons {
+        text-align: left;
+        padding: 5px 15px;
+    }
+}
+
+/**
+ * Page visitor (page form extended)
+ */
+.page-visitor {
+    background: url(../img/noise.png) #fff;
+}
+
 #page404 {
     color: #3f3f3f;
-}/**
+}
+
+/**
+ * LOGIN
+ */
+#login-form .remember-me {
+    margin: 5px 0;
+    color: #b0ddce;
+    font-weight: bold;
+}
+
+/**
  * CONTENT - LINKLIST ITEMS
  */
 .linklist-item {
@@ -692,7 +856,6 @@ pre {
     color: #fff;
 }
 
-
 .linklist-item-title .label-private {
     border: solid 1px #d0fff0;
     font-family: Arial, sans-serif;
@@ -752,12 +915,12 @@ pre {
     margin: 0 0 5px 0;
 }
 
-.linklist-item-infos .label-tag {
+.label-tag {
     border: 1px solid #505050;
-    font-size: 0.9em;
+    font-size: 1em;
 }
 
-.linklist-item-infos .label-tag:hover {
+.label-tag:hover {
     border: 1px solid #000;
 }
 
@@ -772,3 +935,136 @@ pre {
     overflow: hidden;
     text-overflow: ellipsis;
 }
+
+/**
+ * Search results
+ */
+.search-result a {
+    color: white;
+    text-decoration: none;
+}
+
+.search-result .label-tag {
+    border-color: white;
+}
+
+.search-result .label-tag .remove {
+    border-left: white 1px solid;
+    padding: 0 0 0 5px;
+    margin: 0 0 0 5px;
+}
+
+/**
+ * TOOLS
+ */
+.tools-item {
+    margin: 10px 0;
+}
+
+/**
+ * PLUGIN ADMIN
+ */
+#pluginform .mobile-row {
+    font-size: 0.9em;
+}
+
+#pluginform .more {
+    margin-top: 10px;
+}
+
+@media screen and (max-width: 64em) {
+    #pluginform .main-row, #pluginform .main-row td {
+        border-bottom-style: none;
+    }
+
+    #pluginform .mobile-row, #pluginform .mobile-row td {
+        border-top-style: none;
+    }
+}
+
+
+/**
+ * IMPORT
+ */
+#import-field {
+    margin: 15px 0;
+}
+
+/**
+ * TAG CLOUD
+ */
+#cloudtag {
+    padding: 10px;
+    text-align: center;
+}
+
+#cloudtag, #cloudtag a {
+    color: #000;
+    text-decoration: none;
+}
+
+/**
+ * Picture wall CSS
+ */
+#picwall_container {
+    color: #fff;
+    background-color: #000;
+    clear: both;
+}
+
+.picwall_pictureframe {
+    background-color: #000;
+    z-index: 5;
+    position: relative;
+    display: table-cell;
+    vertical-align: middle;
+    width: 90px;
+    height: 90px;
+    overflow: hidden;
+    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;
+}
+
+.picwall_pictureframe img {
+    max-width: 100%;
+    height: auto;
+    color: transparent;
+} /* Adapt the width of the image */
+
+.picwall_pictureframe a {
+    text-decoration: none;
+}
+
+/* CSS to show title when hovering an image - no javascript required. */
+.picwall_pictureframe span.info {
+    display: none;
+}
+
+.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\96IE9 */
+    text-shadow: 2px 2px 1px #000000;
+}