finished styling controls
This commit is contained in:
BIN
web_assets/control-bg-active.png
Normal file
BIN
web_assets/control-bg-active.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
BIN
web_assets/control-bg.png
Normal file
BIN
web_assets/control-bg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
@@ -42,7 +42,8 @@ body {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 0px 6px;
|
padding: 0px 6px;
|
||||||
|
|
||||||
background-color: white;
|
background-image: url('control-bg.png');
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
|
||||||
border: 1px solid #A9BBDF;
|
border: 1px solid #A9BBDF;
|
||||||
border-radius: 2px 2px;
|
border-radius: 2px 2px;
|
||||||
@@ -50,10 +51,26 @@ body {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.customControl > div.top:hover {
|
||||||
|
border: 1px solid #678AC7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.customControl > div.top-active {
|
||||||
|
color: white;
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 0px 5px;
|
||||||
|
border: 1px solid #678AC7;
|
||||||
|
background-image: url('control-bg-active.png');
|
||||||
|
}
|
||||||
|
|
||||||
.customControl > div.dropDown {
|
.customControl > div.dropDown {
|
||||||
border: 1px solid #000;
|
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
background-color: #fff;
|
background-color: white;
|
||||||
|
|
||||||
|
border: 1px solid #A9BBDF;
|
||||||
|
border-radius: 2px 2px;
|
||||||
|
box-shadow: rgba(0, 0, 0, 0.347656) 2px 2px 3px;
|
||||||
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -706,6 +706,7 @@ var overviewer = {
|
|||||||
|
|
||||||
// add the functionality to toggle visibility of the items
|
// add the functionality to toggle visibility of the items
|
||||||
$(controlText).click(function() {
|
$(controlText).click(function() {
|
||||||
|
$(controlBorder).toggleClass('top-active');
|
||||||
$(dropdownDiv).toggle();
|
$(dropdownDiv).toggle();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user