adapt style to NC theme

merge-requests/3/head
Julien Veyssier 2017-11-04 12:10:49 +01:00
parent 759a3e6e38
commit 5af56f5ee9
2 changed files with 17 additions and 6 deletions

View File

@ -785,9 +785,6 @@ h2.popupTitle{
#clearButton {
width: 100%;
}
#saveButton i{
color: blue;
}
#clearButton i{
color: red;
}
@ -795,9 +792,6 @@ h2.popupTitle{
#saveButton, #saveName {
width: 100%;
}
#loadButton i, #loadFolderButton i{
color: blue;
}
.selectimg{
background: url('images/symbols/geocache-open.png') no-repeat right 8px center rgba(240, 240, 240, 0.90);
background-size: 20px 20px;
@ -911,3 +905,12 @@ div#ho button {
margin-left: -4px !important;
margin-top: -4px !important;
}
.sidebar-tabs > li.active {
background-color: #E8E8E8;
}
.leaflet-control-locate.active .fa {
color: #2074B6;
}
.leaflet-control-locate .fa {
color: black;
}

View File

@ -1773,6 +1773,14 @@
}
});
var buttonColor = 'blue';
if (OCA.Theming) {
buttonColor = OCA.Theming.color;
}
$('<style role="buttons">.fa { ' +
'color: ' + buttonColor + '; }</style>').appendTo('body');
});
})(jQuery, OC);