From 78789c299fae8b826fcae8209a240f2bfbaf906a Mon Sep 17 00:00:00 2001 From: ulrich <undisclosed> Date: Mon, 08 Jan 2018 19:19:37 +0000 Subject: [PATCH] Gestaltung weiter angepasst, bestimmte Skeleton-Stile übergenommen --- data/tpl/abspieler.tpl | 2 app.css | 137 ++++++++++++++++++++++++++++++++++++++++++--- README.md | 2 3 files changed, 127 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index fead4ec..44c748c 100644 --- a/README.md +++ b/README.md @@ -292,5 +292,3 @@ #### Abspieler löschen Noch nicht realisiert. - -. diff --git a/app.css b/app.css index 0629b71..1716303 100644 --- a/app.css +++ b/app.css @@ -73,7 +73,7 @@ #nav-menu { /* padding-top: 0.5em;*/ - width: 2em; + width: 1.6em; } #app-titel { @@ -85,24 +85,136 @@ } .sendersuche { - padding-left: 1em; + padding-left: 0.5em; } -input[type="search"] { - height: 1.6em; - padding: 0; - /*padding: 6px 10px;*/ /* The 6px vertically centers text on FF, ignored by Webkit */ +/* 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-size: large; - - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; + 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; @@ -183,6 +295,9 @@ #abspielen-stoppen { margin-left: 0.4em; + width: 2em; + font-size: 0.8em; + padding: 0 0 0 0.3em; } /* Sender */ diff --git a/data/tpl/abspieler.tpl b/data/tpl/abspieler.tpl index efa40a5..c422da4 100644 --- a/data/tpl/abspieler.tpl +++ b/data/tpl/abspieler.tpl @@ -6,4 +6,4 @@ {{/inhalt}} {{/abspielerliste}} </select> -<button type="button" id="abspielen-stoppen">Stopp</button> +<button type="button" id="abspielen-stoppen">■</button> -- Gitblit v1.9.3