opt-cc/static/src/styles.scss

92 lines
1.3 KiB
SCSS
Raw Normal View History

// mat-core() mixin:
@import '~@angular/material/theming';
$custom-typography: mat-typography-config(
$font-family: 'Roboto, monospace'
);
@include mat-core($custom-typography);
/* for sidenav to take a whole page */
html, body {
margin: 0;
height: 100%;
2017-05-10 11:04:06 +02:00
}
.tabs-container {
width: 520px;
}
label {
display: block;
}
.ng-touched.ng-invalid {
border-color: #a94442;
}
.tag-controls > .form-control {
width: calc(100% - 119px);
display: inline-block;
}
.tag-controls > button {
margin-top: -2px;
}
.tag-controls {
padding-bottom: 8px;
}
form {
padding-bottom: 10px;
}
#footer {
position: fixed;
bottom: 0;
width: 100%;
}
#left {
2018-07-30 21:30:59 +02:00
max-width: 20%;
2019-02-24 02:08:56 +01:00
min-width: 345px;
2018-07-30 21:30:59 +02:00
margin: 0;
position: static;
2017-05-10 11:04:06 +02:00
float: left;
2018-08-01 20:53:25 +02:00
border-right: thin solid #dadada;
2018-08-04 10:35:26 +02:00
box-shadow: #dadada 1px 1px 6px;
2019-02-24 02:08:56 +01:00
@media all and (max-width: 599px) {
// TODO
}
2017-05-10 11:04:06 +02:00
}
2017-09-03 12:49:59 +02:00
2017-05-10 11:04:06 +02:00
#right {
2019-02-22 10:20:53 +01:00
display: flow-root;
2017-05-10 11:04:06 +02:00
}
/* MATERIAL */
/* Snackbar begin*/
.custom-snack-bar {
text-align: center;
border-radius: 8px 8px 0 0 !important;
font-weight: 700;
color: #ffffff;
text-shadow: black 0.1em 0.1em 0.2em
}
.custom-snack-bar > simple-snack-bar {
2018-07-15 15:38:33 +02:00
display: flex;
}
.snack-bar-button button {
2018-07-15 15:38:33 +02:00
color: #ffffff;
border: 1px solid;
margin-left: 10px;
}
/* Icon theme */
.mat-icon {
color: #c5c5c5;
}