aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes
diff options
context:
space:
mode:
authorJay Sitter <jsitter@gmail.com>2014-10-30 16:00:18 -0400
committerJay Sitter <jsitter@gmail.com>2014-10-30 16:00:18 -0400
commitcd271fc485975e3089a85902f28e674065c5783d (patch)
treeb9c628d6701a2be9509ba8389516f6f8522d4936 /themes
parent06e7e7ff7b9b35d07a4328691e396978a93d64b3 (diff)
downloadwallabag-cd271fc485975e3089a85902f28e674065c5783d.tar.gz
wallabag-cd271fc485975e3089a85902f28e674065c5783d.tar.zst
wallabag-cd271fc485975e3089a85902f28e674065c5783d.zip
Making the close button more visually consistent on the menu popup forms
Diffstat (limited to 'themes')
-rwxr-xr-xthemes/baggy/_pocheit-form.twig4
-rw-r--r--themes/baggy/_search-form.twig5
-rwxr-xr-xthemes/baggy/css/main.css45
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">&times;</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">&times;</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 558fb208..6b5a1f4c 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 }
@@ -569,19 +569,28 @@ footer a {
569 padding: 2em; 569 padding: 2em;
570} 570}
571 571
572a#bagit-form-close, a#search-form-close { 572#bagit-form-form .addurl {
573 margin-left: 0;
574}
575
576.popup-close {
573 background: #000; 577 background: #000;
574 color: #FFF; 578 color: #FFF;
575 padding: 0.2em 0.5em; 579 font-size: 1.4em;
580 line-height: 1.6em;
581 width: 1.6em;
582 height: 1.6em;
583 text-align: center;
576 text-decoration: none; 584 text-decoration: none;
577 display: inline-block; 585 display: inline-block;
578 float: right; 586 position: absolute;
579 font-size: 0.6em; 587 top: 0;
580} 588 right: 0;
581a#bagit-form-close:hover, a#search-form-close:hover {
582 background: #999;
583 color: #000;
584} 589}
590 .popup-close:hover {
591 background: #999;
592 color: #000;
593 }
585 594
586.active-current { 595.active-current {
587 background-color: #999; 596 background-color: #999;
@@ -665,20 +674,6 @@ a.add-to-wallabag-link-after:after {
665 padding: 2em; 674 padding: 2em;
666} 675}
667 676
668a#search-form-close {
669 background: #000;
670 color: #FFF;
671 padding: 0.2em 0.5em;
672 text-decoration: none;
673 display: inline-block;
674 float: right;
675 font-size: 1.2em;
676}
677a#search-form-close:hover {
678 background: #999;
679 color: #000;
680}
681
682#submit-search{ 677#submit-search{
683margin-left: 4em; 678margin-left: 4em;
684margin-top:1em; 679margin-top:1em;