TeaWeb/shared/css/general.scss

389 lines
6.7 KiB
SCSS
Raw Normal View History

2018-02-27 17:20:49 +01:00
*,
*::before,
*::after {
box-sizing: border-box;
}
2018-04-16 20:38:35 +02:00
.align_row {
display: flex;
flex-direction: row;
}
.align_column {
display: flex;
flex-direction: column;
}
2018-02-27 17:20:49 +01:00
.icon_loading {
border: 2px solid #f3f3f3; /* Light grey */
border-top: 2px solid #3498db; /* Blue */
border-radius: 50%;
animation: spin 2s linear infinite;
width: 14px!important;
height: 14px!important;
}
2018-04-16 20:38:35 +02:00
.avatar_loading {
border: 2px solid #f3f3f3; /* Light grey */
border-top: 2px solid #3498db; /* Blue */
border-radius: 50%;
animation: spin 2s linear infinite;
width: 14px!important;
height: 14px!important;
}
2018-02-27 17:20:49 +01:00
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.select_info {
font-family: Arial;
font-size: 12px;
/*white-space: pre;*/
line-height: 1;
padding: 2px;
height: 100%;
display: flex;
flex-direction: column;
}
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Header */
.modal-header {
padding: 2px 16px;
min-height: 30px;
vertical-align: middle;
display: flex;
align-items: center;
border: grey solid;
border-width: 0 0 1px 0;
2018-02-27 17:20:49 +01:00
background-color: lightgreen;
}
/* Modal Body */
.modal-body:not(:empty) {
display: flex;
padding: 2px 16px;
flex-grow: 1;
flex-direction: column;
justify-content: stretch;
}
2018-02-27 17:20:49 +01:00
/* Modal Footer */
2018-03-07 19:06:52 +01:00
.modal-footer:not(:empty) {
2018-02-27 17:20:49 +01:00
padding: 2px 16px;
}
/* The Close Button */
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
position: absolute;
top: 0px;
right: 4px;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
/* Modal Content */
2018-03-07 19:06:52 +01:00
.modal-content:not(:empty) {
2018-02-27 17:20:49 +01:00
position: absolute;
display: inline-flex;
flex-direction: column;
justify-content: stretch;
background-color: #fefefe;
margin: auto;
padding: 0;
border: 2px solid #888;
width: auto;
max-width: 90%;
box-shadow: 0 4px 15px 0 rgba(0,0,0,0.2), 2px 6px 20px 0 rgba(0,0,0,0.19);
animation-name: modalFlyIn;
animation-duration: 0.4s;
top: 10%;
max-height: 80%;
2018-02-27 17:20:49 +01:00
left: 0;
right: 0;
}
/* Add Animation */
@keyframes modalFlyIn {
from {top: 0%; opacity: 0}
to {top: 10%; opacity: 1}
}
.channel_perm_tbl input {
width: 30px;
}
.channel_perm_tbl .key {
width: 120px;
}
2018-04-16 20:38:35 +02:00
.channel_general_properties .value {
width: 100%;
}
2018-02-27 17:20:49 +01:00
html {
background-color: gray;
}
2018-08-13 17:50:55 +02:00
fieldset {
border: unset;
display: unset;
}
2018-02-27 17:20:49 +01:00
.modal-head-error {
background: darkred;
font-family: Arial;
font-size: 15px;
font-weight: bold;
vertical-align: middle;
}
.modal-button-group {
}
.modal-button-group button {
width: 100px;
margin-right: 5px;
margin-left: 5px;
}
.modal-button-group button:last-of-type {
margin-right: 0px;
}
.invalid_input {
border-color: red;
}
2018-03-07 19:06:52 +01:00
.GroupBox {
border: gray solid;
border-width: 2px;
border-radius: 0px 6px 6px 6px;
2018-03-08 15:40:31 +01:00
}
.vad_vad_bar {
position: relative;
width: 100%;
height: 20px;
}
.vad_vad_bar .vad_vad_bar_filler {
background-color: green;
width: 50%;
height: 100%;
}
/* The slider itself */
.vad_vad_slider {
margin: 0px;
background-color: gray;
-webkit-appearance: none; /* Override default CSS styles */
appearance: none;
width: 100%;
height: 100%;
outline: none;
opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
-webkit-transition: .2s; /* 0.2 seconds transition on hover */
transition: opacity .2s;
}
/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.vad_vad_slider::-webkit-slider-thumb {
-webkit-appearance: none; /* Override default look */
appearance: none;
width: 2px; /* Set a specific slider handle width */
height: 20px; /* Slider handle height */
background: #000000; /* Green background */
cursor: pointer; /* Cursor on hover */
}
.vad_vad_slider::-moz-range-thumb {
width: 2px; /* Set a specific slider handle width */
height: 100%; /* Slider handle height */
background: #000000; /* Green background */
cursor: pointer; /* Cursor on hover */
2018-03-24 23:38:01 +01:00
}
code {
background-color: lightgray;
padding: 2px;
2018-03-25 14:17:41 +02:00
}
footer {
position: fixed;
width: 100%;
bottom: 0px;
left: 0px;
right: 0px;
height: 25px;
background-color: lightgray;
display: flex;
}
footer .container {
width: 100%;
display: flex;
position: relative;
vertical-align: center;
justify-content: center;
}
2019-01-19 13:03:51 +01:00
$separator_thickness: 4px;
.app {
2019-01-19 13:03:51 +01:00
.container-app-main {
display: flex;
flex-direction: row;
justify-content: stretch;
height: 100%;
width: 100%;
border: $separator_thickness solid lightgray;
border-top-width: 0;
}
.container-control-bar {
height: 45px;
width: 100%;
border-radius: 2px 0 0 0;
border-bottom-width: 0;
background-color: lightgrey;
display: flex;
flex-direction: column;
justify-content: center;
}
.container-channel-chat {
2019-01-19 13:03:51 +01:00
/*
> div {
min-height: 100px;
min-width: 100px;
max-width: 100%;
}
2019-01-19 13:03:51 +01:00
*/
min-width: 100px;
2019-01-19 13:03:51 +01:00
//max-width: 60%; /* tmp chat fix */
display: flex;
flex-direction: column;
2019-01-19 13:03:51 +01:00
justify-content: stretch;
.container-channel {
2019-01-19 13:03:51 +01:00
background: white;
display: flex;
justify-content: stretch;
2019-01-19 13:03:51 +01:00
height: calc(100% - 250px);
min-height: 100px;
/*
overflow: auto;
overflow-x: visible;
*/
overflow: hidden;
overflow-y: auto;
}
.container-chat {
2019-01-19 13:03:51 +01:00
background: white;
display: flex;
flex-direction: column;
justify-content: stretch;
2019-01-19 13:03:51 +01:00
//max-height: 400px;
height: 250px;
2019-01-19 13:03:51 +01:00
min-height: 100px;
}
}
.container-info {
2019-01-19 13:03:51 +01:00
background: white;
min-width: 100px;
2019-01-19 13:03:51 +01:00
//max-width: 40%;
//width: 40%;
display: flex;
flex-direction: row;
justify-content: stretch;
}
}
.container-seperator {
background: lightgray;
flex-grow: 0;
flex-shrink: 0;
&.horizontal {
height: $separator_thickness;
width: 100%;
cursor: row-resize;
}
&.vertical {
width: $separator_thickness;
height: 100%;
cursor: col-resize;
}
2018-11-04 00:39:29 +01:00
}
#mouse-move {
display: none;
position: absolute;
z-index: 10000;
2018-11-04 00:39:29 +01:00
.container {
position: relative;
display: block;
border: 2px solid gray;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
}
html, body {
min-height: 500px;
min-width: 500px;
overflow: hidden;
2018-02-27 17:20:49 +01:00
}