From 27bf1a31329aa43c0f3be68aca300efcdd008547 Mon Sep 17 00:00:00 2001 From: JackDandy Date: Wed, 10 Dec 2014 00:02:38 +0000 Subject: [PATCH] Fix visual positioning of sprites on Config page. --- CHANGES.md | 1 + gui/slick/css/dark.css | 31 ------------------------------- gui/slick/css/light.css | 33 +-------------------------------- gui/slick/css/style.css | 19 +++++++------------ 4 files changed, 9 insertions(+), 75 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index b129bdba..4eb342d9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -19,6 +19,7 @@ * Fix missing Content-Type headers for posters and banners * Remove config Backup & Restore * Fix article removal for sorting on Display Show, and API pages +* Fix visual positioning of sprites on Config page [develop changelog] * Add TVRage network name standardization diff --git a/gui/slick/css/dark.css b/gui/slick/css/dark.css index 1a86350b..8762df0c 100644 --- a/gui/slick/css/dark.css +++ b/gui/slick/css/dark.css @@ -171,11 +171,6 @@ inc_top.tmpl background: url("../images/ico/favicon-16x16.png") 0 0 no-repeat; } -[class^="icon16-"], -[class*=" icon16-"] { - background-image: url("../images/glyphicons-config.png"); -} - .ui-autocomplete-loading { background: white url("../images/loading16.gif") right center no-repeat; } @@ -1537,32 +1532,6 @@ select .selected { border-top: 1px dotted #666666; } -[class^="icon16-"], [class*=" icon16-"] { - background-image: url("../images/glyphicons-config.png"); - background-repeat: no-repeat; - display: inline-block; - height: 16px; - vertical-align: text-top; - width: 16px; - margin-top: 1px; -} - -.icon16-github { - background-position: 0 0; -} -.icon16-mirc { - background-position: -26px 0; -} -.icon16-sg { - background-position: -52px 0; -} -.icon16-web { - background-position: -78px 0; -} -.icon16-win { - background-position: -104px 0; -} - /* ======================================================================= config_postProcessing.tmpl ========================================================================== */ diff --git a/gui/slick/css/light.css b/gui/slick/css/light.css index 01d2dfea..1df63fec 100644 --- a/gui/slick/css/light.css +++ b/gui/slick/css/light.css @@ -167,12 +167,7 @@ inc_top.tmpl background-image: url("../images/menu/menu-icons-white.png"); } -[class^="icon16-"], -[class*=" icon16-"] { - background-image: url("../images/glyphicons-config.png"); -} - -.ui-autocomplete-loading { +.ui-autocomplete-loading { background: white url("../images/loading16.gif") right center no-repeat; } @@ -1514,32 +1509,6 @@ select .selected { border-top: 1px dotted #666666; } -[class^="icon16-"], [class*=" icon16-"] { - background-image: url("../images/glyphicons-config.png"); - background-repeat: no-repeat; - display: inline-block; - height: 16px; - vertical-align: text-top; - width: 16px; - margin-top: 1px; -} - -.icon16-github { - background-position: 0 0; -} -.icon16-mirc { - background-position: -26px 0; -} -.icon16-sg { - background-position: -52px 0; -} -.icon16-web { - background-position: -78px 0; -} -.icon16-win { - background-position: -104px 0; -} - /* ======================================================================= config_postProcessing.tmpl ========================================================================== */ diff --git a/gui/slick/css/style.css b/gui/slick/css/style.css index 447cc9fb..ac24150b 100644 --- a/gui/slick/css/style.css +++ b/gui/slick/css/style.css @@ -167,12 +167,7 @@ inc_top.tmpl background-image: url("../images/menu/menu-icons-white.png"); } -[class^="icon16-"], -[class*=" icon16-"] { - background-image: url("../images/glyphicons-config.png"); -} - -.ui-autocomplete-loading { +.ui-autocomplete-loading { background: white url("../images/loading16.gif") right center no-repeat; } @@ -1688,14 +1683,14 @@ select .selected { border-top: 1px dotted #666666; } -[class^="icon16-"], [class*=" icon16-"] { - background-image: url("../images/glyphicons-config.png"); - background-repeat: no-repeat; - display: inline-block; +[class^="icon16-"], +[class*=" icon16-"] { + background: url('../images/glyphicons-config.png') no-repeat; + display: block; height: 16px; - vertical-align: text-top; width: 16px; - margin-top: 1px; + float: left; + margin-right: 5px; } .icon16-github {