Browse Source

Change improve history menu images for light themes.

pull/1200/head
JackDandy 7 years ago
parent
commit
0dbcd971ca
  1. 1
      CHANGES.md
  2. BIN
      gui/slick/css/fonts/sgicons.eot
  3. 87
      gui/slick/css/fonts/sgicons.svg
  4. BIN
      gui/slick/css/fonts/sgicons.ttf
  5. BIN
      gui/slick/css/fonts/sgicons.woff
  6. 76
      gui/slick/css/style.css
  7. 12
      gui/slick/interfaces/default/inc_top.tmpl

1
CHANGES.md

@ -62,6 +62,7 @@
* Change if displayshow page refreshed during manual search, update UI row with wanted status * Change if displayshow page refreshed during manual search, update UI row with wanted status
* Change correct queueing typo * Change correct queueing typo
* Change vertically align spinner on displayShow * Change vertically align spinner on displayShow
* Change improve history menu images for light themes
### 0.17.13 (2018-11-08 21:12:00 UTC) ### 0.17.13 (2018-11-08 21:12:00 UTC)

BIN
gui/slick/css/fonts/sgicons.eot

Binary file not shown.

87
gui/slick/css/fonts/sgicons.svg

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 235 KiB

After

Width:  |  Height:  |  Size: 456 KiB

BIN
gui/slick/css/fonts/sgicons.ttf

Binary file not shown.

BIN
gui/slick/css/fonts/sgicons.woff

Binary file not shown.

76
gui/slick/css/style.css

