move css modules, add css compile
This commit is contained in:
248
css/widget/bootstrap-overwrite.less
vendored
Normal file
248
css/widget/bootstrap-overwrite.less
vendored
Normal file
@@ -0,0 +1,248 @@
|
||||
// overwrite bootstrap themes
|
||||
|
||||
.dropdown-menu {
|
||||
margin-top: 0;
|
||||
border-radius: 0;
|
||||
background: #323842;
|
||||
border: none;
|
||||
>li>a {
|
||||
cursor: pointer;
|
||||
color: #B6CBDD;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: #FFF;
|
||||
background: #232830;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.input-group {
|
||||
margin-bottom: 10px;
|
||||
.input-group-addon {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
.list-group-item {
|
||||
.from {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
hr {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
// 自定义宽度
|
||||
.column-2,
|
||||
.column-3,
|
||||
.column-4 {
|
||||
.form-group {
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.column-2 {
|
||||
.form-group {
|
||||
width: 45%;
|
||||
}
|
||||
}
|
||||
|
||||
.column-3 {
|
||||
.form-group {
|
||||
width: 30%;
|
||||
}
|
||||
}
|
||||
|
||||
.column-4 {
|
||||
.form-group {
|
||||
width: 22%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.navbar {
|
||||
height: 50px;
|
||||
background: #F9F9F9;
|
||||
}
|
||||
|
||||
.btn-groups {
|
||||
line-height: 50px;
|
||||
|
||||
>.split {
|
||||
width: 1px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
background: #D8D8D8;
|
||||
margin: 0 8px;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-flat {
|
||||
border-radius: 0;
|
||||
color: #FFF;
|
||||
background: #738089;
|
||||
|
||||
&:hover,
|
||||
&:focus, {
|
||||
background: #323842;
|
||||
color: #B6CBDD;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
>.ico-left {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
>.ico {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
>.drop {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-new {
|
||||
color: #FFF;
|
||||
background: #4A90E2;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background: darken(#4A90E2, 10%);
|
||||
color: #FFF;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-preview {
|
||||
color: #FFF;
|
||||
background: #28B4A0;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background: lighten(#28B4A0, 10%);
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
&.dropdown-toggle:focus {
|
||||
background: #323842;
|
||||
color: #B6CBDD;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-confirm {
|
||||
color: #FFF;
|
||||
background: #4A90E2;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background: darken(#4A90E2, 10%);
|
||||
color: #FFF;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-ico {
|
||||
padding: 5px 10px;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
>.ico {
|
||||
font-size: 16px;
|
||||
line-height: 18px;
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// 命令组
|
||||
.command-groups {
|
||||
height: 40px;
|
||||
padding-left: 8px;
|
||||
overflow: hidden;
|
||||
background: rgba(112, 119, 128, 0.8);
|
||||
|
||||
>li {
|
||||
|
||||
float: left;
|
||||
line-height: 40px;
|
||||
padding: 0 8px;
|
||||
color: #FFF;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
|
||||
>i {
|
||||
font-style: normal;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
>.ico {
|
||||
font-size: 20px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: lighten(#707781, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
>li[data-theme="ico"] {
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
>li[data-disabled] {
|
||||
color: #B9BDC1;
|
||||
}
|
||||
|
||||
>li[data-on] {
|
||||
background: darken(#707781, 10%);
|
||||
}
|
||||
|
||||
>[data-split] {
|
||||
padding: 0!important;
|
||||
width: 1px;
|
||||
height: 40px;
|
||||
background: lighten(#707781, 15%);
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
.pager {
|
||||
margin: 0;
|
||||
.form-control {
|
||||
display: inline-block;
|
||||
width: 40px;
|
||||
height: 30px;
|
||||
padding: 6px;
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
[data-pager="goto"] {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
[data-pager="info"] {
|
||||
margin: 0 5px;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.form-line {
|
||||
line-height: 34px;
|
||||
}
|
||||
|
||||
|
||||
.form-title {
|
||||
vertical-align: 3px;
|
||||
}
|
||||
|
||||
.btn-right {
|
||||
float: right;
|
||||
margin-left: 10px;
|
||||
}
|
||||
Reference in New Issue
Block a user