163 lines
2.7 KiB
SCSS
163 lines
2.7 KiB
SCSS
/**
|
|
* ===================================
|
|
* Contain 3 main UI block elements:
|
|
* .main_box - for show pages
|
|
* .ui-box - for simple block & widgets
|
|
* ===================================
|
|
*/
|
|
|
|
/**
|
|
* UI box element
|
|
* contains top, middle, bottom blocks
|
|
*
|
|
*/
|
|
.main_box {
|
|
@extend .borders;
|
|
@extend .prepend-top-20;
|
|
@extend .append-bottom-20;
|
|
border-width: 1px;
|
|
@include solid-shade;
|
|
|
|
|
|
img { max-width: 100%; }
|
|
|
|
pre {
|
|
code {
|
|
background: none !important;
|
|
}
|
|
}
|
|
|
|
.top_box_content,
|
|
.middle_box_content,
|
|
.bottom_box_content {
|
|
padding: 15px;
|
|
word-wrap: break-word;
|
|
|
|
pre {
|
|
background: none !important;
|
|
margin: 0;
|
|
border: none;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.middle_box_content {
|
|
@include border-radius(0);
|
|
border: none;
|
|
font-size: 12px;
|
|
background-color: #f5f5f5;
|
|
border: none;
|
|
border-top: 1px solid #eee;
|
|
}
|
|
|
|
.bottom_box_content {
|
|
border-top: 1px solid #eee;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Big UI Block for show page content
|
|
*
|
|
*/
|
|
.ui-box {
|
|
background: #F9F9F9;
|
|
margin-bottom: 25px;
|
|
|
|
border: 1px solid #eaeaea;
|
|
@include border-radius(4px);
|
|
|
|
border-color: #CCC;
|
|
@include solid-shade;
|
|
|
|
&.white {
|
|
background: #fff;
|
|
}
|
|
|
|
ul {
|
|
margin: 0;
|
|
}
|
|
|
|
h5, .title {
|
|
padding: 0 10px;
|
|
@include border-radius(4px 4px 0 0);
|
|
@include bg-gray-gradient;
|
|
border-top: 1px solid #eaeaea;
|
|
border-bottom: 1px solid #bbb;
|
|
|
|
> a {
|
|
text-shadow: 0 1px 1px #fff;
|
|
}
|
|
|
|
&.small {
|
|
line-height: 28px;
|
|
font-size: 14px;
|
|
line-height: 28px;
|
|
text-shadow: 0 1px 1px white;
|
|
}
|
|
|
|
form {
|
|
padding: 9px 0;
|
|
margin: 0px;
|
|
}
|
|
|
|
.nav-pills {
|
|
li {
|
|
padding: 3px 0;
|
|
&.active a { background-color: $style_color; }
|
|
a {
|
|
@include border-radius(7px);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.bottom {
|
|
@include bg-gray-gradient;
|
|
@include border-radius(0 0 4px 4px);
|
|
border-bottom: none;
|
|
border-top: 1px solid #bbb;
|
|
}
|
|
|
|
&.padded {
|
|
h5, .title {
|
|
margin: -20px;
|
|
margin-bottom: 0;
|
|
padding: 5px 20px;
|
|
}
|
|
.middle_title {
|
|
background: #f5f5f5;
|
|
margin:20px -20px;
|
|
padding: 0 20px;
|
|
border-top: 1px solid #eee;
|
|
border-bottom: 1px solid #eee;
|
|
font-size: 14px;
|
|
color: #777;
|
|
}
|
|
}
|
|
.row_title {
|
|
font-weight: bold;
|
|
color: #444;
|
|
&:hover {
|
|
color: #444;
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
li, .wll {
|
|
padding: 10px;
|
|
&:first-child {
|
|
@include border-radius(4px 4px 0 0);
|
|
border-top: none;
|
|
}
|
|
|
|
&:last-child {
|
|
@include border-radius(0 0 4px 4px);
|
|
border: none;
|
|
}
|
|
}
|
|
|
|
.ui-box-body {
|
|
padding: 10px;
|
|
}
|
|
}
|