Skip to content
Permalink
Browse files

GUI SCSS: Styled the WATO hosts folderpath dropdown for the classic t…

…heme (FEED-4647)

Change-Id: I302c9314d2dd95a4df21b6eac115a70a7f1af66a
  • Loading branch information
oKenneth committed Nov 29, 2019
1 parent 7631b1d commit 35e8e227a72f6eed0d4160c6b0c62fc9353b5657
Showing with 32 additions and 30 deletions.
  1. +32 −30 web/htdocs/themes/classic/scss/_wato.scss
@@ -328,29 +328,6 @@ div#service_container {
background-image: url('images/breadcrumb_c_hi.png');
}

.wato div.folderpath li select {
padding: 2px 0px 2px 4px;
background-color: #6da1b8;
margin: 0;
color: #fff;
font-weight: normal;
font-size: 9pt;
border-style: none;
position: relative;
right: -6px;
z-index: 200;
height: 17px;
box-shadow: none;
}

.wato div.folderpath li:hover select {
background-color: #7fb0c6;
}

.wato div.folderpath li select option {
background-color: #6da1b8;
}

.wato div.folderpath li div.left,
.wato div.folderpath li div.right {
position: absolute;
@@ -394,20 +371,45 @@ div#service_container {
background-image: url('images/breadcrumb_r_hi.png');
}

.wato div.folderpath {
.wato div.folderpath li {
.select2-container .select2-selection--single {
height: 21px;
position: relative;
top: -2px;
right: -2px;
height: 18px;
padding: 2px 0 2px 4px;
margin: 0;
font-size: 12px;
font-weight: normal;
background-color: #6da1b8;
border-style: none;
box-shadow: none;
}

.select2-container--default .select2-selection--single {
.select2-selection__rendered {
line-height: 21px;
&:hover .select2-container .select2-selection--single {
background-color: #7fb0c6;
}

.select2-container--default {
.select2-selection--single {
.select2-selection__rendered {
padding-left: 0;
line-height: 18px;
color: #fff;
}

.select2-selection__arrow {
right: -3px;
height: 19px;

b {
border-color: #fff transparent transparent transparent;
}
}
}

.select2-selection__arrow {
height: 19px;
&.select2-container--open .select2-selection--single .select2-selection__arrow b {
border-color: transparent transparent #fff transparent;
}
}
}

0 comments on commit 35e8e22

Please sign in to comment.
You can’t perform that action at this time.