monito/stylesheet.css

84 lines
1.9 KiB
CSS

/*
Monito Gnome-Shell extension
Copyright (C) 2021 Benjamin Drieu
This program 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 2 of the License, or
(at your option) any later version.
This program 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 this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
SPDX-License-Identifier: GPL-2.0-or-later
*/
/* Add your custom extension styling here */
.panel-status-menu-box {
color: inherit;
}
.monito-services {
/* padding: 0px;
margin: 0px; */
}
.monito-box {
color: white;
border: 1px solid white;
padding: 0px .5em;
vertical-align: middle;
font-size: 20px;
line-height: 20px;
}
.monito-critical-box, .monito-service-CRITICAL, .monito-service-line-CRITICAL {
background-color: #FF3300;
}
.monito-warning-box, .monito-service-WARNING, .monito-service-line-WARNING {
background-color: #ffa500;
}
.monito-ok-box, .monito-service-OK, .monito-service-line-OK {
background-color: #00CC33;
}
.monito-unknown-box, .monito-service-UNKNOWN, .monito-service-line-UNKNOWN {
background-color: purple;
}
.monito-service-line {
padding: 3px;
margin: 0px;
color: white;
border: 1px solid white;
vertical-align: middle;
font-size: 20px;
line-height: 20px;
}
.monito-title {
margin: 2px;
font-size: 200%;
}
.monito-label {
margin: 2px;
}
.monito-button-icon {
padding: 0px;
margin: 0px;
}
.button {
padding: 12px !important;
}