haldis/app/static/css/main.css

305 lines
5.7 KiB
CSS
Raw Normal View History

2019-10-24 11:50:51 +00:00
:root {
2020-08-14 02:57:02 +00:00
/* Darkmode colors */
--dGray0: #D0D0D8;
--dGray1: #8E8E93;
--dGray2: #636366;
--dGray3: #48484A;
--dGray4: #3A3A3C;
--dGray5: #2C2C2E;
--dGray6: #1C1C1E;
--dBlue: #0A84FF;
--FontFamily: "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;
--FontSize: 13px;
2019-10-24 11:50:51 +00:00
}
2019-12-05 20:10:45 +00:00
2019-10-30 22:40:36 +00:00
html {
height: 100%;
2019-10-30 22:40:36 +00:00
}
2019-10-24 11:50:51 +00:00
2015-03-31 18:15:22 +00:00
body {
padding-top: 70px;
background-color: var(--dGray5);
color: var(--dGray1);
height: 100%;
font-family: var(--FontFamily);
font-size: var(--FontSize);
2019-11-16 13:54:45 +00:00
}
2019-12-05 18:39:35 +00:00
2020-08-14 02:57:02 +00: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 18:15:22 +00:00
}
.padding-top {
padding-top: 10px;
}
2015-03-31 18:15:22 +00:00
@media (min-width: 992px) {
.align-bottom {
margin-top: 2.5em;
}
2015-03-31 18:15:22 +00:00
}
.full-width {
width: 100%;
2015-03-31 18:15:22 +00:00
}
2015-06-24 20:10:26 +00:00
2020-01-27 02:01:49 +00:00
.showcase {
font-size: 16px;
line-height: 1.2;
2020-01-27 02:01:49 +00:00
}
.showcase {
padding: 0;
max-width: 500px;
margin: 0 auto;
}
2020-01-27 02:01:49 +00:00
.showcase h1 {
font-size: 200%;
margin: 0 ;
padding: 0.4em 0 0.2em;
border-bottom: 1px dashed var(--dGray1);
text-align: center;
2020-01-27 02:01:49 +00:00
}
.showcase h2 {
font-size: 110%;
font-weight: bold;
margin-bottom: 0.6em;
2020-01-27 02:01:49 +00:00
}
.showcase .open-order-warning {
font-size: 150%;
text-align: center;
padding: 1em 0.5em;
background-color: rgba(255, 0, 0, 0.1);
}
.showcase .dish {
padding: 0 0.5em;
}
@media (min-width: 500px) {
.showcase .dish {
padding: 0 1em;
}
}
2020-01-27 02:01:49 +00:00
.showcase .quantity {
font-size: 110%;
2020-01-27 02:01:49 +00:00
}
.showcase .comments {
padding-left: 2em;
2020-01-27 02:01:49 +00:00
}
.showcase .comments li {
margin: 0.5em 0 0;
}
2019-05-31 17:05:40 +00:00
.showcase .total {
border-top: 1px dashed var(--dGray1);
text-align: center;
padding: 0.5em 0;
margin-top: 1.3em;
}
.time_data{
display: flex;
justify-content: space-between;
}
2019-05-31 17:05:40 +00: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 17:05:40 +00:00
}
@media(min-width: 992px){
.md-no-right-padding {
padding-right: 0px;
}
2019-05-31 17:05:40 +00: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 15:09:21 +00:00
}
.footerWrapper {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 0 -1rem;
2019-10-28 15:09:21 +00:00
}
.footerWrapper>div{
margin: 0 1rem;
2019-10-28 15:09:21 +00:00
}
2019-10-30 22:40:36 +00:00
.hidden {
display: none;
2019-10-30 22:40:36 +00:00
}
.table-hover tbody tr:hover{
background-color: var(--dGray3);
2019-10-28 15:09:21 +00:00
}
a {
2019-10-28 15:09:21 +00:00
color: var(--dBlue);
}
.btn-primary {
color: var(--dGray6);
background-color: var(--dBlue);
2019-10-28 15:09:21 +00:00
}
.navbar {
2019-10-28 15:09:21 +00:00
background-color: var(--dGray6);
}
2020-08-14 02:57:02 +00:00
.navbar-default .navbar-nav .active a {
background-color: var(--dGray5);
2019-10-28 15:09:21 +00:00
color: var(--dGray1);
}
2020-08-14 02:57:02 +00: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(--dGray4);
2019-10-28 15:09:21 +00:00
color: var(--dGray0);
}
2020-08-14 02:57:02 +00:00
.navbar-default .navbar-nav li a,
.navbar-default .navbar-brand {
2019-10-28 15:09:21 +00:00
color: var(--dGray1);
}
2020-08-14 02:57:02 +00: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 {
2019-10-28 15:09:21 +00:00
color: var(--dGray0);
}
hr{
2019-10-28 15:09:21 +00:00
border-top: 1px solid var(--dGray2);
}
h1, h2, h3, h4, h5, h6{
2019-10-28 15:09:21 +00:00
color: var(--dGray1);
}
2020-08-14 02:57:02 +00:00
.jumbotron, .darker, .order_row {
background: var(--dGray4);
}
.darker {
margin-top: 10px;
padding-top: 5px;
padding-bottom: 5px;
2019-10-28 15:09:21 +00:00
}
2020-08-14 02:57:02 +00:00
.table tbody tr td {
2019-10-28 15:09:21 +00:00
border-top: 1px solid var(--dGray3);
}
.table thead tr th {
2019-10-28 15:09:21 +00:00
border-bottom: 2px solid var(--dGray2);
}
.navbar-toggle .icon-bar {
background-color: var(--dGray0);
opacity: 0.5;
2019-10-28 15:09:21 +00:00
}
.select2-container--default .select2-selection--single{
background-color: var(--dGray3);
color: var(--dGray0);
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
color: var(--dGray0);
}
.select2-results__option{
background-color: var(--dGray5);
color: var(--dGray0);
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
background-color: var(--dGray4);
color: var(--dGray0);
}
.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(--dGray4);
}
2019-10-28 15:09:21 +00:00
.select2-container--default .select2-results__option[aria-selected=true]{
background-color: var(--dBlue);
color: var(--dGray0);
}
.select2-search{
background-color: var(--dGray2);
}
2020-02-24 13:32:11 +00:00
.select2-selection--multiple .select2-search{
background-color: transparent;
2020-02-24 13:32:11 +00:00
}
.select2-selection--multiple .select2-search{
background-color: transparent;
2020-02-24 13:32:11 +00: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 13:32:11 +00:00
}
.select2-search input{
background-color: var(--dGray0);
}
.dropdown-menu{
background-color: var(--dGray5);
}
.form-control{
color: var(--dGray0);
}
.form-control::placeholder{
color: var(--dGray2);
}
2020-02-29 21:26:00 +00:00
#dish_choices {
margin: 0.5em 1em 1.5em;
transition: opacity 0.2s;
}
#dish_choices.loading {
opacity: 0.2;
2020-02-29 21:26:00 +00:00
}
.dish-choices summary {
font-style: italic;
cursor: pointer;
}
.dish-choices summary:before {
font-style: normal;
content: "⯈";
}
.dish-choices[open] summary:before {
content: "⯆";
}