Changeset 28936 for extensions/modus/css


Ignore:
Timestamp:
Jul 3, 2014, 10:08:40 PM (10 years ago)
Author:
rvelices
Message:

modus

  • use a la gthumb captions instead of flyouts (code for popout is still available by changing a const in the code)
  • better album thumbs display for mobile (when there would be too much free space in the row)
  • menu categories display with squares (required only when menutree plugin is not active)
Location:
extensions/modus/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/modus/css/index.css.tpl

    r25794 r28936  
    3535}
    3636
     37{if $smarty.const.MODUS_POP}
     38.popDesc {
     39        display: none
     40}
     41{else}
     42.overDesc {
     43        color: white;
     44        background-color: rgba(0,0,0,0.5);
     45
     46        position: absolute;
     47        height: 1.5em;
     48        width: 100%;
     49        left: 0; /* for IE7, all others use 0 by default*/
     50        bottom: -100px;
     51        overflow: hidden;
     52        text-align: center;
     53        text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
     54        line-height: 1.4;
     55        font-weight: bold;
     56        white-space: nowrap;
     57        text-overflow: ellipsis;
     58        transition: all 200ms ease-out 0s;
     59}
     60
     61LI:hover>.overDesc {
     62        bottom: -1px; /* -1 for IE8 which has some rounding issues */
     63}
     64{/if}
     65
    3766
    3867
     
    163192}
    164193
     194{if $MODUS_ALBUM_THUMB_SIZE>222 && $MODUS_ALBUM_THUMB_SIZE<360}
     195@media (max-width:320px), {cssResolution min=1.3}{
     196        .albThumbs LI {
     197                width: 156px;
     198                height: 156px;
     199                margin: 5px 1px;
     200        }
     201}
     202{/if}
    165203
    166204
  • extensions/modus/css/menuh.css.tpl

    r25794 r28936  
    44        margin: 0; /*various default user agent css*/
    55}
     6
     7{if !isset($loaded_plugins['rv_menutree'])}
     8#mbCategories UL {
     9        list-style-type: square;
     10        padding-left: 8px;
     11}
     12{/if}
    613
    714#menubar LI.selected>A {
Note: See TracChangeset for help on using the changeset viewer.