]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - themes/baggy/css/main.css
translation fix for #887 and tiny display fix
[github/wallabag/wallabag.git] / themes / baggy / css / main.css
index 61e0b47e6b6ec3b06a7d832ff72ab620b60cdd42..f2fd1ad898e7f429c5bf2227bce466d8eeb063ef 100755 (executable)
@@ -89,9 +89,10 @@ form fieldset {
   margin: 0;
 }
 
-form input[type="text"], select, form input[type="password"], form input[type="url"] {
+form input[type="text"], select, form input[type="password"], form input[type="url"], form input[type="email"] {
   border: 1px solid #999;
   padding: 0.5em 1em;
+  margin-left: 5px;
   min-width: 12em;
   color: #666;
 }
@@ -180,7 +181,7 @@ h2:after {
   padding-top: 9.5em;
   height: 100%;
   box-shadow:inset -4px 0 20px rgba(0,0,0,0.6);
-  z-index: 10;
+  z-index: 15;
 }
 
 #main {
@@ -352,10 +353,10 @@ footer a {
   letter-spacing:normal;
   box-shadow: 0 3px 7px rgba(0,0,0,0.3);
   display: inline-block;
-  width: 32%!important;
+  width: 32%;
   margin-bottom: 1.5em;
   vertical-align: top;
-  margin-left: 1.5%!important;
+  margin-left: 1.5%;
   position: relative;
   overflow: hidden;
   padding: 1.5em 1.5em 3em 1.5em;
@@ -424,6 +425,7 @@ footer a {
     content: none;
   }
 
+
 .entrie h2 a {
   display: block;
   text-decoration: none;
@@ -435,7 +437,7 @@ footer a {
        -o-transition: all 0.5s ease;
           transition: all 0.5s ease;
 }
-
+/*
 .entrie h2 a:after {
   content: "";
   position: absolute;
@@ -444,6 +446,7 @@ footer a {
   height: 100%;
   left: 0;
 }
+*/
 
 .entrie p {
   color: #666;
@@ -490,7 +493,7 @@ footer a {
   }
 
 .entrie:nth-child(3n+1) {
-  margin-left: 0!important;
+  margin-left: 0;
 }
 
 .results {
@@ -535,10 +538,10 @@ footer a {
 }
 
 /* ==========================================================================
-  2.1 = "save a link" popup div related styles
+  2.1 = "save a link" related styles
   ========================================================================== */
 
-#bagit-form {
+#bagit-form, #search-form {
   background: rgba(0,0,0,0.5);
   position: absolute;
   top: 0;
@@ -553,7 +556,7 @@ footer a {
   border-left: 1px #EEE solid;
 }
 
-#bagit-form form {
+#bagit-form form, #search-form form {
   background: #FFF;
   position: absolute;
   top: 0;
@@ -566,7 +569,7 @@ footer a {
   padding: 2em;
 }
 
-a#bagit-form-close {
+a#bagit-form-close, a#search-form-close {
   background: #000;
   color: #FFF;
   padding: 0.2em 0.5em;
@@ -575,7 +578,7 @@ a#bagit-form-close {
   float: right;
   font-size: 0.6em;
 }
-a#bagit-form-close:hover {
+a#bagit-form-close:hover, a#search-form-close:hover {
   background: #999;
   color: #000;
 }
@@ -607,9 +610,78 @@ a#bagit-form-close:hover {
   padding: 0 3px 2px 3px;
 }
 
+a.add-to-wallabag-link-after {
+    visibility: hidden;
+    position: absolute;
+    opacity: 0;
+    transition-duration: 2s;
+    transition-timing-function: ease-out;
+}
+
+#article article a:hover + a.add-to-wallabag-link-after, a.add-to-wallabag-link-after:hover {
+    opacity: 1;
+    visibility: visible;
+    transition-duration: .3s;
+    transition-timing-function: ease-in;
+}
+
+a.add-to-wallabag-link-after:after {
+     content: "w";
+}
+
 #add-link-result {
   font-weight: bold;
-  margin-top: 10px;
+  font-size: 0.9em;
+}
+
+/* ==========================================================================
+  2.2 = "search for articles" popup div related styles
+  ========================================================================== */
+#search-form {
+  background: rgba(0,0,0,0.5);
+  position: absolute;
+  top: 0;
+  left: 10em;
+  z-index: 20;
+  height: 100%;
+  width: 100%;
+  margin: 0;
+  margin-top: -30%;
+  padding: 2em;
+  display: none;
+  border-left: 1px #EEE solid;
+}
+
+#search-form form {
+  background: #FFF;
+  position: absolute;
+  top: 0;
+  left: 0;
+  z-index: 20;
+  border: 10px solid #000;
+  width: 400px;
+  height: 200px;
+  /* margin: -150px 0 0 -300px; */
+  padding: 2em;
+}
+
+a#search-form-close {
+  background: #000;
+  color: #FFF;
+  padding: 0.2em 0.5em;
+  text-decoration: none;
+  display: inline-block;
+  float: right;
+  font-size: 1.2em;
+}
+a#search-form-close:hover {
+  background: #999;
+  color: #000;
+}
+
+#submit-search{
+margin-left: 4em;
+margin-top:1em;
 }
 
 /* ==========================================================================
@@ -694,6 +766,9 @@ a#bagit-form-close:hover {
 .icon-rss:before {
   content: "\e808";
 }
+.icon-print:before {
+  content: "\e80d";
+}
 
 /* ==========================================================================
    Icon selected
@@ -727,7 +802,7 @@ a#bagit-form-close:hover {
   }
 
 .warning {
-  font-size: 3em;
+  /* font-size: 3em;
   color: #999;
   font-style: italic;
   position: absolute;
@@ -736,7 +811,10 @@ a#bagit-form-close:hover {
   width: 100%;
   text-align: center;
   padding-right: 5%;
-  margin-top: -2em;
+  margin-top: -2em;*/
+  font-weight: bold;
+  display: block;
+  width: 100%;
 }
 
 /* ==========================================================================
@@ -846,6 +924,13 @@ blockquote {
   text-decoration: underline;
 }
 
+pre code {
+               font-family: "Courier New", Courier, monospace;
+               border: 1px solid #ccc;
+               font-size: 0.96em;
+}
+
+
 /* ==========================================================================
    6 = Media Queries
    ========================================================================== */
@@ -902,8 +987,8 @@ blockquote {
     content: none;
   }
   .logo {
-    width: 1.5em;
-    height: 1.5em;
+    width: 1.25em;
+    height: 1.25em;
     left: 0;
     top: 0;
   }
@@ -953,6 +1038,7 @@ blockquote {
     margin-left: 1.5em;
     padding-right: 1.5em;
     position: static;
+    margin-top: 3em;
   }
   #article_toolbar .topPosF {
     display: none;
@@ -973,7 +1059,8 @@ blockquote {
     display: none;
   }
 
-  #bagit-form {
+  #bagit-form, #search-form {
     left: 0;
   }
 }
+