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

118 lines
1.9 KiB
CSS

.modal-dialog {
margin-top: 100px;
}
.modal-header {
padding-top: 6px;
padding-bottom: 6px;
background: #327EC0;
color: #FFF;
}
.modal-header .close {
margin-top: 3px;
}
.modal-header .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, 0.5);
-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
overflow: hidden;
}
.dropdown-menu a {
cursor: pointer;
}
body,
html {
margin: 0;
padding: 0;
font-size: 13px;
}
::-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, 0.2) inset;
}
::-webkit-scrollbar-thumb {
min-height: 20px;
background-clip: content-box;
box-shadow: 0 0 0 5px rgba(0, 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;
}
.navbar .btn {
margin-right: 10px;
margin-top: 10px;
}
.navbar > .btn:first-child {
margin-left: 10px;
}
#export-btn {
margin-right: 10px;
margin-top: 10px;
display: inline-block;
}
#export-btn .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 {
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;
}