From d1325f92287ca6227ed35febde1a30d71ca3cba4 Mon Sep 17 00:00:00 2001 From: ulrich <undisclosed> Date: Sun, 21 Jan 2018 17:01:16 +0000 Subject: [PATCH] Stil Abspieler-Auswahl angepasst --- app.css | 297 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 286 insertions(+), 11 deletions(-) diff --git a/app.css b/app.css index 59ca156..bfceca5 100644 --- a/app.css +++ b/app.css @@ -1,36 +1,305 @@ + +/* + app-layout anfang + + Aus dem app-layout-Projekt übernommen und + teilweise angepasst +*/ + html, body { - font-size: 10pt; + margin: 0; + padding: 0; + height: 100%; /* Anmerkung 2 */ + font-size: large; + /* font-size: initial; */ /* font-size: 1.5em; */ /* currently ems cause chrome bug misinterpreting rems on body element */ line-height: 1.6; font-weight: 400; - /* font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; */ + font-family: RobotoCondensed; } - -.nord { +body { + min-height: 0; /* Anmerkung 1 */ + display: flex; + flex-flow: column; +} +.inhalt { display: flex; flex-flow: row; - height: 2em; + height: 100%; /* Anmerkung 2 */ + min-height: 0; /* Anmerkung 1 */ } - +.nord { + background-color: lightgray; + display: flex; + flex-flow: row; + height: 2.5em; + align-items: center; +} +.sued { + background-color: lightgray; +} .west { + flex-grow: 0; + flex-shrink: 0; + flex-basis: 4em; + background-color: antiquewhite; transition: all 0.3s ease-in; overflow: hidden; white-space: nowrap; + background-color: #f7f7f7; +} +.ost { + flex-grow: 0; + flex-shrink: 0; + flex-basis: 10em; + background-color: antiquewhite; +} +.zentrum { + display: flex; + flex-flow: row; + overflow-x: hidden; + margin: 0; +} + +/* + 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. +*/ + +/* app-layout ende */ + +#nav-menu { + /* padding-top: 0.5em;*/ + width: 1.8em; } #app-titel { - padding-left: 2em; + padding-left: 1em; } .pointer-cursor { cursor: pointer; } -.zentrum { +.sendersuche { + padding-left: 0.5em; +} + +/* aus Skeleton (leicht angepasst) */ + +/* Forms +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +input[type="email"], +input[type="number"], +input[type="search"], +input[type="text"], +input[type="tel"], +input[type="url"], +input[type="password"], +textarea, +select { + height: 38px; + padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */ + background-color: #fff; + border: 1px solid #D1D1D1; + border-radius: 4px; + box-shadow: none; + box-sizing: border-box; + font-family: RobotoCondensed; + font-size: 0.8em; +} +/* Removes awkward default styles on some inputs for iOS */ +input[type="email"], +input[type="number"], +input[type="search"], +input[type="text"], +input[type="tel"], +input[type="url"], +input[type="password"], +textarea { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; } +textarea { + min-height: 65px; + padding-top: 6px; + padding-bottom: 6px; } +input[type="email"]:focus, +input[type="number"]:focus, +input[type="search"]:focus, +input[type="text"]:focus, +input[type="tel"]:focus, +input[type="url"]:focus, +input[type="password"]:focus, +textarea:focus, +select:focus { + border: 1px solid #33C3F0; + outline: 0; } +label, +legend { + display: block; + margin-bottom: .5rem; +/* font-weight: 600; */ } +fieldset { + padding: 0; + border-width: 0; } +input[type="checkbox"], +input[type="radio"] { + display: inline; } +label > .label-body { + display: inline-block; + margin-left: .5rem; + font-weight: normal; } + + +/* Buttons +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.button, +button, +input[type="submit"], +input[type="reset"], +input[type="button"] { + display: inline-block; + height: 38px; + padding: 0 30px; + color: #555; + text-align: center; + font-size: 11px; + font-weight: 600; + line-height: 38px; + letter-spacing: .1rem; + text-transform: uppercase; + text-decoration: none; + white-space: nowrap; + background-color: transparent; + border-radius: 4px; + border: 1px solid #bbb; + cursor: pointer; + box-sizing: border-box; } +.button:hover, +button:hover, +input[type="submit"]:hover, +input[type="reset"]:hover, +input[type="button"]:hover, +.button:focus, +button:focus, +input[type="submit"]:focus, +input[type="reset"]:focus, +input[type="button"]:focus { + color: #333; + border-color: #888; + outline: 0; } +.button.button-primary, +button.button-primary, +input[type="submit"].button-primary, +input[type="reset"].button-primary, +input[type="button"].button-primary { + color: #FFF; + background-color: #33C3F0; + border-color: #33C3F0; } +.button.button-primary:hover, +button.button-primary:hover, +input[type="submit"].button-primary:hover, +input[type="reset"].button-primary:hover, +input[type="button"].button-primary:hover, +.button.button-primary:focus, +button.button-primary:focus, +input[type="submit"].button-primary:focus, +input[type="reset"].button-primary:focus, +input[type="button"].button-primary:focus { + color: #FFF; + background-color: #1EAEDB; + border-color: #1EAEDB; } + +/* Ende Skeleton */ + +.zentrum-behaelter { + display: flex; + flex-flow: column; +} + +.inline-label { + display: inline-block; + width: 4em; + text-align: right; +} + +/* Dialogfeld */ + +.dialog { + position: relative; +} + +.dlg-behaelter { + padding: 0.4em; +} + +.dlg-info { + background-color: #dcf2fb; // blau + padding: 0.4em; +} + +.nachricht { + background-color: #fffbde; // gelb +} + +.form-button-footer { + text-align: right; +} + +.dlg-sender-edit, .dlg-sender-neu, .dlg-abspieler-neu { + background-color: #f6f6f6; // grau +} + +.sender-eingabe, .abspieler-eingabe { + width: 80%; + margin-left: 0.4em; +} + +/* + 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; +} + +/* Abspieler */ + +.abspieler-behaelter { display: flex; flex-flow: row; - overflow-x: hidden; - margin: 0; + padding: 0.6em; +} + +.abspieler-lb { + width: 4.5em; + padding-right: 0.2em; +} + +.abspieler-auswahl { + width: 70%; + margin-left: 0.4em; +} + +#abspielen-stoppen { + margin-left: 0.4em; + width: 2em; + font-size: 0.8em; + padding: 0 0 0 0.3em; } /* Sender */ @@ -46,7 +315,6 @@ padding: 0.4em; flex-wrap: wrap; background-color: #eaeaea; - width: 100%; } .sender-kachel { @@ -56,6 +324,7 @@ margin: 0.4em; padding: 0.4em; background-color: white; + cursor: pointer; } .sender-name { @@ -67,6 +336,12 @@ background-color: #ebe6e6; } +/* Menü-Erscheinung */ + +.app-menu-kopf { + font-family: Oswald; +} + /* fonts */ @font-face { -- Gitblit v1.9.3