Skip to content

Commit 4f9c385

Browse files
author
cfoe
committed
sprite corrections
1 parent c7f704b commit 4f9c385

File tree

3 files changed

+22
-12
lines changed

3 files changed

+22
-12
lines changed

interface/web/themes/default-v2/css/styles.css

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ header span {
138138
}
139139

140140
/* nav
141-
TODO: sprite image
142141
-------------------------------------------------------------- */
143142
#topNav ul {
144143
list-style: none;
@@ -599,15 +598,26 @@ div.status {
599598
height:32px;
600599
margin:0 0 0.2em;
601600
}
601+
div#ir-Yes,
602+
div#ir-No {
603+
text-align: center;
604+
background: url("../icons/x16_sprite.png") no-repeat transparent;
605+
}
602606
#ir-Yes {
603-
background-image: url("../icons/x16/tick_circle.png");
604-
height:16px;
605-
}
607+
background-position: left -342px !important;
608+
height: 16px;
609+
}
606610
#ir-No {
607-
background-image: url("../icons/x16/cross_circle.png");
608-
height:16px;
609-
}
610-
611+
background-position: left -362px !important;
612+
height: 16px;
613+
}
614+
.swap {
615+
background-repeat: no-repeat;
616+
}
617+
.swap span {
618+
display: none;
619+
height: 16px;
620+
}
611621
/* BUTTONS */
612622
a.button,
613623
.button,
@@ -725,8 +735,8 @@ button.icons16 {
725735
.icons16.icoEdit { background-position: -1px -1px; }
726736
.icons16.icoLoginAs { background-position: -1px -21px; }
727737
.icons16.icoPDF { background-position: -1px -61px; }
728-
.icons16.icoWebmailer { background-position: -1px -81px; }
729-
.icons16.icoDelete { background-position: -1px -141px; }
738+
.icons16.icoDelete { background-position: -1px -81px; }
739+
.icons16.icoWebmailer { background-position: -1px -101px; }
730740
.icons16.icoFilter { background-position: -1px -161px; }
731741
.icons16.icoDbAdmin { background-position: -1px -221px; }
732742
.icons16.icoAction { background-position: -1px -241px; }
@@ -767,7 +777,7 @@ input#refresh, input#retry, input#expire, input#minimum, input#ttl { width: 50px
767777

768778
a[href $="#logout"] {
769779
padding-right: 20px;
770-
background: url("../icons/x16_sprite.png") no-repeat right -123px transparent !important;
780+
background: url("../icons/x16_sprite.png") no-repeat right -143px transparent !important;
771781
}
772782

773783
/* Select Menu with Images */
@@ -1121,7 +1131,7 @@ div.gs-container * {
11211131
font-size: 1em;
11221132
}
11231133
div.gs-container input {
1124-
background: url("../icons/x16_sprite.png") no-repeat 2px -99px #FFFFFF;
1134+
background: url("../icons/x16_sprite.png") no-repeat 2px -119px #FFFFFF;
11251135
height:20px;
11261136
border:1px solid #444;
11271137
padding:0 22px 2px;
-1.36 KB
Loading
-690 Bytes
Loading

0 commit comments

Comments
 (0)