fonteditor/css/common.less
2014-10-07 02:34:38 +08:00

104 lines
1.5 KiB
Plaintext

@import './bootstrap.less';
body, html {
margin: 0;
padding: 0;
font-size: 13px;
}
// 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;
margin-top: 50px;
padding: 4px;
}
// 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;
}