/*
    HelloIoT is a dashboard creator for MQTT
    Copyright (C) 2017 Adrián Romero Corchado.

    This file is part of HelloIot.

    HelloIot is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    HelloIot is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with HelloIot.  If not, see <http://www.gnu.org/licenses/>.
*/

.headerbutton:hover {
    -fx-text-fill: -fx-buttonaction-fill;    
}

.headerbutton:hover .icon-fill {
    -fx-fill: -fx-buttonaction-fill         
}

.menubutton:hover {
    -fx-background-color: -fx-buttonaction-fill, -fx-buttonaction-fill;     
    -fx-text-fill: -fx-buttoncontent-fill;    
}

.menubutton:hover .icon-fill {
    -fx-fill: -fx-buttoncontent-fill;
}

.keypadbutton:hover {
    -fx-background-color: -fx-buttonaction-fill, -fx-buttonaction-fill;
}

.unittabpane > .tab-header-area > .headers-region > .tab:hover > .tab-container > .tab-label {
}
.unittabpane > .tab-header-area > .headers-region > .tab:hover {   
    -fx-background-color: -fx-level-fill, -fx-background-unit;
}

.unitbutton:hover,
.unitcombobox:editable > .arrow-button:hover{
    -fx-background-color: -fx-buttonaction-fill, -fx-buttonaction-fill;
}

.unitbutton:hover:focused,
.unitcombobox:focused:editable > .arrow-button:hover {
    -fx-background-insets: -2, 1;
    -fx-background-color: -fx-buttonarmed-fill,  -fx-buttonaction-fill;             
}

.buttonbase:hover {
    -fx-background-color: -fx-buttonaction-fill, -fx-buttonaction-fill;
}

.dialog-close-button:hover .dialog-close-icon  {
    -fx-fill: -fx-buttonaction-fill;
}

.nextbutton:hover, 
.dialog-buttonlist .button:hover {
    -fx-background-color: -fx-buttonaction-fill, -fx-buttonaction-fill;        
}

.nextbutton:hover:focused, 
.dialog-buttonlist .button:hover:focused {
    -fx-background-insets: -2, 1;
    -fx-background-color: -fx-buttonarmed-fill, -fx-buttonaction-fill;            
}

.slider .thumb:hover {
    -fx-background-color: -fx-buttonaction-fill, -fx-buttonaction-fill;
}

.unitcheckbox:hover > .box {
    -fx-background-color:  -fx-buttonaction-fill, -fx-inputback-fill;  
}

.unitcheckbox:hover:selected > .box {
    -fx-background-color:  -fx-buttonaction-fill, -fx-buttonaction-fill;    
}

.unitcheckbox:hover:focused:selected > .box {
    -fx-background-color: -fx-buttonarmed-fill, -fx-buttonaction-fill, -fx-buttonaction-fill;          
}

.unitradiobutton:hover > .radio {
    -fx-background-color: -fx-buttonaction-fill, -fx-inputback-fill;
}

.unitradiobutton:hover:selected > .radio {
    -fx-background-color:  -fx-buttonaction-fill, -fx-inputback-fill;    
}

.unitradiobutton:hover:selected > .radio > .dot {
    -fx-background-color: -fx-buttonaction-fill;
}

.unitradiobutton:hover:focused:selected > .radio {
    -fx-background-color: -fx-buttonarmed-fill, -fx-buttonaction-fill, -fx-inputback-fill;          
}

.unitradiobutton:hover:focused:selected > .radio > .dot {
    -fx-background-color: -fx-buttonaction-fill;
}

.scroll-bar > .thumb:hover {
    -fx-background-color: #a8a8a8;
}

.scroll-bar > .increment-button:hover,
.scroll-bar > .decrement-button:hover {
    -fx-background-color: #d1d1d1;
    -fx-color: transparent;
    -fx-padding: 2;  
}