lostplaces-backend/lostplaces/lostplaces_app/static/main.css

522 lines
14 KiB
CSS
Raw Normal View History

2020-08-04 20:06:39 +02:00
@font-face {
font-family: Crimson;
src: url("fonts/Crimson/CrimsonText-Regular.ttf"), url("fonts/Crimson/CrimsonText-Bold.ttf"), url("fonts/Crimson/CrimsonText-Italic.ttf"); }
@font-face {
font-family: Montserrat;
src: url("fonts/Montserrat/Montserrat-Regular.ttf"), url("fonts/Montserrat/Montserrat-Bold.ttf"), url("fonts/Montserrat/Montserrat-Italic.ttf"); }
2020-08-04 20:06:39 +02:00
2020-08-04 23:36:40 +02:00
html {
height: 100%;
margin: 0;
padding: 0; }
body {
height: 100%;
margin: 0; }
2020-07-26 22:23:55 +02:00
.LP-Link {
color: #565656;
text-decoration: none;
2020-08-04 20:06:39 +02:00
font-family: Montserrat, Helvetica, sans-serif; }
2020-07-26 22:23:55 +02:00
.LP-Link:hover {
color: #C09F80; }
2020-08-04 20:06:39 +02:00
.LP-Link .LP-Paragraph {
font-family: Montserrat, Helvetica, sans-serif; }
.LP-Link .LP-Paragraph:hover {
2020-07-26 22:23:55 +02:00
color: #C09F80; }
2020-07-27 18:49:50 +02:00
.LP-Link__IconWrapper {
display: inline; }
2020-07-26 22:23:55 +02:00
.LP-Headline {
2020-08-02 15:57:19 +02:00
font-family: Montserrat, Helvetica, sans-serif;
2020-07-26 22:23:55 +02:00
color: #565656;
font-size: 1.7rem;
padding-top: 0px;
margin-top: 0px;
2020-07-27 18:49:50 +02:00
padding-bottom: 0px;
margin-bottom: 0px; }
.LP-Headline--main {
position: relative;
top: 2rem;
font-size: 2rem; }
2020-07-26 22:23:55 +02:00
.LP-Headline--inline {
display: inline; }
2020-08-02 15:57:19 +02:00
.LP-Paragraph {
2020-07-26 22:23:55 +02:00
color: black;
2020-08-02 15:57:19 +02:00
font-family: Crimson, Times, serif;
2020-07-26 22:23:55 +02:00
font-size: 1.2rem; }
.LP-Icon {
height: 20px;
width: 20px; }
.LP-Icon__List {
list-style-type: none;
display: inline-flex;
justify-content: space-between;
justify-items: stretch;
padding: 0; }
.LP-Icon__List .LP-Icon__Item {
padding: 0 3px; }
2020-08-02 15:57:19 +02:00
.LP-Button {
background-color: #C09F80;
color: #565656;
border: none;
padding: 8px 14px;
border-radius: 2px;
font-weight: bold; }
.LP-Button:active {
background-color: #76323F;
2020-08-03 17:29:39 +02:00
color: #f9f9f9; }
.LP-Button--cancel {
background-color: #f9f9f9; }
2020-08-02 15:57:19 +02:00
.LP-Form .LP-Form__Checkbox {
display: none; }
.LP-Form .LP-Form__CheckBox__CheckMark {
height: 1em;
width: 1em;
border: 1px solid black;
padding: 0 calc(.5em + 2px);
margin-right: .7em; }
.LP-Input {
display: flex;
flex-direction: column;
margin-bottom: -30px;
padding: 10px 0; }
.LP-Input .LP-Input__Field {
border: none;
border-bottom: 1px solid #565656;
padding: 8px;
margin-bottom: 30px; }
2020-08-03 17:29:39 +02:00
.LP-Input .LP-Input__Field:focus, .LP-Input .LP-Input__Field:active, .LP-Input .LP-Input__Field:invalid {
2020-08-02 15:57:19 +02:00
margin-bottom: 29px;
border-bottom: 2px solid #76323F;
background-color: #f9f9f9;
2020-08-03 17:29:39 +02:00
border-radius: 3px 3px 0 0;
box-shadow: none; }
2020-08-02 15:57:19 +02:00
.LP-Input .LP-Input__Label {
font-family: Montserrat, Helvetica, sans-serif;
font-size: 16px; }
.LP-Input .LP-Input__Message {
font-family: Montserrat, Helvetica, sans-serif;
font-style: italic;
font-size: 13px;
padding: 3px;
position: relative;
top: -30px; }
.LP-Input--error .LP-Input__Field {
margin-bottom: 25px;
border-bottom: 2px solid #76323F;
margin-bottom: 29px; }
.LP-Input--error .LP-Input__Message {
color: #76323F; }
.LP-Input--disabled .LP-Input__Field, .LP-Input--disabled .LP-Input__Field:disabled {
background-color: transparent;
border-bottom: 1px dashed #565656;
cursor: not-allowed; }
label + .LP-Input--disabled .LP-Input__Field, label + .LP-Input--disabled .LP-Input__Field:disabled {
color: red; }
.LP-Input--disabled .LP-Input__Field:focus, .LP-Input--disabled .LP-Input__Field:active, .LP-Input--disabled .LP-Input__Field:disabled:focus, .LP-Input--disabled .LP-Input__Field:disabled:active {
margin-bottom: 30px;
border-radius: 0; }
.LP-Input--disabled .LP-Input__Field ~ .LP-Input__Message, .LP-Input--disabled .LP-Input__Field:disabled ~ .LP-Input__Message {
visibility: hidden; }
.LP-Input--disabled .LP-Input__Label {
color: #565656; }
.LP-Image {
2020-08-03 17:29:39 +02:00
object-fit: cover;
width: 100%;
height: auto;
vertical-align: top; }
2020-08-02 15:57:19 +02:00
2020-07-26 22:23:55 +02:00
.LP-Logo {
max-width: 100%;
max-height: 100%;
width: auto;
object-fit: contain; }
2020-08-03 17:29:39 +02:00
.LP-Tag {
padding: 8px 14px;
background-color: #D7CEC7;
border-radius: 2px;
width: max-content; }
.LP-Tag .LP-Paragraph {
padding: 0;
margin: 0;
font-family: Montserrat, Helvetica, sans-serif;
font-size: 1em;
display: inline; }
2020-07-26 22:23:55 +02:00
.LP-Content {
2020-07-27 18:49:50 +02:00
padding: 35px; }
@media (max-width: 1290px) {
.LP-Content {
padding: 15px; } }
2020-07-26 22:23:55 +02:00
.LP-TextSection .LP-Text {
line-height: 1.4rem; }
2020-08-03 17:29:39 +02:00
.LP-PlaceTeaser {
2020-08-02 15:57:19 +02:00
width: 280px; }
2020-08-03 17:29:39 +02:00
.LP-PlaceTeaser .LP-PlaceTeaser__Image {
2020-08-02 15:57:19 +02:00
height: 165px;
2020-08-03 17:29:39 +02:00
width: 280px;
overflow: hidden; }
.LP-PlaceTeaser .LP-PlaceTeaser__Image .LP-Image {
max-width: unset;
max-height: unset;
object-fit: cover; }
.LP-PlaceTeaser .LP-PlaceTeaser__Meta {
2020-08-02 15:57:19 +02:00
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 10px; }
2020-08-03 17:29:39 +02:00
.LP-PlaceTeaser .LP-PlaceTeaser__Meta .LP-Paragraph {
2020-08-02 15:57:19 +02:00
font-family: Montserrat, Helvetica, sans-serif;
padding: 0;
margin: 0;
margin-top: 5px;
font-size: 0.9rem; }
2020-08-03 17:29:39 +02:00
.LP-PlaceTeaser .LP-PlaceTeaser__Meta .LP-Headline {
2020-08-02 15:57:19 +02:00
font-family: Montserrat, Helvetica, sans-serif;
color: #565656;
font-size: 1rem;
padding: 0px;
margin: 0px; }
2020-08-03 17:29:39 +02:00
.LP-PlaceTeaser .LP-PlaceTeaser__Description {
2020-08-02 15:57:19 +02:00
font-family: Roboto, Arial, sans-serif;
color: #565656;
display: none; }
2020-07-26 22:23:55 +02:00
2020-08-03 17:29:39 +02:00
@media (min-width: 650px) {
.LP-PlaceTeaser--extended {
display: flex;
flex-direction: row;
width: auto;
padding-right: 25px;
height: 165px; }
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta {
margin: 0;
padding: 5px;
padding-left: 25px;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start; }
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-PlaceTeaser__Info .LP-Headline {
font-size: 28px; }
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-PlaceTeaser__Icons {
margin-top: auto; }
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-PlaceTeaser__Icons ul {
padding: 0;
margin: 0; }
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Description {
display: block;
max-height: 55px;
overflow: hidden; }
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Image {
height: 165px;
width: 280px;
flex-shrink: 0;
flex-grow: 0; } }
.LP-TagList .LP-TagList__List {
2020-07-26 22:23:55 +02:00
list-style-type: none;
display: flex;
2020-07-27 23:23:52 +02:00
flex-wrap: wrap;
2020-07-26 22:23:55 +02:00
padding: 0;
margin: 0; }
2020-08-03 17:29:39 +02:00
.LP-TagList .LP-TagList__List .LP-TagList__Item {
margin: 6px; }
2020-07-26 22:23:55 +02:00
2020-08-04 20:06:39 +02:00
.LP-Menu {
border-left: 1px solid #C09F80; }
.LP-Menu .LP-Menu__List {
list-style-type: none;
display: flex;
flex-direction: row;
justify-content: space-around;
padding: 0;
margin: 0; }
.LP-Menu .LP-Menu__Item {
margin: 0;
text-align: center;
background-color: transparent; }
.LP-Menu .LP-Menu__Item .LP-Link {
display: block;
padding: 15px 0; }
.LP-Menu .LP-Link__Text {
color: #565656;
font-weight: bold;
text-shadow: 0px 0px 20px white; }
.LP-Menu .LP-Link__Text:hover {
color: #76323F; }
.LP-Menu--sidebar {
border: none;
2020-08-04 23:36:40 +02:00
min-width: 60px; }
2020-08-04 20:06:39 +02:00
.LP-Menu--sidebar .LP-Menu__List {
flex-direction: column; }
.LP-Menu--sidebar .LP-Menu__List .LP-Menu__Item {
text-align: left;
margin-bottom: 10px; }
.LP-Menu--sidebar .LP-Menu__List .LP-Menu__Item:last-child {
margin-bottom: 0; }
.LP-Menu--sidebar .LP-Menu__List .LP-Menu__Item .LP-Link:hover {
background-color: #f9f9f9; }
2020-07-26 22:23:55 +02:00
2020-08-03 17:29:39 +02:00
@media (max-width: 750px) {
2020-08-04 20:06:39 +02:00
.LP-Menu:not(.LP-Menu--sidebar) .LP-Menu__List {
2020-08-03 17:29:39 +02:00
display: flex;
flex-direction: row;
2020-08-04 20:06:39 +02:00
justify-content: flex-start; }
.LP-Menu:not(.LP-Menu--sidebar) .LP-Menu__List .LP-Menu__Item {
flex: 1 1 auto; } }
2020-07-26 22:23:55 +02:00
2020-08-03 17:29:39 +02:00
@media (max-width: 450px) {
.LP-Menu .LP-Menu__List {
justify-content: space-between; } }
2020-07-26 22:23:55 +02:00
2020-08-03 17:29:39 +02:00
.LP-Header {
display: flex;
align-items: center;
justify-content: space-between;
2020-08-04 23:36:40 +02:00
height: 60px;
border-bottom: 1px solid #C09F80; }
2020-08-04 20:06:39 +02:00
.LP-Header__Navigation {
flex-grow: 2; }
2020-08-03 17:29:39 +02:00
.LP-Header__Logo {
2020-08-04 23:36:40 +02:00
height: 45px;
2020-08-03 17:29:39 +02:00
margin: 25px;
object-fit: cover;
max-height: 100%;
2020-08-04 20:06:39 +02:00
overflow: hidden;
flex-shrink: 0; }
2020-08-03 17:29:39 +02:00
.LP-Header__Logo .LP-Image {
2020-08-04 23:36:40 +02:00
height: 100%; }
2020-08-03 17:29:39 +02:00
2020-08-04 20:06:39 +02:00
.LP-Header__UserInformation {
margin-right: 3%; }
.LP-Header__UserInformation .LP-Paragraph {
font-family: Montserrat, Helvetica, sans-serif;
white-space: nowrap; }
.LP-Header__UserInformation .LP-Link {
margin: 0 3px;
padding: 4px 4px; }
2020-08-03 17:29:39 +02:00
@media (max-width: 750px) {
.LP-Header__Logo {
2020-08-04 23:36:40 +02:00
width: 45px; }
2020-08-03 17:29:39 +02:00
.LP-Header__Logo .LP-Image {
object-position: 0 0;
object-fit: cover; } }
@media (max-width: 450px) {
.LP-Header__Logo {
display: none; }
.LP-Header__Navigation {
width: 100%; } }
.LP-PlaceGrid .LP-PlaceGrid__Grid {
2020-07-26 22:23:55 +02:00
margin: 0;
padding: 0;
list-style-type: none;
display: flex;
flex-direction: row;
flex-wrap: wrap; }
2020-08-03 17:29:39 +02:00
.LP-PlaceGrid .LP-PlaceGrid__Grid .LP-PlaceGrid__Item {
margin: 18px; }
.LP-PlaceGrid .LP-PlaceGrid__Grid .LP-Link .LP-PlaceTeaser:hover {
box-shadow: 0 0 2px #565656; }
2020-07-26 22:23:55 +02:00
2020-08-03 17:29:39 +02:00
.LP-PlaceList .LP-PlaceList__List {
2020-07-26 22:23:55 +02:00
list-style-type: none; }
2020-08-03 17:29:39 +02:00
.LP-PlaceList .LP-PlaceList__List .LP-Link .LP-Place:hover {
2020-08-02 15:57:19 +02:00
color: #565656;
background-color: #f9f9f9;
position: relative;
left: -2px; }
2020-08-03 17:29:39 +02:00
.LP-PlaceList .LP-PlaceList__List .LP-Link .LP-Place:hover > .LP-Place__Image {
2020-08-02 15:57:19 +02:00
border-left: 2px #565656 solid; }
2020-08-03 17:29:39 +02:00
.LP-PlaceList .LP-PlaceList__List .LP-PlaceList__Item {
2020-07-26 22:23:55 +02:00
max-width: 900px;
min-width: 450px;
2020-08-02 15:57:19 +02:00
margin: 18px 0; }
2020-07-26 22:23:55 +02:00
2020-07-27 18:49:50 +02:00
.LP-LinkList__List {
list-style-type: none;
display: grid;
2020-08-03 17:29:39 +02:00
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
2020-07-27 18:49:50 +02:00
margin: 0;
padding: 0; }
.LP-LinkList__List .LP-LinkList__Item {
border-left: 1px solid #C09F80;
width: 100%;
2020-08-03 17:29:39 +02:00
margin-top: 12px; }
2020-07-27 18:49:50 +02:00
.LP-LinkList__List .LP-LinkList__Item .LP-Link {
padding: 1em 0 1em 1em;
width: calc(100% - $-link-padding);
display: block;
color: #565656; }
.LP-LinkList__List .LP-LinkList__Item .LP-Link--iconized {
padding-top: 0;
padding-bottom: 1.1em; }
.LP-LinkList__List .LP-LinkList__Item .LP-Link--iconized:hover {
background-color: #ccc !important; }
2020-07-27 23:23:52 +02:00
.LP-LinkList__List .LP-LinkList__Item .LP-Link--iconized .LP-Text {
padding-top: .1em; }
2020-07-27 18:49:50 +02:00
.LP-LinkList__List .LP-LinkList__Item .LP-Link:hover {
background-color: #f9f9f9;
color: #76323F; }
.LP-LinkList__List .LP-LinkList__Item .LP-Link .LP-Text {
color: inherit; }
.LP-Link__Icon {
width: 2em;
height: 2em;
fill: #76323F;
line-height: 5em; }
.LP-LinkList__Item .LP-Link__Icon {
position: relative;
top: .7em;
margin-right: .6em; }
.LP-Footer {
margin-top: 75px;
width: 100%;
background-color: #565656;
padding: 25px; }
.LP-Footer .LP-LinkList__List {
display: flex;
align-items: center;
justify-content: center; }
.LP-Footer .LP-LinkList__List .LP-LinkList__Item {
border: none;
padding: 5px;
width: auto; }
.LP-Footer .LP-LinkList__List .LP-LinkList__Item .LP-Text {
color: #f9f9f9;
font-size: 17px; }
.LP-Footer .LP-LinkList__List .LP-LinkList__Item .LP-Link {
display: inline; }
.LP-Footer .LP-LinkList__List .LP-LinkList__Item .LP-Link:hover {
background-color: inherit; }
2020-08-03 17:29:39 +02:00
.LP-Form .LP-Form__Fieldset {
border: none; }
.LP-Form .LP-Form__Fieldset .LP-Form__Legend {
margin: 0;
padding: 0;
font-family: Montserrat, Helvetica, sans-serif;
font-size: 21px; }
.LP-Form .LP-Form__Fieldset .LP-Form__Composition {
display: flex;
flex-direction: row;
justify-content: space-between; }
.LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field {
flex: 3 1 100px;
padding: 6px 15px; }
.LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field--wider {
flex: 5 1; }
.LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field--wide {
flex: 4 1; }
.LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field--narrow {
flex: 2 0; }
.LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field--narrower {
flex: 1 0; }
2020-08-02 15:57:19 +02:00
@media (max-width: 650px) {
.LP-Form .LP-Form__Fieldset .LP-Form__Composition--breakable {
display: flex;
flex-direction: column;
justify-content: space-between; } }
@media (max-width: 450px) {
.LP-Form .LP-Form__Fieldset .LP-Form__Composition {
display: flex;
flex-direction: column;
justify-content: space-between; }
.LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field {
flex: 3 1 100px;
padding: 12px 15px; } }
2020-07-26 22:23:55 +02:00
.LP-MainContainer {
margin: 0 auto;
max-width: 1280px; }
2020-07-27 18:49:50 +02:00
.LP-HorizontalLine {
color: #565656; }
2020-08-03 17:29:39 +02:00
@media (max-width: 650px) {
.LP-MainContainer {
width: 100%; } }
2020-07-27 18:49:50 +02:00
.LP-PlaceOverview .LP-PlaceOverview__Info .LP-PlaceOveriew__Image {
width: 700px;
box-shadow: 0 0 10px #565656;
object-fit: cover;
2020-08-03 17:29:39 +02:00
object-position: 0 0;
2020-07-27 18:49:50 +02:00
float: right;
margin-left: 35px;
2020-08-03 17:29:39 +02:00
margin-bottom: 35px;
overflow: hidden; }
2020-07-27 18:49:50 +02:00
.LP-PlaceOverview .LP-PlaceOverview__Info .LP-PlaceOverView__Description {
padding: 0px;
position: relative;
top: -15px; }
2020-08-03 17:29:39 +02:00
.LP-PlaceOverview .LP-PlaceOverview__Info .LP-PlaceOverView__Description .LP-Headline {
position: relative;
2020-08-04 20:06:39 +02:00
top: 15px;
margin-bottom: 30px; }
2020-07-26 22:23:55 +02:00
.LP-PlaceOverview .LP-PlaceOverView__ImageList {
list-style-type: none;
2020-07-27 18:49:50 +02:00
display: grid;
2020-08-03 17:29:39 +02:00
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
2020-07-27 18:49:50 +02:00
margin: 0px;
padding: 0px; }
2020-08-03 17:29:39 +02:00
.LP-PlaceOverview .LP-PlaceOverView__ImageList .LP-PlaceOverView__ImageItem {
2020-07-27 18:49:50 +02:00
margin-top: 10px; }
2020-08-03 17:29:39 +02:00
.LP-PlaceOverview .LP-PlaceOverView__ImageList .LP-PlaceOverView__ImageItem .LP-Link {
overflow: hidden; }
.LP-PlaceOverview .LP-PlaceOverView__ImageList .LP-PlaceOverView__ImageItem .LP-Image {
box-shadow: 0 0 5px #565656;
height: 200px;
width: 290px;
object-fit: cover; }
@media (max-width: 1000px) {
2020-07-27 18:49:50 +02:00
.LP-PlaceOverview .LP-PlaceOverview__Info .LP-TextSection {
2020-08-03 17:29:39 +02:00
margin-top: 30px; }
2020-07-27 18:49:50 +02:00
.LP-PlaceOverview .LP-PlaceOverview__Info .LP-PlaceOveriew__Image {
float: none;
2020-08-03 17:29:39 +02:00
width: 100%;
height: auto;
2020-07-27 18:49:50 +02:00
margin: 0;
2020-08-03 17:29:39 +02:00
padding: 0; } }
2020-08-04 23:36:40 +02:00
.LP-Main {
display: flex;
flex-direction: row-reverse;
height: calc(100% - 61px); }
.LP-Main .LP-Main__Content {
flex-grow: 1;
width: calc(100% -300px);
min-height: 1px; }
.LP-Main .LP-Main__Navigation {
flex-shrink: 0;
width: 200px;
flex-grow: 0;
height: 100%;
border-right: 1px solid #C09F80; }