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