X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fvier%2Fmobile.css;h=66721a1b8891d2fad68de601feb90782b7581827;hb=e0f4d2204991b7c53268bfa9d0ec855db387ffe3;hp=128fb469c670f551281b9c59a76dc522aca8b440;hpb=3c6ebfa5a9055c71502324aa4c4b93c3d5857cc1;p=friendica.git diff --git a/view/theme/vier/mobile.css b/view/theme/vier/mobile.css index 128fb469c6..66721a1b88 100644 --- a/view/theme/vier/mobile.css +++ b/view/theme/vier/mobile.css @@ -1,4 +1,4 @@ -aside, header, #nav-events-link, #search-box, #nav-admin-link, #activitiy-by-date-tab, #shared-links-tab, +aside, header, #nav-events-link, #nav-search-box, #nav-admin-link, #activitiy-by-date-tab, #shared-links-tab, .wall-item-location { display: none; } @@ -8,11 +8,11 @@ aside, header, #nav-events-link, #search-box, #nav-admin-link, #activitiy-by-dat } section { - /* left: calc((100% - (784px)) / 2); */ + box-sizing: border-box; left: 0px; - width: calc(100% - 20px); + width: 100%; max-width: 100%; - padding: 10px; + padding: 5px; } body, section, nav .nav-menu, div.pager, ul.tabs { @@ -63,6 +63,34 @@ nav ul { a.desktop-view { display: none; } a.mobile-view { display: initial; } #nav-apps-link { display: none; } + + .wall-item-container .wall-item-info { width: auto; } + .contact-photo-wrapper { width: 55px; } + .wwto { left: 0px; } + + .type-link > a { height: 120px; width: 100%; overflow: hidden; display: block; } + .type-link > a > img { display: block; max-width: 100%!important; width: 100% !important; height: 100% !important; object-fit: cover !important; } + + /** oembed **/ + .embed_video { + float: none; + margin: 0px; + width: 100%; + overflow: hidden; + display: block; + } + .embed_video > img { + display: block; + width: 100% !important; + height: 100% !important; + max-width: 100% !important; + object-fit: cover !important; + } + .embed_video > div { + background-image: none !important; background-color: transparent !important; + width: 100% !important; height: 110px !important; + } + } @media screen and (max-width: 480px) { @@ -75,15 +103,28 @@ nav ul { .children .wall-item-container .wall-item-item .wall-item-content img { max-width: 100%; } + iframe.embed_rich { width: 100% !important } + /* TODO: check if this is needed. + * oembedded iframe usually have "width" and "height" as attributes + * that override this rule */ iframe { max-width: 100%; } - /* the top-nav notfication menu - Note: the device needs a min display width of 320px */ - #nav-notifications-menu { - width: 270px; + + /* the top-nav notfication menu */ + nav #nav-notifications-linkmenu .menu-popup { + position: fixed; + left: 10px; + right: 10px; + top: 44px; + bottom: 10px; + width: auto; + max-width: none; + max-height: none; } + + } .wall-item-container.thread_level_2, @@ -92,8 +133,8 @@ nav ul { .wall-item-container.thread_level_5, .wall-item-container.thread_level_6, .wall-item-container.thread_level_7 { - margin-left: 60px; - width: calc(100% - 70px); + margin-left: 0; + width: calc(100% - 10px); } .wall-item-container.thread_level_2 .wall-item-content, @@ -162,6 +203,19 @@ aside.show { .tabs.show::after { display: none; } .tabs.show .tab { display: block; } +/* jot buttons */ +#profile-jot-submit, +#jot-preview-link { + float: none; + display: block; + width: 100%; + margin: 0 0 1em 0; +} +#profile-jot-submit-wrapper > div { + margin: 0 1em 1em 0; +} +#profile-jot-submit-wrapper > div#profile-jot-perms { margin: 0; } + /* ACL window */ #profile-jot-acl-wrapper, #profile-jot-acl-wrapper * { box-sizing: border-box; } #acl-wrapper { width: 100%; float: none; } @@ -235,3 +289,8 @@ select:focus { .field.checkbox label { width: 70%; float: left; } .field .field_help { margin: 0; } +/** event **/ +.event-start, .event-end { width: auto; } +.event-start .dtstart, .event-end .dtend { float: none; display: block; } + +