]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/default/css/shaarli.css
Import/export templates and minor fixes
[github/shaarli/Shaarli.git] / tpl / default / css / shaarli.css
index c9229c3cd75db6ebc27835fa74ab7d63f605ef74..4b1be7e2b2557eefd10a5cd5d137c8863b9ad556 100644 (file)
@@ -15,6 +15,7 @@ body {
 
 .center {
     text-align: center;
+    margin: auto;
 }
 
 .label {
@@ -112,7 +113,7 @@ pre {
 }
 
 .pure-menu-selected {
-    background: #1A694C;
+    background: #b0ddce;
 }
 
 .pure-menu-link,
@@ -535,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;
 }
@@ -597,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 {
@@ -617,15 +619,18 @@ pre {
     border-bottom: 1px solid #797979;
 }
 
-.page-form div, .page-form p {
+.page-form h3 {
     text-align: center;
 }
 
-.page-form p {
+.page-form a {
     color: #b0ddce;
+    font-weight: bold;
 }
 
-.page-form input[type="text"], .page-form input[type="password"] {
+.page-form input[type="text"],
+.page-form input[type="password"],
+.page-form textarea {
     margin: 10px 0;
     padding: 5px 5px 3px 15px;
     height: 30px;
@@ -637,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;
@@ -662,10 +669,147 @@ 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;
+    }
+}
+
+
 #page404 {
     color: #3f3f3f;
 }
 
+/**
+ * LOGIN
+ */
+#login-form .remember-me {
+    margin: 5px 0;
+    color: #b0ddce;
+    font-weight: bold;
+}
+
 /**
  * CONTENT - LINKLIST ITEMS
  */
@@ -706,7 +850,6 @@ pre {
     color: #fff;
 }
 
-
 .linklist-item-title .label-private {
     border: solid 1px #d0fff0;
     font-family: Arial, sans-serif;
@@ -766,12 +909,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;
 }
 
@@ -787,9 +930,60 @@ pre {
     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;
+}
+
+@media screen and (max-width: 64em) {
+
 }
\ No newline at end of file