add project builder
This commit is contained in:
48
css/common/bootstrap.less
vendored
Normal file
48
css/common/bootstrap.less
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
|
||||
// overwrite bootstrap themes
|
||||
|
||||
|
||||
.modal-dialog {
|
||||
margin-top: 100px;
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
padding-top: 6px;
|
||||
padding-bottom: 6px;
|
||||
background: #327EC0;
|
||||
color: #FFF;
|
||||
.close {
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.modal-title {
|
||||
font-size: 14px;
|
||||
line-height: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
.modal-footer {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
border-color: rgba(0,0,0,.5);
|
||||
-webkit-box-shadow: 0 2px 4px rgba(0,0,0,.2);
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,.2);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
a {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.input-group {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
106
css/common/common.less
Normal file
106
css/common/common.less
Normal file
@@ -0,0 +1,106 @@
|
||||
|
||||
@import './bootstrap.less';
|
||||
|
||||
body, html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 13px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
// scroll bar
|
||||
::-webkit-scrollbar {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track,
|
||||
::-webkit-scrollbar-thumb {
|
||||
border-radius: 999px;
|
||||
border: 5px solid transparent;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
box-shadow: 1px 1px 5px rgba(0,0,0,.2) inset;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
min-height: 20px;
|
||||
background-clip: content-box;
|
||||
box-shadow: 0 0 0 5px rgba(0,0,0,.2) inset;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-corner {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
border-radius: 0;
|
||||
margin: 0;
|
||||
position: fixed;
|
||||
z-index: 10;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
|
||||
.btn {
|
||||
margin-right: 10px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
>.btn:first-child {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
#export-btn {
|
||||
margin-right: 10px;
|
||||
margin-top: 10px;
|
||||
display: inline-block;
|
||||
.btn {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
position: fixed;
|
||||
width: 200px;
|
||||
top: 50px;
|
||||
bottom: 0;
|
||||
background: #FCFCFC;
|
||||
padding: 4px;
|
||||
border-right: 1px solid #DDD;
|
||||
}
|
||||
|
||||
.main {
|
||||
margin-left: 200px;
|
||||
padding: 4px;
|
||||
padding-top: 50px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
// loading 动画
|
||||
.loading {
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
top: 30%;
|
||||
width: 200px;
|
||||
margin-left: -100px;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.selection-range {
|
||||
position: absolute;
|
||||
z-index: 6;
|
||||
display: none;
|
||||
border: 1px solid #CCC;
|
||||
background: rgba(222, 222, 222, 0.5);
|
||||
pointer-events: none;
|
||||
}
|
||||
30
css/common/ico.less
Normal file
30
css/common/ico.less
Normal file
@@ -0,0 +1,30 @@
|
||||
|
||||
|
||||
// fontface
|
||||
@font-face {
|
||||
font-family: 'fonteditor';
|
||||
src: url('../../font/iconfont.ttf') format('truetype');
|
||||
}
|
||||
|
||||
.i-edit,
|
||||
.i-del {
|
||||
display: inline-block;
|
||||
font-family: 'fonteditor';
|
||||
font-size: 12px;
|
||||
font-style:normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-text-stroke-width: 0.1px;
|
||||
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
color: blue;
|
||||
}
|
||||
}
|
||||
|
||||
.i-edit:before {
|
||||
content: '\e605';
|
||||
}
|
||||
|
||||
.i-del:before {
|
||||
content: '\e611';
|
||||
}
|
||||
14
css/common/util.less
Normal file
14
css/common/util.less
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
|
||||
.ellipsis() {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ellipsis(@width) when (@width > 0px) {
|
||||
width: @width;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
Reference in New Issue
Block a user