@ -129,11 +129,11 @@ fonts
/* SickGear Icons */ /* SickGear Icons */
@font-face{ @font-face{
font-family:"sgicons"; font-family:"sgicons";
src:url("fonts/sgicons.eot?v2"); src:url("fonts/sgicons.eot?v3");
src:url("fonts/sgicons.eot?v2#iefix") format("embedded-opentype"), src:url("fonts/sgicons.eot?v3#iefix") format("embedded-opentype"),
url("fonts/sgicons.woff?v2") format("woff"), url("fonts/sgicons.woff?v3") format("woff"),
url("fonts/sgicons.ttf?v2") format("truetype"), url("fonts/sgicons.ttf?v3") format("truetype"),
url("fonts/sgicons.svg?v2#sgicons") format("svg"); url("fonts/sgicons.svg?v3#sgicons") format("svg");
font-weight:normal; font-weight:normal;
font-style:normal font-style:normal
} }
@ -563,7 +563,7 @@ inc_top.tmpl
} }
.sgicon-info:before{ .sgicon-info:before{
content:"\e617" content:"\e65b"
} }
.sgicon-restart:before{ .sgicon-restart:before{
@ -583,27 +583,27 @@ inc_top.tmpl
} }
.sgicon-arrowup:before{ .sgicon-arrowup:before{
content:"\e61c" content:"\e63b"
} }
.sgicon-arrowdown:before{ .sgicon-arrowdown:before{
content:"\e61d" content:"\e63a"
} }
.sgicon-plex:before{ .sgicon-plex:before{
content:"\e61e" content:"\e903"
} }
.sgicon-kodi:before{ .sgicon-kodi:before{
content:"\e61f" content:"\e901"
} }
.sgicon-bittorrent:before{ .sgicon-bittorrent:before{
content:"\e620" content:"\e910"
} }
.sgicon-xbmc:before{ .sgicon-xbmc:before{
content:"\e621" content:"\e902"
} }
.sgicon-rss:before{ .sgicon-rss:before{
@ -639,7 +639,7 @@ inc_top.tmpl
} }
.sgicon-warning:before{ .sgicon-warning:before{
content:"\e62a" content:"\e657"
} }
.sgicon-list:before{ .sgicon-list:before{
@ -662,6 +662,18 @@ inc_top.tmpl
content:"\e62f" content:"\e62f"
} }
.sgicon-downloaded:before{
content:"\e634"
}
.sgicon-watched:before{
content:"\e643"
}
.sgicon-failures:before{
content:"\e685"
}
.sgicon-imdb:before{ .sgicon-imdb:before{
content:"\e898" content:"\e898"
} }
@ -3916,37 +3928,37 @@ fieldset[disabled] .navbar-default .btn-link:focus{
font-weight:400 font-weight:400
} }
.dropdown-menu li > a.history{ .dropdown-menu li > .history{
width:70%; width:70%;
display:inline-block; display:inline-block;
padding-right:0 padding-right:0
} }
.dropdown-menu li > a .icon-glyph{
display:inline-block; .dropdown-menu li > .history .sgicon-downloaded,
vertical-align:middle; .dropdown-menu li > .history .sgicon-watched,
float:none; .dropdown-menu li > .history-sub [class^="sgicon-"]{
margin:0 margin:0
} }
.dropdown-menu li > a.history.watched .icon-glyph{ .dropdown-menu li > .history .sgicon-failures{
margin:0 -2px margin:0 2px 0 3px
} }
.dropdown-menu li > a.history.activity .icon-glyph{ .dropdown-menu li > .history .sgicon-downloaded,
margin:0 -2px 0 -1px .dropdown-menu li > .history .sgicon-watched,
.dropdown-menu li > .history .sgicon-failures,
.dropdown-menu li > .history-sub [class^="sgicon-"]{
opacity:0.6;filter:alpha(opacity=0.6)
} }
.dropdown-menu li > a.history.failures .icon-glyph{ .dropdown-menu li > .history:hover .sgicon-downloaded,
margin:0 -3px 0 -1px .dropdown-menu li > .history:hover .sgicon-watched,
.dropdown-menu li > .history:hover .sgicon-failures,
.dropdown-menu li > .history-sub:hover [class^="sgicon-"]{
opacity:1;filter:alpha(opacity=1)
} }
.dropdown-menu li > a.history-sub{ .dropdown-menu li > .history-sub{
width:28px; width:28px;
padding:4px 6px; padding:4px 7px;
float:right float:right
} }
.dropdown-menu .icon-glyph{
opacity:0.75;filter:alpha(opacity=75)
}
.dropdown-menu .activity .icon-glyph{background-position:-95px -23px}
.dropdown-menu .watched .icon-glyph{background-position:-119px -119px}
.dropdown-menu .failures .icon-glyph{background-position:-0 -119px}
.dropdown-menu .added-last .truncate{ .dropdown-menu .added-last .truncate{
max-width:135px max-width:135px

12
gui/slick/interfaces/default/inc_top.tmpl

@ -133,24 +133,24 @@
<li> <li>
#set $layout = $sg_var('HISTORY_LAYOUT', 'compact') or 'compact' #set $layout = $sg_var('HISTORY_LAYOUT', 'compact') or 'compact'
#if $layout in ('compact', 'detailed') #if $layout in ('compact', 'detailed')
#set $default_layout = 'activity' #set $default_layout = 'downloaded'
#elif 'watched' in $layout #elif 'watched' in $layout
#set $default_layout = 'watched' #set $default_layout = 'watched'
#else #else
#set $default_layout = 'failures' #set $default_layout = 'failures'
#end if #end if
<a href="$sbRoot/history/" class="history $default_layout" tabindex="$tab#set $tab += 1#"><i class="sgicon-mediafile"></i>History $history_home (<i class="icon-glyph"></i>)</a> <a href="$sbRoot/history/" class="history" tabindex="$tab#set $tab += 1#"><i class="sgicon-mediafile"></i>History $history_home (<i class="sgicon-$default_layout"></i>)</a>
## switch tab order around using pop() due to float right ## switch tab order around using pop() due to float right
#set $tab_list = [$tab, $tab + 1] #set $tab_list = [$tab, $tab + 1]
#set $tab += 2 #set $tab += 2
#if 'failures' != $default_layout #if 'failures' != $default_layout
<a href="$sbRoot/history/?layout=provider_failures" class="failures history-sub" title="Stats" tabindex="$tab_list.pop()"><i class="icon-glyph"></i></a> <a href="$sbRoot/history/?layout=provider_failures" class="history-sub" title="Stats" tabindex="$tab_list.pop()"><i class="sgicon-failures"></i></a>
#end if #end if
#if 'watched' != $default_layout #if 'watched' != $default_layout
<a href="$sbRoot/history/?layout=compact_watched" class="watched history-sub" title="Watched" tabindex="$tab_list.pop()"><i class="icon-glyph"></i></a> <a href="$sbRoot/history/?layout=compact_watched" class="history-sub" title="Watched" tabindex="$tab_list.pop()"><i class="sgicon-watched"></i></a>
#end if #end if
#if 'activity' != $default_layout #if 'downloaded' != $default_layout
<a href="$sbRoot/history/?layout=compact" class="activity history-sub" title="Activity" tabindex="$tab_list.pop()"><i class="icon-glyph"></i></a> <a href="$sbRoot/history/?layout=compact" class="history-sub" title="Activity" tabindex="$tab_list.pop()"><i class="sgicon-downloaded"></i></a>
#end if #end if
</li> </li>
<li class="divider"></li> <li class="divider"></li>

Loading…
Cancel
Save