diff --git a/templates/default-layout.lucius b/templates/default-layout.lucius index c847f086e..592a45b1d 100644 --- a/templates/default-layout.lucius +++ b/templates/default-layout.lucius @@ -254,3 +254,101 @@ a.btn.btn-info:hover, .btn.btn-info:hover { background-color: var(--color-grey) } + +/* GENERAL TABLE STYLES */ +.table { + margin: 21px 0; + width: 100%; +} + +.table--striped { + + .table__row:not(.no-stripe):nth-child(even) { + background-color: rgba(0, 0, 0, 0.03); + } +} + +.table--hover { + + .table__row:not(.no-hover):not(.table__row--head):hover { + background-color: rgba(0, 0, 0, 0.07); + } +} + +/* SCROLLTABLE */ +.scrolltable { + overflow: auto; +} + +/* TABLE DESIGN */ +.table__row { + + /* TODO: move outside of table__row as soon as tds and ths get their own class */ + /* .table__td, .table__th { */ + td, th { + padding-top: 14px; + padding-bottom: 10px; + padding-left: 10px; + padding-right: 10px; + max-width: 300px; + } + + /* .table__td { */ + td { + font-size: 16px; + color: #808080; + line-height: 1.4; + vertical-align: top; + } + + /* .table__th { */ + th { + background-color: var(--color-dark); + position: relative; + font-size: 16px; + color: #fff; + line-height: 1.4; + padding-top: 10px; + padding-bottom: 10px; + font-weight: bold; + text-align: left; + } +} + +@media (max-width: 1200px) { + + .table th { + padding: 4px 6px; + } +} + +.table__td-content { + max-height: 100px; + overflow-y: auto; +} + +.table__th-link { + color: white; + font-weight: bold; + + &:hover { + color: inherit; + } +} + +.table--vertical { + + th { + background-color: transparent; + color: var(--color-font); + width: 170px; + text-align: right; + padding-right: 15px; + font-weight: 400; + } + + td { + font-weight: 600; + color: var(--color-font); + } +} diff --git a/templates/dsgvDisclaimer.hamlet b/templates/dsgvDisclaimer.hamlet index 21817fcee..798221e4d 100644 --- a/templates/dsgvDisclaimer.hamlet +++ b/templates/dsgvDisclaimer.hamlet @@ -1,5 +1,5 @@ -
-
+
+

Hinweis zum Datenschutz

diff --git a/templates/dsgvDisclaimer.lucius b/templates/dsgvDisclaimer.lucius new file mode 100644 index 000000000..96cf818dc --- /dev/null +++ b/templates/dsgvDisclaimer.lucius @@ -0,0 +1,50 @@ +.notification { + position: relative; + border-radius: 3px; + padding: 10px 20px 20px; + margin: 40px 0; + color: var(--color-lighter); + box-shadow: 0 0 4px 2px inset currentColor; + padding-left: 20%; + color: #318dc5 ; + + &::before { + content: 'i'; + position: absolute; + display: flex; + left: 0; + top: 0; + height: 100%; + width: 20%; + font-size: 100px; + align-items: center; + justify-content: center; + } +} + +@media (max-width: 768px) { + + .notification { + + padding-left: 40px; + + &::before { + height: auto; + width: 45px; + font-size: 40px; + top: 15px; + } + } +} + +.notification-danger { + color: #c51919 ; + + &::before { + content: '!'; + } +} + +.notification__content { + color: var(--color-font); +} diff --git a/templates/multiFileField.hamlet b/templates/multiFileField.hamlet index a64e59f9c..7ae3ff99c 100644 --- a/templates/multiFileField.hamlet +++ b/templates/multiFileField.hamlet @@ -17,4 +17,4 @@ $# new files

? -