mirror of https://github.com/status-im/consul.git
75 lines
1.4 KiB
SCSS
75 lines
1.4 KiB
SCSS
.panel {
|
|
border-width: 2px;
|
|
border-color: $gray-background;
|
|
@include transition(background-color .3s ease-in-out);
|
|
|
|
.panel-heading {
|
|
background-color: transparent;
|
|
border-width: 2px;
|
|
border-color: $gray-background;
|
|
}
|
|
|
|
h3.panel-title {
|
|
padding: 4px 0px 4px 0px;
|
|
font-size: 20px;
|
|
color: $gray-light;
|
|
color: $gray-darker;
|
|
border-radius: 3px;
|
|
|
|
small {
|
|
font-size: 14px;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.panel-note {
|
|
float: right;
|
|
font-weight: 600;
|
|
color: $gray-light;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
.panel-body {
|
|
p {
|
|
font-size: 14px;
|
|
color: $text-color;
|
|
}
|
|
h5 {
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
.panel-bar {
|
|
width: 100%;
|
|
height: 20px;
|
|
@include transition(background-color .1s linear);
|
|
}
|
|
|
|
&.panel-link {
|
|
border-bottom-width: 2px;
|
|
}
|
|
|
|
&.panel-short {
|
|
border-bottom-width: 0px;
|
|
}
|
|
|
|
&.panel-link:hover {
|
|
cursor: pointer;
|
|
background-color: lighten($gray-background, 8%);
|
|
}
|
|
|
|
&.active {
|
|
>.panel-heading {
|
|
border-color: $purple;
|
|
}
|
|
|
|
@include transition(background-color .1s linear);
|
|
|
|
border-color: $purple;
|
|
|
|
.panel-bar {
|
|
background-color: $purple;
|
|
}
|
|
}
|
|
}
|