]> git.mxchange.org Git - friendica.git/blob - view/theme/vier/mobile.css
rework autocomplete: some cleanup and docu
[friendica.git] / view / theme / vier / mobile.css
1 aside, header, #nav-events-link, #search-box, #nav-admin-link, #activitiy-by-date-tab, #shared-links-tab,
2 .wall-item-location {
3   display: none;
4 }
5
6 .hide-comments-outer {
7   width: calc(100% - 105px);
8 }
9
10 section {
11   box-sizing: border-box;
12   left: 0px;
13   width: 100%;
14   max-width: 100%;
15   padding: 5px;
16 }
17
18 body, section, nav .nav-menu, div.pager, ul.tabs {
19   font-size: 16px;
20 }
21
22 .wall-item-container .wall-item-ago, .wall-item-network,.type-link blockquote, .type-video blockquote {
23   font-size: 13px;
24 }
25
26 nav {
27   min-width: 100%;
28 }
29
30 .wall-item-container .wall-item-content {
31   max-width: 100%;
32   overflow: hidden;
33   text-overflow: ellipsis;
34 /*  margin-left: -70px;
35   padding-top: 25px; */
36 }
37
38 nav ul {
39     margin-left: 0px;
40 }
41
42
43 .wall-item-container .wall-item-content img,
44 .children .wall-item-container .wall-item-item .wall-item-content img,
45 .wall-item-container .wall-item-content .type-link img.attachment-image, .type-link img.attachment-image, .type-video img.attachment-image {
46   max-width: 650px;
47 }
48
49 @media screen and (max-width: 800px) {
50   .wall-item-container .wall-item-content img,
51   .children .wall-item-container .wall-item-item .wall-item-content img,
52   .wall-item-container .wall-item-content .type-link img.attachment-image, .type-link img.attachment-image, .type-video img.attachment-image {
53     max-width: 450px;
54   }
55 }
56
57 @media screen and (max-width: 600px) {
58   .wall-item-container .wall-item-content img,
59   .children .wall-item-container .wall-item-item .wall-item-content img,
60   .wall-item-container .wall-item-content .type-link img.attachment-image, .type-link img.attachment-image, .type-video img.attachment-image {
61     max-width: 350px;
62   }
63   a.desktop-view { display: none; }
64   a.mobile-view { display: initial; }
65   #nav-apps-link { display: none; }
66 }
67
68 @media screen and (max-width: 480px) {
69   .wall-item-container .wall-item-content img,
70   .wall-item-container .wall-item-content .type-link img.attachment-image, .type-link img.attachment-image, .type-video img.attachment-image {
71     max-width: 200px;
72   }
73   /* fix img width in threaded view - maybe there exists a better possibility to do this 
74     maybe this needs also to be done for tablet view*/
75   .children .wall-item-container .wall-item-item .wall-item-content img {
76     max-width: 100%;
77   }
78   iframe {
79     max-width: 100%;
80   }
81
82   /* the top-nav notfication menu
83     Note: the device needs a min display width of 320px */
84   #nav-notifications-menu {
85     width: 270px;
86   }
87 }
88
89 .wall-item-container.thread_level_2,
90 .wall-item-container.thread_level_3,
91 .wall-item-container.thread_level_4,
92 .wall-item-container.thread_level_5,
93 .wall-item-container.thread_level_6,
94 .wall-item-container.thread_level_7 {
95   margin-left: 0;
96   width: calc(100% - 10px);
97 }
98
99 .wall-item-container.thread_level_2 .wall-item-content,
100 .wall-item-container.thread_level_3 .wall-item-content,
101 .wall-item-container.thread_level_4 .wall-item-content,
102 .wall-item-container.thread_level_5 .wall-item-content,
103 .wall-item-container.thread_level_6 .wall-item-content,
104 .wall-item-container.thread_level_7 .wall-item-content {
105   max-width: 100%;
106 }
107
108 .wall-item-container .wall-item-info { width: auto; }
109 .contact-photo-wrapper { width: 55px; }
110 .wwto { left: 0px; }
111
112 /* aside in/out */
113 .mobile-aside-toggle {
114         display: block !important;
115 }
116 .mobile-aside-toggle a {
117         line-height: 35px;
118         padding: 0 10px;
119 }
120 .mobile-aside-toggle a i {
121         font-size: 22px;
122         color: #CCC;
123 }
124
125 aside {
126         display: block;
127         position: fixed;
128         max-width: 400px;
129         width: 80%;
130         left: -100%;
131         -webkit-transition: left 0.5s;
132         -moz-transition: left 0.5s;
133         -o-transition: left 0.5s;
134         transition: left 0.5s;
135 }
136
137 aside.show {
138         left: 0;
139 }
140
141 /* tabs */
142 .tabs { position: relative; height: 25px!important; }
143 .tabs li { width: 100%; }
144 .tabs .tab { display: none;}
145 .tabs .tab.active { display: block; }
146 .tabs::after {
147         font-family: FontAwesome;
148         text-align: right;
149         content: "\f13a";
150         display: block;
151         position: absolute;
152         left: 0; right:0; top: 0; bottom: 0;
153         padding: 8px 2px 0 0;
154 }
155
156 .tabs.show {
157         position: fixed;
158         z-index: 1000;
159         left: 10px;
160         right: 10px;
161         top: 0px;
162         bottom: 10px;
163         height: auto !important;
164         border: 1px solid #ccc;
165 }
166 .tabs.show::after { display: none; }
167 .tabs.show .tab { display: block; }
168
169 /* jot buttons */
170 #profile-jot-submit,
171 #jot-preview-link {
172     float: none;
173     display: block;
174     width: 100%;
175     margin: 0 0 1em 0;
176 }
177 #profile-jot-submit-wrapper > div {
178     margin: 0 1em 1em 0;
179 }
180 #profile-jot-submit-wrapper > div#profile-jot-perms { margin: 0; }
181  
182 /* ACL window */
183 #profile-jot-acl-wrapper, #profile-jot-acl-wrapper * { box-sizing: border-box; }
184 #acl-wrapper { width: 100%; float: none; }
185 #acl-search { width: 100%; float: none; padding-right: 0px; margin-bottom: 1em; }
186 #acl-showall { width: 100%; height: 48px; margin-bottom: 1em; }
187 .acl-list-item { width: auto; float: none; height: auto; overflow: hidden; position: relative;}
188 .acl-list-item img { width: 48px; height: 48px; }
189 .acl-list-item p { height: auto; font-size: inherit; }
190 .acl-list-item a {
191   float: none;
192   position: absolute;
193   top: 5px;
194   right: 5px;
195   height: 48px;
196   padding: 10px 2px 2px 2px;
197   font-size: 12px;
198   width: 20%;
199   text-align: center;
200   background-position: center 5px;
201 }
202 .acl-list-item a.acl-button-hide { right: 25%; }
203 /* flexbox for ACL window */
204 #cboxLoadedContent,
205 #cboxLoadedContent > div,
206 #acl-wrapper {
207   display: -ms-Flexbox !important;
208   -ms-box-orient: vertival;
209
210   display: -webkit-flex !important;
211   display: -moz-flex !important;
212   display: -ms-flex !important;
213   display: flex !important;
214
215   -webkit-flex-flow: column;
216   -moz-flex-flow: column;
217   -ms-flex-flow: column;
218   flex-flow: column;
219   
220   -webkit-flex: 1 100%;
221   -moz-flex: 1 100%;
222   -ms-flex: 1 100%;
223   flex: 1 100%;
224 }
225 #acl-list {
226   -webkit-flex: 1 1 auto;
227   -moz-flex: 1 1 auto;
228   -ms-flex: 1 1 auto;
229   flex: 1 1 auto;  
230 }
231
232 /** input elements **/
233 input,
234 textarea,
235 select {
236     font-size: 18px;
237     border: 1px solid #888;
238     padding: 0.2em;
239 }
240 input:focus,
241 textarea:focus,
242 select:focus {
243     box-shadow: 1px 1px 10px rgba(46, 151, 255, 0.62);
244 }
245
246 .field, .field > * {  box-sizing: border-box; }
247 .field label { width: 100%; float: none; display: block; }
248 .field input, .field textarea, .field select { max-width: 100%; width: 100%; }
249 .field.yesno .onoff,
250 .field.checkbox input { width: auto; float: right; }
251 .field.yesno label,
252 .field.checkbox label { width: 70%; float: left; }
253 .field .field_help { margin: 0; }
254
255 /** event **/
256 .event-start, .event-end { width: auto; }
257 .event-start .dtstart, .event-end .dtend { float: none; display: block; }
258
259 /** oembed **/
260 .embed_video {
261   float: none;
262   margin: 0px;
263   height: 120px;
264   width: 100%;
265   overflow: hidden;
266   display: block;
267 }
268 .embed_video > img {
269   display: block;
270   width: 100% !important;
271   height: auto !important;
272   max-width: 100% !important;
273 }
274 .embed_video > div {
275   background-image: none !important; background-color: transparent !important;
276   width: 100% !important; height: 110px !important;
277 }
278
279 .type-link > a { height: 120px; width: 100%; overflow: hidden; display: block; }
280 .type-link > a > img { display: block; max-width: 100%!important; width: 100% !important; height: auto !important; }