1
0
www.mikescher.com/www/data/css/styles_befungerunner.scss

133 lines
2.7 KiB
SCSS
Raw Normal View History

2018-01-01 21:07:48 +01:00
@import 'styles_config';
.bce_code {
background: #F8F8F8;
color: black;
border: 1px solid rgba(0, 0, 0, 0.15);
.bce_code_data {
overflow-x: auto;
font-family: $FONT_CODE;
2018-01-02 00:25:09 +01:00
padding: 5px 9.5px;
2018-01-01 21:07:48 +01:00
2018-01-01 23:03:05 +01:00
font-size: 10pt;
2018-01-01 21:07:48 +01:00
}
.bce_code_ctrl {
background: #BBB;
display: flex;
flex-direction: row;
.ctrl_btn_left, .ctrl_btn_right {
display: flex;
flex-direction: row;
}
.ctrl_btn_left {
margin-right: auto;
}
.ctrl_btn_right {
margin-left: auto;
}
.ctrl_btn {
2018-01-02 00:25:09 +01:00
user-select: none;
2018-01-02 17:11:15 +01:00
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
2018-01-01 21:07:48 +01:00
display: block;
border: 1px solid #000;
background: #444;
color: #BBB;
margin: 4px;
padding: 0 5px;
min-width: 65px;
text-align: center;
text-decoration: none;
font-weight: bold;
&:hover {
cursor: pointer;
background: #333;
color: #FFF;
border: 1px solid black;
}
}
2018-01-02 19:41:41 +01:00
.ctrl_btn_group {
display: flex;
flex-direction: row;
}
.ctrl_btn_ll {margin-right: 0; flex-grow: 1; }
.ctrl_btn_rr {margin-left: 0; flex-grow: 0; min-width: 25px; border-left: none; &:hover { border-left: none; } }
2018-01-01 21:07:48 +01:00
.ctrl_btn_disabled { background: #999; color: #BBB; }
.ctrl_btn_disabled:hover { background: #999; color: #BBB; cursor: default; }
}
}
@media (max-width: 767px) {
.bce_code {
.bce_code_ctrl{
display: flex; flex-direction: column; margin: 0;
.ctrl_btn_left, .ctrl_btn_right { display: flex; flex-direction: column; margin: 0; }
} .ctrl_btn_left, .ctrl_btn_right { display: flex; flex-direction: column; margin: 0; }
}
2018-01-02 00:25:09 +01:00
}
.bce_code_out {
display: flex;
flex-direction: row;
background: #BBB;
.bce_code_out_text {
font-family: $FONT_CODE;
overflow-y: auto;
overflow-x: auto;
background: #FFF;
color: #000;
border: 1px solid #888;
2018-01-02 19:41:41 +01:00
flex-grow: 1;
2018-01-02 00:25:09 +01:00
}
.bce_code_out_stack {
font-family: $FONT_CODE;
overflow-y: scroll;
overflow-x: auto;
background: #FFF;
color: #000;
border: 1px solid #888;
2018-01-02 19:41:41 +01:00
flex-grow: 1;
}
.bce_code_out_left {
flex-grow: 1;
margin: 0 4px 4px 4px;
2018-01-02 20:49:37 +01:00
height: 300px;
2018-01-02 19:41:41 +01:00
display: flex;
flex-direction: column;
}
.bce_code_out_right {
2018-01-02 20:49:37 +01:00
height: 300px;
2018-01-02 19:41:41 +01:00
width: 200px;
margin: 0 4px 4px 4px;
display: flex;
flex-direction: column;
2018-01-02 00:25:09 +01:00
}
}
@media (max-width: 767px) {
.bce_code_out {
flex-direction: column;
2018-01-02 19:41:41 +01:00
.bce_code_out_left { flex-grow: 0; height: 100px;}
.bce_code_out_right { width: auto; height: 150px;}
2018-01-02 00:25:09 +01:00
}
}
.b93rnr_outpanel_hidden { visibility: collapse; display: none; }