Skip to content

Commit d6d69f2

Browse files
committed
added styles for custom select (+ hover) — issues hestiacp#39 & hestiacp#40
1 parent 170a067 commit d6d69f2

File tree

2 files changed

+21
-7
lines changed

2 files changed

+21
-7
lines changed

web/css/main.css

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Title : Vesta
33
Author : Eugen Lobicov, eugen.lobicov@gmail.com
44
55
created : November 27, 2009
6-
last updated : February 8, 2012
6+
last updated : February 11, 2012
77
- - - - - - - - - - - - - - - - - - */
88

99
html{
@@ -1474,8 +1474,9 @@ input::-moz-focus-inner{
14741474
background:url(../images/group-value-bullet.png) no-repeat 5px 8px;
14751475
}
14761476
.group-values .group-switcher{
1477+
display:block;
14771478
padding-right:15px;
1478-
background:url(../images/group-values-collapsed.png) no-repeat 100% 4px;
1479+
background:url(../images/group-values-collapsed.png) no-repeat 100% 50%;
14791480
}
14801481
.group-values .group-values-count{
14811482
font-size:12px;
@@ -1574,7 +1575,7 @@ input::-moz-focus-inner{
15741575
.b-new-entry .textarea:focus{
15751576
-moz-box-shadow:0 0 8px rgba(82, 168, 236, 0.5);
15761577
-webkit-box-shadow:0 0 8px rgba(82, 168, 236, 0.5);
1577-
border-color:rgba(82, 168, 236, 0.75) !important;
1578+
border-color:rgba(82, 168, 236, 0.75);
15781579
color:#262523;
15791580
}
15801581

@@ -1611,6 +1612,8 @@ input::-moz-focus-inner{
16111612
}
16121613
.b-new-entry select.styled{
16131614
top:0;
1615+
width:231px;
1616+
height:35px;
16141617
}
16151618
.b-new-entry option{
16161619
padding:5px 5px 5px 8px;
@@ -1881,25 +1884,36 @@ input::-moz-focus-inner{
18811884
.b-new-entry .autocomplete-box{
18821885
position:relative;
18831886
float:left;
1884-
padding-right:35px;
1887+
padding-right:34px;
18851888
background:#fff;
18861889
}
18871890
.b-new-entry .autocomplete-box .text-field{
1888-
width:213px;
1891+
width:221px;
18891892
margin:0;
1893+
border-right:0;
1894+
cursor:pointer;
1895+
padding-top:6px;
1896+
padding-bottom:6px;
18901897
}
1898+
.b-new-entry .autocomplete-box .text-field{
1899+
-moz-box-shadow:none;
1900+
-webkit-box-shadow:none;
1901+
border-color:#B8C2C3;
1902+
}
1903+
18911904
.b-new-entry .autocomplete-box .arrow{
18921905
position:absolute;
18931906
top:0;
18941907
right:0;
18951908
display:block;
1896-
width:32px;
1909+
width:34px;
18971910
height:32px;
18981911
font-size:0;
18991912
line-height:0;
1900-
background:#fff url(../images/autocomplete-field-arrows-sprite.png) no-repeat;
1913+
background:#fff url(../images/autocomplete-field-arrows-sprite-2012-02-11.png) no-repeat;
19011914
cursor:pointer;
19021915
}
1916+
.b-new-entry .autocomplete-box:hover .arrow,
19031917
.b-new-entry .autocomplete-box .arrow:hover,
19041918
.b-new-entry .autocomplete-box .arrow:active,
19051919
.b-new-entry .autocomplete-box .arrow:focus{
1.8 KB
Loading

0 commit comments

Comments
 (0)