sumorobot-web/styles.css

109 lines
2.0 KiB
CSS
Raw Normal View History

2017-09-25 09:37:41 +00:00
html, body {
margin: 0;
height: 100%;
}
body {
overflow: hidden;
background-color: #fff;
font-family: sans-serif;
}
h1 {
font-size: 140%;
font-weight: normal;
}
img {
width: 15%;
}
table {
height: 88%;
width: 100%;
}
span.has-error {
color: #a94442 !important;
border-color: #a94442 !important;
background-color: #f2dede !important;
}
input.has-error {
border-color: #a94442 !important;
}
.form-control {
padding: 0.5vw 1vw !important;
}
.addon-no-border {
border-left: 0px !important;
border-right: 0px !important;
}
.input-group-addon {
padding: 0.5vw 1vw !important;
}
.btn-robot-nr, .btn-robot-add {
font-size: 10vw !important;
border: 3px solid rgba(0, 0, 0, 0.1) !important;
}
.btn-robot-add {
opacity: 0.5;
}
.btn-selected {
border-color: #fc3 !important;
}
.btn-success {
border-width: 3px !important;
background-color: #44CC00 !important;
}
.btn-danger {
border-width: 3px !important;
background-color: #b80000 !important;
}
.btn-danger.disabled {
background-color: #ee4d4d !important;
}
.btn:hover, .btn.hover {
border-width: 3px;
border-color: #fc3 !important;
}
.big-checkbox {
width: 5vw;
height: 5vw;
}
.form-check-label {
font-size: 5vw;
}
.goog-menuitem-content {
font-size: 2em !important;
}
#panel {
z-index: 35;
width: 100%;
height: 100%;
position: absolute;
text-align: center;
background-color: rgba(255, 255, 255, 0.9);
}
@media screen and (max-width: 1000px) {
td#blocklyArea {
width: 99%;
height: 99%;
}
td#blocklyCodeArea {
display: none;
}
textarea#blocklyCode {
display: none;
}
}
@media screen and (min-width: 768px) {
td#blocklyArea {
width: 60%;
height: 99%;
}
td#blocklyCodeArea {
width: 40%;
height: 99%;
}
textarea#blocklyCode {
width: 99%;
height: 100%;
font-size: 1.8em;
}
}