mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-22 06:23:01 +00:00
Refactor css to match new tab system
This commit is contained in:
parent
697d857e74
commit
13fd8493f4
2 changed files with 3 additions and 8 deletions
|
@ -53,7 +53,7 @@ main {
|
|||
z-index: 100 !important;
|
||||
}
|
||||
|
||||
button { cursor: pointer; }
|
||||
button, a { cursor: pointer; }
|
||||
button.selected {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
|
|
@ -47,14 +47,9 @@ h2.device-name { text-align: center; }
|
|||
color: hsl(252, 100%, 59%);
|
||||
text-decoration: none;
|
||||
}
|
||||
.tabs li.active a { opacity: 1; }
|
||||
.tabs li a.active { opacity: 1; }
|
||||
|
||||
/* Default */
|
||||
.tab-content { display: none; }
|
||||
/* Override if target is set */
|
||||
.tab-content:target { display: block !important; }
|
||||
|
||||
.device-data {
|
||||
.tab-panes {
|
||||
display: flex; justify-content: center;
|
||||
|
||||
min-height: 20em;
|
||||
|
|
Loading…
Reference in a new issue