haldis/app/static/css/main.css

247 lines
4.9 KiB
CSS
Raw Normal View History

2019-10-24 13:50:51 +02:00
:root {
2020-08-14 04:57:02 +02:00
/* Darkmode colors */
--gray0: #d0d0d8;
--gray1: #8e8e93;
--gray2: #636366;
--gray3: #48484a;
--gray4: #3a3a3c;
--gray5: #2c2c2e;
--gray6: #1c1c1e;
--accent: #0a84ff;
--bg: #2c2c2e;
--navbarBg: #1c1c1e;
--fontFamily: "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;
--fontSize: 13px;
2019-10-24 13:50:51 +02:00
}
2019-12-05 21:10:45 +01:00
2019-10-30 23:40:36 +01:00
html {
height: 100%;
2019-10-30 23:40:36 +01:00
}
2019-10-24 13:50:51 +02:00
2015-03-31 20:15:22 +02:00
body {
padding-top: 70px;
background-color: var(--bg);
color: var(--gray1);
height: 100%;
font-family: var(--fontFamily);
font-size: var(--fontSize);
2019-11-16 14:54:45 +01:00
}
2019-12-05 19:39:35 +01:00
2020-08-14 04:57:02 +02:00
.background {
position: absolute;
z-index: -1000;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
-webkit-filter: blur(2px) brightness(50%);
-moz-filter: blur(2px) brightness(50%);
-o-filter: blur(2px) brightness(50%);
-ms-filter: blur(2px) brightness(50%);
filter: blur(2px) brightness(50%);
2015-03-31 20:15:22 +02:00
}
.padding-top {
padding-top: 10px;
}
2015-03-31 20:15:22 +02:00
@media (min-width: 992px) {
.align-bottom {
margin-top: 2.5em;
}
2015-03-31 20:15:22 +02:00
}
.full-width {
width: 100%;
2015-03-31 20:15:22 +02:00
}
2015-06-24 22:10:26 +02:00
.time_data{
display: flex;
justify-content: space-between;
}
2019-05-31 19:05:40 +02:00
@media(min-width: 768px) and (max-width: 991px){
/* Make sure the small map in the location page has the same with as the block above */
.sm-no-side-padding {
padding-left: 0px;
padding-right: 0px;
}
2019-05-31 19:05:40 +02:00
}
@media(min-width: 992px){
.md-no-right-padding {
padding-right: 0px;
}
2019-05-31 19:05:40 +02:00
}
a.divLink {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
text-decoration: none;
/* Makes sure the link doesn't get underlined */
z-index: 10;
/* raises anchor tag above everything else in div */
background-color: white;
/*workaround to make clickable in IE */
opacity: 0;
/*workaround to make clickable in IE */
filter: alpha(opacity=0);
/*workaround to make clickable in IE */
2019-10-28 16:09:21 +01:00
}
.footerWrapper {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 0 -1rem;
2019-10-28 16:09:21 +01:00
}
.footerWrapper>div{
margin: 0 1rem;
2019-10-28 16:09:21 +01:00
}
2019-10-30 23:40:36 +01:00
.hidden {
display: none;
2019-10-30 23:40:36 +01:00
}
.table-hover tbody tr:hover{
background-color: var(--gray4);
2019-10-28 16:09:21 +01:00
}
a {
color: var(--accent);
2019-10-28 16:09:21 +01:00
}
.btn-primary {
color: var(--gray6);
background-color: var(--accent);
2019-10-28 16:09:21 +01:00
}
.navbar {
background-color: var(--navbarBg);
2019-10-28 16:09:21 +01:00
}
2020-08-14 04:57:02 +02:00
.navbar-default .navbar-nav .active a {
background-color: var(--gray5);
color: var(--gray1);
2019-10-28 16:09:21 +01:00
}
2020-08-14 04:57:02 +02:00
.navbar-default .navbar-nav .active a:hover,
.navbar-default .navbar-nav .active a:focus,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
background-color: var(--gray4);
color: var(--gray0);
2019-10-28 16:09:21 +01:00
}
2020-08-14 04:57:02 +02:00
.navbar-default .navbar-nav li a,
.navbar-default .navbar-brand {
color: var(--gray1);
2019-10-28 16:09:21 +01:00
}
2020-08-14 04:57:02 +02:00
.navbar-default .navbar-nav li a:hover,
.navbar-default .navbar-nav li a:focus,
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
color: var(--gray0);
2019-10-28 16:09:21 +01:00
}
hr{
border-top: 1px solid var(--gray2);
2019-10-28 16:09:21 +01:00
}
h1, h2, h3, h4, h5, h6{
color: var(--gray1);
2019-10-28 16:09:21 +01:00
}
2020-08-14 04:57:02 +02:00
.jumbotron, .darker, .order_row {
background: var(--gray5);
2020-08-14 04:57:02 +02:00
}
.darker {
margin-top: 10px;
padding-top: 5px;
padding-bottom: 5px;
2019-10-28 16:09:21 +01:00
}
2020-08-14 04:57:02 +02:00
.table tbody tr td {
border-top: 1px solid var(--gray3);
2019-10-28 16:09:21 +01:00
}
.table thead tr th {
border-bottom: 2px solid var(--gray2);
2019-10-28 16:09:21 +01:00
}
.navbar-toggle .icon-bar {
background-color: var(--gray0);
opacity: 0.5;
2019-10-28 16:09:21 +01:00
}
.select2-container--default .select2-selection--single{
background-color: var(--gray3);
color: var(--gray0);
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
color: var(--gray0);
}
.select2-results__option{
background-color: var(--gray5);
color: var(--gray0);
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
background-color: var(--gray4);
color: var(--gray0);
}
.bootstrap-datetimepicker-widget table thead tr:first-child th:hover,
.bootstrap-datetimepicker-widget table td.day:hover,
.bootstrap-datetimepicker-widget table td.hour:hover,
.bootstrap-datetimepicker-widget table td.minute:hover,
.bootstrap-datetimepicker-widget table td span:hover,
.bootstrap-datetimepicker-widget table td.second:hover {
background: var(--gray4);
}
2019-10-28 16:09:21 +01:00
.select2-container--default .select2-results__option[aria-selected=true]{
background-color: var(--accent);
color: var(--gray0);
}
.select2-search{
background-color: var(--gray2);
}
2020-02-24 14:32:11 +01:00
.select2-selection--multiple .select2-search{
background-color: transparent;
2020-02-24 14:32:11 +01:00
}
.select2-selection--multiple .select2-search{
background-color: transparent;
2020-02-24 14:32:11 +01:00
}
.select2-selection--multiple .select2-search.select2-search--inline .select2-search__field{
border: 1px solid #ccc;
padding-left: 0.3em;
box-sizing: content-box;
2020-02-24 14:32:11 +01:00
}
.select2-search input{
background-color: var(--gray0);
}
.dropdown-menu{
background-color: var(--gray5);
}
.form-control{
color: var(--gray0);
}
.form-control::placeholder{
color: var(--gray2);
}
2020-02-29 22:26:00 +01:00
.dish-choices summary {
font-style: italic;
2020-08-21 15:17:10 +02:00
}
details summary {
cursor: pointer;
}
2020-08-21 15:17:10 +02:00
details summary:before {
font-style: normal;
content: "⯈";
2020-08-21 15:17:10 +02:00
padding-right: 0.4em;
}
2020-08-21 15:17:10 +02:00
details[open] summary:before {
content: "⯆";
}