diff options
Diffstat (limited to 'themes/baggy')
-rwxr-xr-x | themes/baggy/_pocheit-form.twig | 4 | ||||
-rw-r--r-- | themes/baggy/_search-form.twig | 5 | ||||
-rwxr-xr-x | themes/baggy/css/main.css | 45 |
3 files changed, 25 insertions, 29 deletions
diff --git a/themes/baggy/_pocheit-form.twig b/themes/baggy/_pocheit-form.twig index 57a928c0..409707f0 100755 --- a/themes/baggy/_pocheit-form.twig +++ b/themes/baggy/_pocheit-form.twig | |||
@@ -1,7 +1,7 @@ | |||
1 | <div id="bagit-form" class="messages info"> | 1 | <div id="bagit-form" class="messages info"> |
2 | <form method="get" action="index.php" target="_blank" id="bagit-form-form"> | 2 | <form method="get" action="index.php" target="_blank" id="bagit-form-form"> |
3 | <h2><a href="javascript: void(null);" id="bagit-form-close">X</a> | 3 | <h2>{% trans "Save a link" %}</h2> |
4 | {% trans "Save a link" %}</h2> | 4 | <a href="javascript: void(null);" id="bagit-form-close" class="popup-close">×</a> |
5 | <input type="hidden" name="autoclose" value="1" /> | 5 | <input type="hidden" name="autoclose" value="1" /> |
6 | <input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" /> | 6 | <input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" /> |
7 | <span id="add-link-result"></span> | 7 | <span id="add-link-result"></span> |
diff --git a/themes/baggy/_search-form.twig b/themes/baggy/_search-form.twig index 7b2c7082..45660b75 100644 --- a/themes/baggy/_search-form.twig +++ b/themes/baggy/_search-form.twig | |||
@@ -1,7 +1,8 @@ | |||
1 | <div id="search-form" class="messages info"> | 1 | <div id="search-form" class="messages info"> |
2 | <form method="get" action="index.php"> | 2 | <form method="get" action="index.php"> |
3 | <a href="javascript: void(null);" id="search-form-close" class="popup-close">×</a> | ||
3 | <input type="hidden" name="view" value="search"></input> | 4 | <input type="hidden" name="view" value="search"></input> |
4 | <label><a href="javascript: void(null);" id="search-form-close">X</a>{% trans "Search" %}</label> : <input required placeholder="{% trans "Enter your search here" %}" type="text" name="search" id="searchfield" /> | 5 | <label>{% trans "Search" %}</label>: <input required placeholder="{% trans "Enter your search here" %}" type="text" name="search" id="searchfield" /> |
5 | <input id="submit-search" type="submit" value="{% trans "Search" %} !"></input> | 6 | <input id="submit-search" type="submit" value="{% trans "Search" %} !"></input> |
6 | </form> | 7 | </form> |
7 | </div> \ No newline at end of file | 8 | </div> |
diff --git a/themes/baggy/css/main.css b/themes/baggy/css/main.css index fe49b8e4..f0148909 100755 --- a/themes/baggy/css/main.css +++ b/themes/baggy/css/main.css | |||
@@ -192,7 +192,7 @@ h2:after { | |||
192 | padding-bottom: 1em; | 192 | padding-bottom: 1em; |
193 | } | 193 | } |
194 | 194 | ||
195 | #links a { | 195 | #links > li > a { |
196 | display: block; | 196 | display: block; |
197 | padding: 0.5em 2em 0.5em 1em; | 197 | padding: 0.5em 2em 0.5em 1em; |
198 | color: #FFF; | 198 | color: #FFF; |
@@ -208,7 +208,7 @@ h2:after { | |||
208 | transition: all 0.5s ease; | 208 | transition: all 0.5s ease; |
209 | } | 209 | } |
210 | 210 | ||
211 | #links a:hover, #links a:focus { | 211 | #links > li > a:hover, #links > li > a:focus { |
212 | background: #999; | 212 | background: #999; |
213 | color: #000; | 213 | color: #000; |
214 | } | 214 | } |
@@ -573,19 +573,28 @@ footer a { | |||
573 | padding: 2em; | 573 | padding: 2em; |
574 | } | 574 | } |
575 | 575 | ||
576 | a#bagit-form-close, a#search-form-close { | 576 | #bagit-form-form .addurl { |
577 | margin-left: 0; | ||
578 | } | ||
579 | |||
580 | .popup-close { | ||
577 | background: #000; | 581 | background: #000; |
578 | color: #FFF; | 582 | color: #FFF; |
579 | padding: 0.2em 0.5em; | 583 | font-size: 1.4em; |
584 | line-height: 1.6em; | ||
585 | width: 1.6em; | ||
586 | height: 1.6em; | ||
587 | text-align: center; | ||
580 | text-decoration: none; | 588 | text-decoration: none; |
581 | display: inline-block; | 589 | display: inline-block; |
582 | float: right; | 590 | position: absolute; |
583 | font-size: 0.6em; | 591 | top: 0; |
584 | } | 592 | right: 0; |
585 | a#bagit-form-close:hover, a#search-form-close:hover { | ||
586 | background: #999; | ||
587 | color: #000; | ||
588 | } | 593 | } |
594 | .popup-close:hover { | ||
595 | background: #999; | ||
596 | color: #000; | ||
597 | } | ||
589 | 598 | ||
590 | .active-current { | 599 | .active-current { |
591 | background-color: #999; | 600 | background-color: #999; |
@@ -669,20 +678,6 @@ a.add-to-wallabag-link-after:after { | |||
669 | padding: 2em; | 678 | padding: 2em; |
670 | } | 679 | } |
671 | 680 | ||
672 | a#search-form-close { | ||
673 | background: #000; | ||
674 | color: #FFF; | ||
675 | padding: 0.2em 0.5em; | ||
676 | text-decoration: none; | ||
677 | display: inline-block; | ||
678 | float: right; | ||
679 | font-size: 1.2em; | ||
680 | } | ||
681 | a#search-form-close:hover { | ||
682 | background: #999; | ||
683 | color: #000; | ||
684 | } | ||
685 | |||
686 | #submit-search{ | 681 | #submit-search{ |
687 | margin-left: 4em; | 682 | margin-left: 4em; |
688 | margin-top:1em; | 683 | margin-top:1em; |