From 3a569b0a6afc32bfadd1129f4ccbd2c442546f63 Mon Sep 17 00:00:00 2001 From: ulrich <ulrich> Date: Tue, 19 May 2020 14:34:50 +0000 Subject: [PATCH] Stile verfeinert, Doku angepasst --- web/ui/stile.css | 361 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 351 insertions(+), 10 deletions(-) diff --git a/web/ui/stile.css b/web/ui/stile.css index fcc6b19..6c6c3b2 100644 --- a/web/ui/stile.css +++ b/web/ui/stile.css @@ -1,27 +1,366 @@ +/* + Created on : 24.01.2020, 09:08:45 + Author : ulrich +*/ + +/* aus App-Vorlage */ html, body { + margin: 0; + padding: 0; + height: 100%; /* Anmerkung 2 */ + font-size: larger; + font-family: 'Roboto Condensed'; + -webkit-text-size-adjust: none; + /* touch-action: manipulation;*/ +} +body { + min-height: 0; /* Anmerkung 1 */ + display: flex; + flex-flow: column; +} +.inhalt { + display: flex; + flex-flow: row; + height: 100%; /* Anmerkung 2 */ + min-height: 0; /* Anmerkung 1 */ + /* background-color: #ededed; */ + overflow: hidden; +} +.nord { + background-color: #eee; + display: flex; + flex-flow: row; + height: 2em; + justify-content: space-between; + align-items: center; + /*align-self: stretch;*/ +} +.sued { + height: 1.5em; + overflow: hidden; + transition: all 0.3s ease-in; + background-color: lightgray; +} +.west { + flex-grow: 0; + flex-shrink: 0; + flex-basis: 4em; + background-color: white; + transition: all 0.3s ease-in; + overflow: hidden; + white-space: nowrap; +} +.ost { + flex-grow: 0; + flex-shrink: 0; + flex-basis: 6em; + transition: all 0.3s ease-in; + background-color: antiquewhite; + overflow: hidden; +} +.zentrum-behaelter { + display: flex; + flex-flow: column; + /* background-color: #eaeaea; */ height: 100%; + width: 100%; + padding: 0 0.4em 0 0.4em; +} + +.zentrum { + width: 100%; + height: 100%; + overflow-x: hidden; + overflow-y: auto; +} + +.zentraler-inhalt { + padding: 0.5em; + overflow-x: hidden; + overflow-y: auto; +} + +.zentrum-liste { + overflow-x: hidden; + overflow-y: auto; +} +/* + Anmerkungen: + 1.) min.height: 0 fuer body und inhalt ist gegen einen Bug, vgl. + http://stackoverflow.com/questions/33859811/understanding-flexbox-and-overflowauto + 2.) height 100% fuer html, body und inhalt sorgt dafuer, dass sich alles + immer ueber das gesamte Browserfenster ausdehnt. +*/ + +/* Kopfleiste */ + +.app-titel { + margin-left: 0.1em; + color: black; +} + +.zurueck-btn, .zurueck-btn:focus { + border: 0; + margin: 0 1.2em 0 0.6em; + padding: 0; + color: black; +} + +.zurueck-btn:hover { + color: #888; +} + +.top-btn-area { + /*margin-left: auto;*/ + margin: 0 1em 0 0; +} + +.top-btn { + margin: 0; + padding: 0 0.2em 0 0.2em; + height: 28px; + line-height: 24px; + text-align: center; + font-size: large; + background-color: white; + /* width: 1em; */ +} + +.del-user-btn { + margin: 0 1.5em 0 1em; + margin-left: auto; + height: 32px; + line-height: 12px; + text-align: center; + font-size: medium; +} + +.danger-btn { + background-color: #ffcccc; +} + +/* Nutzerliste */ + +.nutzer-liste-eintrag { + margin: 0; + padding: 0.3em 0 0 0; + cursor: pointer; +} + +.nutzer-gewaehlt { + background-color: lightsteelblue; +} + +/* ... */ + +.pointer-cursor { + cursor: pointer; +} + +.breadcrumb { + background-color: beige; + padding: 0.2em; + font-size: medium; +} + +/* Dialoge (Info, Neuer Nutzer, ..) */ + +.dialog { + display: flex; + flex-flow: column; + position: relative; + transition: all 0.3s ease-in; + height: 100%; + /* white-space: nowrap; */ +} + +.dlg-behaelter { + display: flex; + flex-flow: column; + /* line-height: 1.6; */ + height: 100%; + padding: 0.4em; +} + + +.dlg-info { + display: flex; + flex-flow: column; + background-color: #dcf2fb; /* blau */ + padding: 0.4em; +} + +.dlg-info-app-titel { + margin-bottom: 0.4em; +} + +.nutzer-form { + padding: 0.3em; +} + +.nutzer-eingabe { + width: 100%; + margin: 0.3em; +} + +.form-button-footer { + padding: 0.4em; +} + +.bold-text { + font-weight: bold; +} + + +/* + Close Button + + <div> + <span class="close-btn">✖</span> + </div> +*/ + +.close-btn { + position: absolute; + top: 0px; + right: 0.4em; + margin: 0; + padding: 0; + font-size: 1.3em; + color: #b8b8b8; +} + +/* Nutzer-Rollen */ + +.rollen-ansicht-titel { + display: flex; + flex-flow: row; + align-items: center; + align-self: stretch; + margin: 0; + padding: 0; + vertical-align: central; +} + +.rollen-ueberschrift { + margin: 1.2em 0 0.2em 0; + padding: 0; +} + +.rollen-behaelter { margin: 0; padding: 0; } -h1 { - margin: 0; - padding: 0; +.granted-role-btn { + height: 2.5em; + padding: 0 0.5em; + margin: 0.2em; + text-transform: none; + background-color: #fdfbe2; + font-size: medium; } -#inhalt { - height: 100%; +.avl-role-btn { + height: 2.5em; + padding: 0 0.5em; + margin: 0.2em; + background-color: #eee; + text-transform: none; + font-size: medium; } -#user-list-form { - height: 20em; +@media (min-width: 800px) { + .zentrum-behaelter { + padding: 0 1em 0 1em; + } + .zentrum-behaelter, .nord { + margin: 0 10% 0 10%; + } +} +@media (min-width: 1200px) { + .zentrum-behaelter { + padding: 0 1.5em 0 1.5em; + } + .zentrum-behaelter, .nord { + margin: 0 15% 0 15%; + } } -#nutzerliste { - height: 5em; +@font-face { + font-family: 'Roboto Condensed'; + src: url('/lib/fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf') format('truetype'); + font-weight: normal; + font-style: normal; } +/* Font für Piktogramme mit Fontello aus FontAwesome erzeugt */ + +@font-face { + font-family: 'picto'; + src: url('../font/picto.eot?52325148'); + src: url('../font/picto.eot?52325148#iefix') format('embedded-opentype'), + url('../font/picto.woff2?52325148') format('woff2'), + url('../font/picto.woff?52325148') format('woff'), + url('../font/picto.ttf?52325148') format('truetype'), + url('../font/picto.svg?52325148#picto') format('svg'); + font-weight: normal; + font-style: normal; +} +/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */ +/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */ +/* +@media screen and (-webkit-min-device-pixel-ratio:0) { + @font-face { + font-family: 'picto'; + src: url('../font/picto.svg?52325148#picto') format('svg'); + } +} +*/ + + [class^="icon-"]:before, [class*=" icon-"]:before { + font-family: "picto"; + font-style: normal; + font-weight: normal; + speak: none; + + display: inline-block; + text-decoration: inherit; + width: 1em; + margin-right: .2em; + text-align: center; + /* opacity: .8; */ + + /* For safety - reset parent styles, that can break glyph codes*/ + font-variant: normal; + text-transform: none; + + /* fix buttons height, for twitter bootstrap */ + line-height: 1em; + + /* Animation center compensation - margins should be symmetric */ + /* remove if not needed */ + margin-left: .2em; + + /* you can be more comfortable with increased icons size */ + /* font-size: 120%; */ + + /* Font smoothing. That was taken from TWBS */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + + /* Uncomment for 3D effect */ + /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ +} + +.icon-user:before { content: '\e800'; } /* '' */ +.icon-cog:before { content: '\e801'; } /* '' */ +.icon-off:before { content: '\e802'; } /* '' */ +.icon-user-plus:before { content: '\f234'; } /* '' */ +.icon-user-times:before { content: '\f235'; } /* '' */ + +/* von Skeleton */ /* Buttons –––––––––––––––––––––––––––––––––––––––––––––––––– */ @@ -82,6 +421,7 @@ background-color: #1EAEDB; border-color: #1EAEDB; } + /* Forms –––––––––––––––––––––––––––––––––––––––––––––––––– */ input[type="email"], @@ -141,4 +481,5 @@ label > .label-body { display: inline-block; margin-left: .5rem; - font-weight: normal; } \ No newline at end of file + font-weight: normal; } + -- Gitblit v1.9.3