fonteditor/css/common/import-pic.less
2015-04-02 23:34:56 +08:00

78 lines
1.4 KiB
Plaintext

.import-pic-dialog {
.modal-dialog {
width: 960px;
}
.form-group {
width: auto;
}
.modal-body {
padding-bottom: 0;
}
.preview-panel {
background: #FFF;
margin-bottom: 15px;
.canvas-left,
.canvas-right {
display: inline-block;
width: 50%;
height: 420px;
overflow: auto;
}
.canvas-left {
border-right: 1px solid #BAC1CB;
}
&.fitpanel {
canvas {
max-width: 100%;
max-height: 99%;
}
}
&.showleft {
.canvas-left {
width: 100%;
border-right: none;
display: inline-block;
}
.canvas-right {
display: none;
}
}
&.showright {
.canvas-right {
width: 100%;
display: inline-block;
}
.canvas-left {
display: none;
}
}
}
.import-pic-url {
position: absolute;
margin-top: 30px;
background: #4A90E2;
padding: 10px 10px 0;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
display: none;
&.show-url {
display: block;
}
}
}