Bedienoberfläche für Webradio
ulrich
2018-01-06 96834e9b5bba53df9e63dd02c9cd0a43b6bcbb18
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
85 /* Dialogfeld */
86
87 .dialog {
88   position: relative;
89 }
90
dc0449 91 .dlg-behaelter {
U 92   padding: 0.4em;
93 }
94
95 .dlg-info {
96   background-color: #dcf2fb; // blau
97   padding: 0.4em;
98 }
99
100 .nachricht {
101   background-color: #fffbde; // gelb
102 }
103
104 .form-button-footer {
105   text-align: right;
106 }
107
ffc872 108 .dlg-sender-edit, .dlg-sender-neu {
U 109   background-color: #f6f6f6; // grau
dc0449 110 }
9f0d54 111
U 112 /*
113   Close Button
114
115   <div>
116     <span class="close-btn">&#10006;</span>
117   </div>
118 */
119
120 .close-btn {
121   position: absolute;
122   top: 0px;
123   right: 0.4em;
623a61 124   margin: 0;
9f0d54 125   padding: 0;
U 126   font-size: 1.3em;
127   color: #b8b8b8;
36646e 128 }
U 129
47a970 130 /* Sender */
U 131
132 .sender-behaelter {
133   display: flex;
134   flex-flow: column;
135 }
136
137 .sender {
138   display: flex;
139   flex-flow: row;
140   padding: 0.4em;
141   flex-wrap: wrap;
142   background-color: #eaeaea;
143 }
144
145 .sender-kachel {
146   display: flex;
147   flex-flow: column;
148   align-items: center;
149   margin: 0.4em;
150   padding: 0.4em;
151   background-color: white;
136220 152   cursor: pointer;
47a970 153 }
U 154
155 .sender-name {
156   font-family: RobotoCondensedBold;
157 }
158
159 .sender-bild {
160   width: 5em;
161   background-color: #ebe6e6;
162 }
163
9f0d54 164 /* Menü-Erscheinung */
U 165
166 .app-menu-kopf {
167   font-family: Oswald;
168 }
169
851c9c 170 /* fonts */
623a61 171
U 172 @font-face {
851c9c 173     font-family: 'Amethysta';
U 174     font-style: normal;
175     font-weight: 700;
176     src: url(/lib/fonts/Amethysta/Amethysta-Regular.ttf) format('truetype');
623a61 177 }
851c9c 178 @font-face {
U 179     font-family: 'Oswald';
180     font-style: normal;
181     font-weight: 700;
182     src: url(/lib/fonts/Oswald/Oswald-Regular.ttf) format('truetype');
183 }
184 @font-face {
185     font-family: 'OswaldBold';
186     font-weight: bold;
187     src: url(/lib/fonts/Oswald/Oswald-Bold.ttf) format('truetype');
188 }
189 @font-face {
190     font-family: 'RobotoCondensed';
191     font-weight: normal;
192     src: url(/lib/fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf) format('truetype');
193 }
194 @font-face {
195     font-family: 'RobotoCondensedBold';
196     font-weight: bold;
197     src: url(/lib/fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf) format('truetype');
198 }