Bedienoberfläche für Webradio
ulrich
2018-01-07 576085b482f4579ce47ad0590df0073560eec0bb
commit | author | age
9f0d54 1
df379b 2 /*
U 3   app-layout anfang
4
5   Aus dem app-layout-Projekt übernommen und
6   teilweise angepasst
7 */
9f0d54 8
623a61 9 html, body {
9f0d54 10   margin: 0;
U 11   padding: 0;
12   height: 100%; /* Anmerkung 2 */
13   font-size: initial;
623a61 14   /* font-size: 1.5em; */   /* currently ems cause chrome bug misinterpreting rems on body element */
U 15   line-height: 1.6;
16   font-weight: 400;
9f0d54 17   font-family: RobotoCondensed;
623a61 18 }
9f0d54 19 body {
U 20   min-height: 0; /* Anmerkung 1 */
21   display: flex;
22   flex-flow: column;
23 }
24 .inhalt {
851c9c 25   display: flex;
U 26   flex-flow: row;
9f0d54 27   height: 100%; /* Anmerkung 2 */
U 28   min-height: 0; /* Anmerkung 1 */
623a61 29 }
9f0d54 30 .nord {
U 31   background-color: lightgray;
32   display: flex;
33   flex-flow: row;
34   height: 1.6em;
35 }
36 .sued {
37   background-color: lightgray;
38 }
623a61 39 .west {
9f0d54 40   flex-grow: 0;
U 41   flex-shrink: 0;
df379b 42   flex-basis: 4em;
9f0d54 43   background-color: antiquewhite;
623a61 44   transition: all 0.3s ease-in;
U 45   overflow: hidden;
46   white-space: nowrap;
9f0d54 47   background-color: #f7f7f7;
623a61 48 }
9f0d54 49 .ost {
U 50   flex-grow: 0;
51   flex-shrink: 0;
52   flex-basis: 10em;
53   background-color: antiquewhite;
54 }
55 .zentrum {
56   display: flex;
57   flex-flow: row;
58   overflow-x: hidden;
59   margin: 0;
60 }
61
62 /*
63   Anmerkungen:
64   1.) min.height: 0 fuer body und inhalt ist gegen einen Bug, vgl.
65       http://stackoverflow.com/questions/33859811/understanding-flexbox-and-overflowauto
66   2.) height 100% fuer html, body und inhalt sorgt dafuer, dass sich alles
67       immer ueber das gesamte Browserfenster ausdehnt.
68 */
69
df379b 70 /* app-layout ende */
623a61 71
U 72 #app-titel {
73   padding-left: 2em;
74 }
75
76 .pointer-cursor {
77   cursor: pointer;
78 }
79
9f0d54 80 .zentrum-behaelter {
623a61 81   display: flex;
9f0d54 82   flex-flow: column;
U 83 }
84
576085 85 .inline-label {
U 86   display: inline-block;
87   width: 3em;
88   text-align: right;
89 }
90
9f0d54 91 /* Dialogfeld */
U 92
93 .dialog {
94   position: relative;
95 }
96
dc0449 97 .dlg-behaelter {
U 98   padding: 0.4em;
99 }
100
101 .dlg-info {
102   background-color: #dcf2fb; // blau
103   padding: 0.4em;
104 }
105
106 .nachricht {
107   background-color: #fffbde; // gelb
108 }
109
110 .form-button-footer {
111   text-align: right;
112 }
113
ffc872 114 .dlg-sender-edit, .dlg-sender-neu {
U 115   background-color: #f6f6f6; // grau
dc0449 116 }
9f0d54 117
e6c850 118 .sender-eingabe {
U 119   width: 80%;
120 }
121
9f0d54 122 /*
U 123   Close Button
124
125   <div>
126     <span class="close-btn">&#10006;</span>
127   </div>
128 */
129
130 .close-btn {
131   position: absolute;
132   top: 0px;
133   right: 0.4em;
623a61 134   margin: 0;
9f0d54 135   padding: 0;
U 136   font-size: 1.3em;
137   color: #b8b8b8;
36646e 138 }
U 139
576085 140 /* Abspieler */
U 141
142 .abspieler-behaelter {
143   display: flex;
144   flex-flow: row;
145   padding: 0.6em;
146 }
147
148 .abspieler-label {
149   display: inline-block;
150   width: 4.5em;
151   padding-right: 0.2em;
152   text-align: right;
153 }
154
155 .abspieler-auswahl {
156   width: 70%;
157 }
47a970 158 /* Sender */
U 159
160 .sender-behaelter {
161   display: flex;
162   flex-flow: column;
163 }
164
165 .sender {
166   display: flex;
167   flex-flow: row;
168   padding: 0.4em;
169   flex-wrap: wrap;
170   background-color: #eaeaea;
171 }
172
173 .sender-kachel {
174   display: flex;
175   flex-flow: column;
176   align-items: center;
177   margin: 0.4em;
178   padding: 0.4em;
179   background-color: white;
136220 180   cursor: pointer;
47a970 181 }
U 182
183 .sender-name {
184   font-family: RobotoCondensedBold;
185 }
186
187 .sender-bild {
188   width: 5em;
189   background-color: #ebe6e6;
190 }
191
9f0d54 192 /* Menü-Erscheinung */
U 193
194 .app-menu-kopf {
195   font-family: Oswald;
196 }
197
851c9c 198 /* fonts */
623a61 199
U 200 @font-face {
851c9c 201     font-family: 'Amethysta';
U 202     font-style: normal;
203     font-weight: 700;
204     src: url(/lib/fonts/Amethysta/Amethysta-Regular.ttf) format('truetype');
623a61 205 }
851c9c 206 @font-face {
U 207     font-family: 'Oswald';
208     font-style: normal;
209     font-weight: 700;
210     src: url(/lib/fonts/Oswald/Oswald-Regular.ttf) format('truetype');
211 }
212 @font-face {
213     font-family: 'OswaldBold';
214     font-weight: bold;
215     src: url(/lib/fonts/Oswald/Oswald-Bold.ttf) format('truetype');
216 }
217 @font-face {
218     font-family: 'RobotoCondensed';
219     font-weight: normal;
220     src: url(/lib/fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf) format('truetype');
221 }
222 @font-face {
223     font-family: 'RobotoCondensedBold';
224     font-weight: bold;
225     src: url(/lib/fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf) format('truetype');
226 }