rubick
Version:
tools for mtc
296 lines (247 loc) • 4.59 kB
CSS
* {
margin: 0;
padding: 0;
}
html,
body {
height: 100%;
width: 100%;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"
}
#app {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}
#screen {
background-color: gray;
z-index: 0;
opacity: 1 ;
}
#footer {
height: 50px;
display: flex;
justify-content: space-around;
}
#footer > button {
flex: 1;
}
.canvas-fg {
z-index: 2;
position: absolute;
}
.canvas-bg {
z-index: 1;
position: absolute;
}
.content-editor .table {
word-wrap: break-word;
table-layout: fixed;
}
.top-bar {
background-color: #f8f8f8;
border-color: #e7e7e7;
padding: 0 18px;
}
.top-bar .bar-title {
float: left;
line-height: 50px;
font-size: 20px;
}
.top-bar .bar-text {
float: left;
font-size: 16px;
margin: 0 10px;
}
.bar-text input {
margin: 8px 0;
width: 100px;
}
.top-bar .btn-wrap {
line-height: 50px;
float: left;
}
.content-wrap {
width: 100%;
display: flex;
flex: 1;
}
.content-screen {
display: flex;
flex-direction: column;
}
.content-editor {
display: flex;
flex-direction: column;
flex: 1;
}
.top-bar .device-resolution {
float: left;
height: 50px;
margin-left: 20px;
}
.device-resolution span{
line-height: 50px;
float: left;
}
.device-resolution input {
float: left;
width: 60px;
margin: 8px 5px;
}
body {
font-family: Menlo, Consolas, monospace;
color: #444;
}
.item {
cursor: pointer;
}
.bold {
font-weight: bold;
}
ul {
padding-left: 1em;
line-height: 1.5em;
list-style-type: dot;
}
.code-content {
overflow-y: scroll;
border: 1px solid #eee;
}
.code-content-list {
height: 600px;
}
.code-content-item {
height: 30px;
padding: 5px;
background: #eee;
font-family: "Microsoft YaHei";
}
.code-content-item:hover {
background: #fff;
}
.code-content-value {
float: left;
width: 70%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.code-content-op {
float: left;
width: 30%;
}
.code-content-op .op-item {
cursor: pointer;
color: #1a0dab;
font-weight: 600;
}
/* Customize container */
@media (min-width: 1200px) {
.container {
max-width: 960px;
}
}
.nav-op-btn {
border-radius: 4px;
padding: 10px 15px;
color: #337ab7;
text-decoration: none;
background-color: transparent;
cursor: pointer;
}
.nav-op-btn:hover {
background-color: #eee;
}
.nav-pills .nav-op-btn {
position: relative;
display: block;
float: left;
}
.header {
margin-bottom: 20px;
padding-bottom: 10px;
}
.float-left-label {
float: left;
line-height: 34px;
width: 85px;
}
.float-right-btn {
float: right;
line-height: 32px;
border: 1px solid #eee;
background: transparent;
border-radius: 4px;
padding: 0 10px;
outline: none;
}
.input-group-wrap {
margin-top: 10px;
}
.content-step {
margin-top: 10px;
}
.code-content-list {
height: 486px;
}
.addon-btn {
cursor: pointer;
}
.file-upload-wrap {
width: 100px;
float: left;
height: 34px;
position: relative;
}
.file-upload-btn {
width: 100px;
height: 34px;
outline: none;
position: absolute;
opacity: 0;
z-index: 1;
cursor: pointer;
}
.file-upload-display-btn {
position: absolute;
left: 0;
width: 98px;
height: 32px;
line-height: 34px;
padding: 0 34px;
cursor: pointer;
border: 1px solid #ccc;
background: #efefef;
z-index: 0;
color: #555;
opacity: 1;
}
.float-right-label {
float: right;
line-height: 34px;
}
.case-edit-btn {
padding: 6px 12px;
font-size: 14px;
font-weight: 400;
line-height: 1;
color: #555;
text-align: center;
background-color: #eee;
border: 1px solid #ccc;
border-radius: 4px;
width: auto;
float: left;
margin-right: 10px;
height: 30px;
position: relative;
cursor: pointer;
}
.case-edit-btn .file-upload-btn {
left: 0;
top: 0;
width: 54px;
height: 30px;
}