240 lines
3.8 KiB
Plaintext
240 lines
3.8 KiB
Plaintext
@import './reset.less';
|
|
|
|
@import './bootstrap.less';
|
|
|
|
@import './def.less';
|
|
|
|
body, html {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 13px;
|
|
height: 100%;
|
|
}
|
|
|
|
// scroll bar
|
|
::-webkit-scrollbar {
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track,
|
|
::-webkit-scrollbar-thumb {
|
|
border-radius: 999px;
|
|
border: 1px 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;
|
|
padding: 0;
|
|
position: fixed;
|
|
z-index: 10;
|
|
width: 100%;
|
|
height: 51px;
|
|
min-width: 1024px;
|
|
top: 0;
|
|
|
|
>.logo {
|
|
width: 180px;
|
|
height: 50px;
|
|
background: url(./img/logo.png) no-repeat;
|
|
float: left;
|
|
}
|
|
|
|
>.action-groups {
|
|
margin-left: 180px;
|
|
padding-left: 8px;
|
|
}
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
flex: 1;
|
|
}
|
|
|
|
.sidebar {
|
|
position: fixed;
|
|
width: 180px;
|
|
top: @top-height;
|
|
bottom: 0;
|
|
background: #232830;
|
|
}
|
|
|
|
.main {
|
|
margin-left: 180px;
|
|
padding-top: @top-height + @command-groups-height;
|
|
height: 100%;
|
|
background: #BCC5CD;
|
|
|
|
.glyf-list {
|
|
padding: 10px 0 0 10px;
|
|
}
|
|
|
|
.command-groups {
|
|
margin-top: -40px;
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.main.editing {
|
|
margin-left: 70%;
|
|
padding-top: @top-height;
|
|
|
|
.command-groups {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
// loading 动画
|
|
.loading {
|
|
position: fixed;
|
|
left: 50%;
|
|
top: 30%;
|
|
width: 200px;
|
|
margin-left: -100px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
z-index: 1000;
|
|
display: none;
|
|
|
|
span {
|
|
display: inline-block;
|
|
padding: 0 6px;
|
|
background: rgba(84, 114, 93, 0.8);
|
|
color: #FFF;
|
|
border: 1px solid #DDD;
|
|
}
|
|
|
|
}
|
|
|
|
.editor {
|
|
position: fixed;
|
|
width: 70%;
|
|
top: @top-height;
|
|
padding-top: @command-groups-height;
|
|
bottom: 0;
|
|
z-index: 1;
|
|
background: #FEFEFE;
|
|
border-right: 1px solid #DDD;
|
|
display: none;
|
|
|
|
.command-groups {
|
|
background: rgba(112, 119, 128, 1);
|
|
margin-top: -40px;
|
|
}
|
|
|
|
.close-editor {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
padding-right: 5px;
|
|
z-index: 100;
|
|
font-size: 20px;
|
|
line-height: 38px;
|
|
color: #FFF;
|
|
display: none;
|
|
&:hover {
|
|
cursor: pointer
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
.close-editor {
|
|
display: block;
|
|
}
|
|
}
|
|
@media screen and (min-width:1300px) and (max-width:1600px){
|
|
.command-groups {
|
|
>li,
|
|
>li[data-theme="ico"] {
|
|
padding: 0 8px;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width:1300px){
|
|
.command-groups {
|
|
>li,
|
|
>li[data-theme="ico"] {
|
|
padding: 0 4px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.editor.editing {
|
|
display: block;
|
|
}
|
|
|
|
.selection-range {
|
|
position: absolute;
|
|
z-index: 6;
|
|
display: none;
|
|
border: 1px solid #CCC;
|
|
background: rgba(222, 222, 222, 0.5);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.forkme {
|
|
position: absolute;
|
|
color: #FFF;
|
|
right: 2px;
|
|
top: 2px;
|
|
color: #333
|
|
}
|
|
|
|
// modal
|
|
|
|
.modal {
|
|
background: -webkit-radial-gradient(center, circle contain, rgba(255,255,255,0.6) 0%, rgba(0,0,0,0.6) 100%);
|
|
}
|
|
|
|
.modal-content {
|
|
border-radius: 0;
|
|
}
|
|
|
|
.modal-header {
|
|
background: #fff;
|
|
color: #202430;
|
|
}
|
|
|
|
.modal-body {
|
|
background: #F8F9F9;
|
|
}
|
|
|
|
.modal-footer {
|
|
|
|
border-top: 0;
|
|
background: #F8F9F9;
|
|
|
|
.btn-default {
|
|
border-radius: 0;
|
|
color: #FFF;
|
|
background: #738089;
|
|
}
|
|
|
|
.btn-primary {
|
|
border-radius: 0;
|
|
background: #4A90E2;
|
|
}
|
|
|
|
}
|