consul/ui/styles/_panels.scss

79 lines
1.5 KiB
SCSS
Raw Normal View History

2014-04-22 18:11:54 +00:00
.panel {
border-width: 2px;
border-color: $gray-background;
2014-04-30 16:15:54 +00:00
@include transition(background-color .3s ease-in-out);
2014-04-22 18:11:54 +00:00
.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 {
2014-05-01 14:40:31 +00:00
margin-top: 5px;
2014-04-22 18:11:54 +00:00
float: right;
font-weight: 600;
color: $gray-light;
font-size: 14px;
}
}
.panel-body {
p {
font-size: 14px;
2014-04-24 19:18:11 +00:00
color: $text-color;
}
h5 {
2014-04-24 19:18:11 +00:00
font-size: 12px;
2014-04-22 18:11:54 +00:00
}
h4.check {
font-size: 16px;
}
2014-04-22 18:11:54 +00:00
}
.panel-bar {
width: 100%;
height: 20px;
2014-04-30 16:15:54 +00:00
@include transition(background-color .1s linear);
2014-04-22 18:11:54 +00:00
}
&.panel-link {
2014-04-25 19:12:21 +00:00
border-bottom-width: 2px;
}
&.panel-short {
2014-04-25 19:12:21 +00:00
border-bottom-width: 0px;
}
2014-04-23 18:01:42 +00:00
&.panel-link:hover {
cursor: pointer;
background-color: lighten($gray-background, 8%);
2014-04-23 18:01:42 +00:00
}
2014-04-29 20:32:38 +00:00
&.active {
>.panel-heading {
border-color: $purple;
}
2014-05-01 02:47:38 +00:00
@include transition(border-color .1s linear);
2014-04-29 20:32:38 +00:00
border-color: $purple;
.panel-bar {
2014-05-01 02:47:38 +00:00
@include transition(background-color .1s linear);
2014-04-29 20:32:38 +00:00
background-color: $purple;
}
}
2014-04-22 18:11:54 +00:00
}