use ui-box as for all
This commit is contained in:
parent
14d0ef8f37
commit
c6298678f5
23 changed files with 151 additions and 314 deletions
|
@ -1,23 +1,24 @@
|
|||
/**
|
||||
* ===================================
|
||||
* Contain 3 main UI block elements:
|
||||
* .main_box - for show pages
|
||||
* .ui-box - for simple block & widgets
|
||||
* Contain UI block elements:
|
||||
* .ui-box - for any block & widgets
|
||||
* ===================================
|
||||
*/
|
||||
|
||||
/**
|
||||
* UI box element
|
||||
* contains top, middle, bottom blocks
|
||||
* UI Block
|
||||
*
|
||||
*/
|
||||
.main_box {
|
||||
@extend .borders;
|
||||
@extend .prepend-top-20;
|
||||
@extend .append-bottom-20;
|
||||
border-width: 1px;
|
||||
.ui-box {
|
||||
background: #F9F9F9;
|
||||
margin-bottom: 25px;
|
||||
border: 1px solid #CCC;
|
||||
@include solid-shade;
|
||||
|
||||
&.ui-box-show {
|
||||
margin:20px 0;
|
||||
background: #FFF;
|
||||
}
|
||||
|
||||
img { max-width: 100%; }
|
||||
|
||||
|
@ -27,9 +28,9 @@
|
|||
}
|
||||
}
|
||||
|
||||
.top_box_content,
|
||||
.middle_box_content,
|
||||
.bottom_box_content {
|
||||
.ui-box-head,
|
||||
.ui-box-body,
|
||||
.ui-box-bottom {
|
||||
padding: 15px;
|
||||
word-wrap: break-word;
|
||||
|
||||
|
@ -39,19 +40,25 @@
|
|||
border: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.clearfix {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.top_box_content {
|
||||
.ui-box-head {
|
||||
.box-title {
|
||||
color: $style_color;
|
||||
font-size: 18px;
|
||||
font-weight: normal;
|
||||
line-height: 28px;
|
||||
}
|
||||
h3 {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.middle_box_content {
|
||||
@include border-radius(0);
|
||||
.ui-box-body {
|
||||
border: none;
|
||||
font-size: 12px;
|
||||
background-color: #f5f5f5;
|
||||
|
@ -59,24 +66,9 @@
|
|||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
.bottom_box_content {
|
||||
.ui-box-bottom {
|
||||
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;
|
||||
|
@ -86,45 +78,14 @@
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
h5, .title {
|
||||
.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;
|
||||
border-bottom: 1px solid #CCC;
|
||||
|
||||
> 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 {
|
||||
|
@ -143,6 +104,7 @@
|
|||
color: #777;
|
||||
}
|
||||
}
|
||||
|
||||
.row_title {
|
||||
font-weight: bold;
|
||||
color: #444;
|
||||
|
@ -151,8 +113,4 @@
|
|||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.ui-box-body {
|
||||
padding: 10px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,14 +23,8 @@
|
|||
border-bottom: 1px solid #ADF;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
@include border-radius(4px 4px 0 0);
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
@include border-radius(0 0 4px 4px);
|
||||
border: none;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.author { color: #999; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue