blob: 103fbcbbc720823fd1bc771f57c93ff05b365fe6 [file] [log] [blame]
.panel {
background-color: $content_box_color;
margin: 10px 0;
padding: 20px;
}
.content-panel-group {
margin: 10px 0;
.content-panel:last-child {
border-radius: 0px 0px 5px 5px;
}
.content-panel-title {
padding: 15px 20px;
background-color: $content_box_color;
border-bottom: 1px solid #d7e2ec;
color: #555;
border-radius: 5px 5px 0px 0px;
font-weight: 700;
font-size: 18px;
}
.content-panel-subtitle {
padding: 15px 20px 5px 20px;
background-color: rgba(250, 250, 250, 1);
border-bottom: 1px solid $grid_color;
text-transform: uppercase;
color: #555;
font-size: 14px;
font-weight: 700;
}
.content-panel {
padding: 20px;
background-color: $content_box_color;
}
.content-panel + .content-panel {
margin-top: 1px;
}
.fluid {
padding: 0px;
}
.content-icon-title {
background-color: $content_box_color;
.content-icon-title-text {
background-color: $grid_color;
padding: 15px 10px;
margin-left: -20px;
display: block;
color: white;
font-weight: $heavy;
text-transform: uppercase;
font-size: 24px;
.glyphicon {
font-size: 0.8em;
}
}
&:after {
content: "";
width: 0;
height: 0;
display: block;
margin-left: -20px;
border-width: 0 20px 12px 0;
border-color: transparent $grid_color transparent transparent;
border-style: solid;
}
}
}
.content-icon-title.success {
.content-icon-title-text {
background-color: $colors_success !important;
}
&:after {
border-color: transparent $colors_success_dark transparent transparent !important;
}
}
.content-icon-title.error {
.content-icon-title-text {
background-color: $colors_error !important;
}
&:after {
border-color: transparent $colors_error_dark transparent transparent !important;
}
}
.content-icon-title.highlight {
.content-icon-title-text {
background-color: $colors_highlight !important;
}
&:after {
border-color: transparent $colors_highlight_dark transparent transparent !important;
}
}
.content-icon-title.attention {
.content-icon-title-text {
background-color: $colors_warning !important;
}
&:after {
border-color: transparent $colors_warning_dark transparent transparent !important;
}
}
.content-panel-fluid {
.content-panel {
padding: 0px !important;
}
}
.tip {
position: relative;
}
.tip::before {
content: attr(data-tip) ;
font-size: 10px;
position:absolute;
z-index: 999;
white-space:nowrap;
bottom:9999px;
left: 50%;
background:#000;
color:#e0e0e0;
padding:0px 7px;
line-height: 24px;
height: 24px;
opacity: 0;
transition:opacity 0.4s ease-out;
}
.tip:hover::before {
opacity: 1;
bottom:-35px;
}