]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Merge pull request #898 from jsit/previewtext
authorNicolas Lœuillet <nicolas@loeuillet.org>
Thu, 30 Oct 2014 20:43:21 +0000 (21:43 +0100)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Thu, 30 Oct 2014 20:43:21 +0000 (21:43 +0100)
Fixing issue #874, displaying preview text when in list mode

1  2 
themes/baggy/css/main.css

index f01489098a6a6ecef3d05b34ae5c20260075c097,1548c4a0c887043636e7424c00f2de31d0196d67..ce30cb5a8445da502a362d95802f11fbf06325ef
@@@ -192,7 -192,7 +192,7 @@@ h2:after 
    padding-bottom: 1em;
  }
  
 -  #links a {
 +  #links > li > a {
      display: block;
      padding: 0.5em 2em 0.5em 1em;
      color: #FFF;
            transition: all 0.5s ease;
    }
  
 -  #links a:hover, #links a:focus {
 +  #links > li > a:hover, #links > li > a:focus {
      background: #999;
      color: #000;
    }
@@@ -328,10 -328,6 +328,6 @@@ footer a 
    margin-left: 0!important;
  }
  
- .listmode .entrie p {
-   display: none;
- }
  .list-entries + .results {
    margin-bottom: 2em;
  }
    position: relative;
    overflow: hidden;
    padding: 1.5em 1.5em 3em 1.5em;
 -  -webkit-transition: all 0.5s ease;
 -     -moz-transition: all 0.5s ease;
 -      -ms-transition: all 0.5s ease;
 -       -o-transition: all 0.5s ease;
 -          transition: all 0.5s ease;
 +
 +      /* Removing CSS transitions because they make the switch from list view to
 +       * table view jerky
 +       */
 +  /* -webkit-transition: all 0.5s ease; */
 +  /*    -moz-transition: all 0.5s ease; */
 +  /*     -ms-transition: all 0.5s ease; */
 +  /*      -o-transition: all 0.5s ease; */
 +  /*         transition: all 0.5s ease; */
  }
  
  .entrie:before {
    padding: 2em;
  }
  
 -a#bagit-form-close, a#search-form-close {
 +#bagit-form-form .addurl {
 +      margin-left: 0;
 +}
 +
 +.popup-close {
    background: #000;
    color: #FFF;
 -  padding: 0.2em 0.5em;
 +      font-size: 1.4em;
 +      line-height: 1.6em;
 +      width: 1.6em;
 +      height: 1.6em;
 +      text-align: center;
    text-decoration: none;
 -  display: inline-block;
 -  float: right;
 -  font-size: 0.6em;
 -}
 -a#bagit-form-close:hover, a#search-form-close:hover {
 -  background: #999;
 -  color: #000;
 +      display: inline-block;
 +      position: absolute;
 +      top: 0;
 +      right: 0;
  }
 +      .popup-close:hover {
 +              background: #999;
 +              color: #000;
 +      }
  
  .active-current {
    background-color: #999;
@@@ -678,6 -661,20 +674,6 @@@ a.add-to-wallabag-link-after:after 
    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;