]> git.mxchange.org Git - friendica.git/commitdiff
[frio] Increase content space on <600px width devices
authorHypolite Petovan <mrpetovan@gmail.com>
Sat, 4 Aug 2018 18:54:58 +0000 (20:54 +0200)
committerHypolite Petovan <mrpetovan@gmail.com>
Sat, 4 Aug 2018 18:54:58 +0000 (20:54 +0200)
view/theme/frio/css/style.css
view/theme/frio/templates/search_item.tpl
view/theme/frio/templates/wall_thread.tpl

index 97fe67a9f4cb23cd38405862a4e76537fc414fbb..7bbe590db9dd6afb6d9afe80d48550df198f0b34 100644 (file)
@@ -1599,13 +1599,12 @@ aside .panel-body {
 }
 .wwto .contact-photo {
     width: auto;
-    height: 25px;
+    height: 15px;
     font-size: 8.8px;
-    padding: 3.6px 0;
     border-radius: 2px;
     position: absolute;
-    top: 30px;
-    left: 30px;
+    top: 28px;
+    left: 28px;
     display: inline-block;
 }
 
@@ -1869,7 +1868,6 @@ code > .hl-main {
     border-radius: 3px;
 }
 .well hr {
-    margin: 15px 0 10px;
     border-top: 1px solid #d9d9d9;
 }
 .wall-entry .well {
@@ -2165,7 +2163,7 @@ ul.dropdown-menu li:hover {
  .suggest-content-wrapper, .common-content-wrapper, .help-content-wrapper,
 .allfriends-content-wrapper, .match-content-wrapper, .dirfind-content-wrapper,
 .directory-content-wrapper, .manage-content-wrapper, .notes-content-wrapper,
-.message-content-wrapper, .apps-content-wrapper, 
+.message-content-wrapper, .apps-content-wrapper,
 #adminpage, .delegate-content-wrapper, .uexport-content-wrapper,
 .viewcontacts-content-wrapper, .dfrn_request-content-wrapper,
 .friendica-content-wrapper, .credits-content-wrapper, .nogroup-content-wrapper,
@@ -3023,11 +3021,11 @@ section.help-content-wrapper li {
     background-color: #f5f5f5;
 }
 .offset-anchor::before {
-    display: block; 
-    content: " "; 
-    margin-top: -100px; 
+    display: block;
+    content: " ";
+    margin-top: -100px;
     height: 100px;
-    visibility: hidden; 
+    visibility: hidden;
     pointer-events: none;
 }
 
@@ -3368,5 +3366,56 @@ section .profile-match-wrapper {
 
 }
 
+/* Mobile display */
+@media (max-width: 600px) {
+       body {
+               padding-top: 95px;
+       }
+
+       #friendica-logo-mask {
+               display: none;
+       }
+
+       .container {
+               padding-right: 0;
+               padding-left: 0;
+       }
+
+       .panel {
+               border-radius: 0;
+               margin-bottom: 5px;
+       }
 
+       .panel .panel-body {
+               padding: 10px;
+       }
 
+       .wall-spacer {
+               height: 0px;
+       }
+
+       .wall-item-actions {
+               margin-top: 10px;
+       }
+
+       .media {
+               margin-top: 0;
+       }
+
+       .nav-pills.preferences {
+               right: 10px;
+       }
+
+       .generic-page-wrapper, .profile_photo-content-wrapper, .videos-content-wrapper, .suggest-content-wrapper, .common-content-wrapper, .help-content-wrapper, .allfriends-content-wrapper, .match-content-wrapper, .dirfind-content-wrapper, .directory-content-wrapper, .manage-content-wrapper, .notes-content-wrapper, .message-content-wrapper, .apps-content-wrapper, #adminpage, .delegate-content-wrapper, .uexport-content-wrapper, .viewcontacts-content-wrapper, .dfrn_request-content-wrapper, .friendica-content-wrapper, .credits-content-wrapper, .nogroup-content-wrapper, .profperm-content-wrapper, .invite-content-wrapper, .tos-content-wrapper, .fsuggest-content-wrapper {
+               border-radius: 0;
+               padding: 10px;
+       }
+
+       .row {
+               margin-right: 0;
+       }
+
+       .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
+               padding-right: 0;
+       }
+}
index 3ae36c7822865efb52139406f6556948df39e0e0..970d5d72ce85b54eef4529d3c12adf216733e0b2 100644 (file)
                                </h5>
                        </div>
 
-                       <div class="clearfix"></div>
-
-                       <hr />
-
+                       <hr class="clearfix" />
 
                        {{* item content *}}
                        <div class="wall-item-content {{$item.type}}" id="wall-item-content-{{$item.id}}">
index daa02ef10d3c84611a73905b27ca6ed48d9915c4..7ef875987e796cb708a192931416087c7b99ff7b 100644 (file)
@@ -239,10 +239,12 @@ as the value of $top_child_total (this is done at the end of this file)
                </div>
                {{/if}}
 
-               <div class="clearfix"></div>
-
                {{* Insert Line to seperate item header and item content visually *}}
-               {{if $item.thread_level==1}}<hr />{{/if}}
+               {{if $item.thread_level==1}}
+               <hr class="clearfix" />
+               {{else}}
+               <div class="clearfix"></div>
+               {{/if}}
 
                {{* item content *}}
                <div class="wall-item-content {{$item.type}}" id="wall-item-content-{{$item.id}}">