TeaWeb/shared/css/frame/SelectInfo.scss

94 lines
1.4 KiB
SCSS
Raw Normal View History

2018-09-25 17:39:38 +02:00
.select_info_table { }
.select_info_table tr { }
.select_info_table tr td { }
.select_info_table tr td:nth-child(1) {
font-weight: bold;
padding-right: 5px;
min-width: 20%;
}
.select_server {
2018-09-25 19:47:08 +02:00
height: 100%;
2018-09-25 17:39:38 +02:00
display: inline-flex;
2018-09-25 19:47:08 +02:00
flex-direction: column;
2018-09-25 17:39:38 +02:00
justify-content: space-between;
2018-11-04 00:39:29 +01:00
flex-grow: 1;
2018-09-25 17:39:38 +02:00
.button-update {
width: 100%;
2018-09-25 19:47:08 +02:00
height: 23px;
&:disabled {
color: red;
pointer-events: none;
}
&:not(:disabled) {
color: green;
}
2018-09-25 17:39:38 +02:00
}
.container {
max-height: 100%;
display: flex;
flex-direction: column;
.hostbanner {
overflow: hidden;
}
}
}
/*
<div id="select_info" class="select_info" style="width: 100%; max-width: 100%">
<div class="container-banner"></div>
<div class="container-info"></div>
</div>
*/
.select_info {
display: flex;
flex-direction: column;
justify-content: stretch;
width: 100%;
> div {
width: 100%;
}
.container-banner {
flex-grow: 1;
flex-shrink: 2;
max-height: 25%;
display: flex;
justify-content: stretch;
overflow: hidden;
&:not(:disabled) {
margin-bottom: 5px;
}
.hostbanner {
position: relative;
flex-grow: 1;
img {
position: absolute;
}
}
}
.container-select-info {
flex-grow: 1;
flex-shrink: 1;
display: flex;
flex-direction: column;
justify-content: stretch;
2018-11-04 00:39:29 +01:00
.select_server {
> div {
flex-grow: 1;
}
}
}
2018-09-25 17:39:38 +02:00
}