aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/baggy
diff options
context:
space:
mode:
Diffstat (limited to 'themes/baggy')
-rwxr-xr-xthemes/baggy/_pocheit-form.twig4
-rw-r--r--themes/baggy/_search-form.twig5
-rwxr-xr-xthemes/baggy/css/main.css59
-rwxr-xr-xthemes/baggy/home.twig2
4 files changed, 35 insertions, 35 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 1548c4a0..ce30cb5a 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 }
@@ -356,11 +356,15 @@ footer a {
356 position: relative; 356 position: relative;
357 overflow: hidden; 357 overflow: hidden;
358 padding: 1.5em 1.5em 3em 1.5em; 358 padding: 1.5em 1.5em 3em 1.5em;
359 -webkit-transition: all 0.5s ease; 359
360 -moz-transition: all 0.5s ease; 360 /* Removing CSS transitions because they make the switch from list view to
361 -ms-transition: all 0.5s ease; 361 * table view jerky
362 -o-transition: all 0.5s ease; 362 */
363 transition: all 0.5s ease; 363 /* -webkit-transition: all 0.5s ease; */
364 /* -moz-transition: all 0.5s ease; */
365 /* -ms-transition: all 0.5s ease; */
366 /* -o-transition: all 0.5s ease; */
367 /* transition: all 0.5s ease; */
364} 368}
365 369
366.entrie:before { 370.entrie:before {
@@ -565,19 +569,28 @@ footer a {
565 padding: 2em; 569 padding: 2em;
566} 570}
567 571
568a#bagit-form-close, a#search-form-close { 572#bagit-form-form .addurl {
573 margin-left: 0;
574}
575
576.popup-close {
569 background: #000; 577 background: #000;
570 color: #FFF; 578 color: #FFF;
571 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;
572 text-decoration: none; 584 text-decoration: none;
573 display: inline-block; 585 display: inline-block;
574 float: right; 586 position: absolute;
575 font-size: 0.6em; 587 top: 0;
576} 588 right: 0;
577a#bagit-form-close:hover, a#search-form-close:hover {
578 background: #999;
579 color: #000;
580} 589}
590 .popup-close:hover {
591 background: #999;
592 color: #000;
593 }
581 594
582.active-current { 595.active-current {
583 background-color: #999; 596 background-color: #999;
@@ -661,20 +674,6 @@ a.add-to-wallabag-link-after:after {
661 padding: 2em; 674 padding: 2em;
662} 675}
663 676
664a#search-form-close {
665 background: #000;
666 color: #FFF;
667 padding: 0.2em 0.5em;
668 text-decoration: none;
669 display: inline-block;
670 float: right;
671 font-size: 1.2em;
672}
673a#search-form-close:hover {
674 background: #999;
675 color: #000;
676}
677
678#submit-search{ 677#submit-search{
679margin-left: 4em; 678margin-left: 4em;
680margin-top:1em; 679margin-top:1em;
diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig
index a870fc21..03de6b9b 100755
--- a/themes/baggy/home.twig
+++ b/themes/baggy/home.twig
@@ -38,7 +38,7 @@
38 {% endblock %} 38 {% endblock %}
39 <div id="list-entries" class="list-entries"> 39 <div id="list-entries" class="list-entries">
40 {% for entry in entries %} 40 {% for entry in entries %}
41 <div id="entry-{{ entry.id|e }}" class="entrie"{% if listmode %} style="width:100%; margin-left:0;"{% endif %}> 41 <div id="entry-{{ entry.id|e }}" class="entrie">
42 <h2><a href="index.php?view=view&amp;id={{ entry.id|e }}">{{ entry.title|raw }}</a></h2> 42 <h2><a href="index.php?view=view&amp;id={{ entry.id|e }}">{{ entry.title|raw }}</a></h2>
43 {% if entry.content| getReadingTime > 0 %} 43 {% if entry.content| getReadingTime > 0 %}
44 <div class="estimatedTime"><a target="_blank" title="{% trans "estimated reading time:" %} {{ entry.content| getReadingTime }} min" class="tool reading-time"><span>{% trans "estimated reading time :" %} {{ entry.content| getReadingTime }} min</span></div> 44 <div class="estimatedTime"><a target="_blank" title="{% trans "estimated reading time:" %} {{ entry.content| getReadingTime }} min" class="tool reading-time"><span>{% trans "estimated reading time :" %} {{ entry.content| getReadingTime }} min</span></div>