X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fcss%2Fstyle.css;h=58048efbcd8e4816adc4fbdfeac97c0681bcc8b3;hb=7ee8bdafc53a88fe51f233e14169bb4af0d376ab;hp=0836219aa7260fefe08bf0ac640fbf779596a596;hpb=dd00a943f20a8224f934cfb110eb23dacef242a4;p=friendica.git diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 0836219aa7..58048efbcd 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -96,9 +96,6 @@ blockquote { max-height: 0px !important; overflow: hidden !important; } -code { - white-space: pre-wrap; -} /** * mobile aside @@ -217,7 +214,7 @@ a.btn:hover { font-size: 12px; } .btn-primary { - background: $nav_bg; + background: $nav_bg !important; color: $btn_primary_color !important; } .btn-primary:hover, .btn-primary:focus { @@ -375,7 +372,7 @@ header #banner { left:49%; right: 49%; z-index: 1040; - margin-top: 14px; + margin-top: 12.5px; text-align: center; text-shadow: 1px 1px 2px rgba(0,0,0,.5); font-size: 14px; @@ -479,7 +476,7 @@ nav.navbar .nav>li>a:focus{ border-radius: 3px; } #topbar-first .nav>.account .dropdown-toggle { - padding: 10px 5px 0px; + padding: 8px 5px 0px; line-height: 1.1em; text-align: left } @@ -714,7 +711,7 @@ nav.navbar a, nav.navbar .btn-link { /* Nav Search */ #topbar-first #search-box .navbar-form { margin: 0px; - padding: 10px 15px; + padding: 12px 12px; } #search-mobile .navbar-form { margin: 0; @@ -958,6 +955,10 @@ nav.navbar a, nav.navbar .btn-link { color: #fff!important; background-color: $menu_background_hover_color !important; } +#photo-edit-link-wrap { + color: #555; + margin-bottom: 15px; +} .nav-pills.preferences .dropdown .dropdown-toggle, .nav-pills.preferences > li > .btn { color: #bebebe; @@ -996,6 +997,7 @@ aside .widget, margin-bottom: 20px; padding: 10px; font-size: 13px; + overflow: auto; } aside .widget h3, .nav-container .widget h3 { @@ -1060,9 +1062,6 @@ aside > #datebrowse-sidebar .posted-date-selector-months > ul > li:hover{ } /* help page widget */ -aside > .help-content-wrapper code, .help-aside-wrapper code { - display: inline -} aside > .help-aside-wrapper p strong:first-child { display: block; margin: 1em 0 0em; @@ -1105,7 +1104,7 @@ aside .vcard .tool .action{ transition: all 0.25s ease-in-out; } aside .vcard .tool a { -color: rgba(255,255,255,.85); + color: rgba(255,255,255,.85); } aside .vcard #profile-photo-wrapper:hover .tool .action { opacity: 1; @@ -1114,11 +1113,11 @@ aside .vcard #profile-photo-wrapper.crop-preview { padding: 0; } aside .vcard .profile-header { - margin-bottom: 20px; + padding: 5px 0px 20px 0px; } aside .vcard .fn { - font-size: 20px; font-weight: bold; + padding: 5px 0px 5px 0px; } aside .vcard .p-addr { font-style: italic; @@ -1138,9 +1137,10 @@ aside .xmpp { aside .vcard .icon { display: table-cell; padding-right: 10px; + width: 30px; } #profile-extra-links { - margin-bottom: 20px; + overflow: auto; } aside .vcard #dfrn-request-link-button, aside .vcard #wallmessage-link-botton { @@ -1235,19 +1235,29 @@ div#sidebar-group-list { .group-edit-tool { color: #555; } -aside #group-sidebar .group-edit-tool, -aside #saved-search-list .savedsearchdrop { - opacity: 0.1; - transition: all 0.25s ease-in-out; + +.faded-icon { + color: #555; + opacity: 0.3; + transition: all 0.1s ease-in-out; } -aside #group-sidebar .group-edit-tool:hover, -aside #saved-search-list .saved-search-li:hover .savedsearchdrop { +.faded-icon:hover { color: #555; + opacity: 1; +} +.icon-padding { + margin-left: 20px; +} + +aside #group-sidebar .sidebar-group-li:hover .group-edit-tool.faded-icon, +aside #saved-search-list .saved-search-li:hover .savedsearchdrop.faded-icon, +aside .widget:hover .widget-action.faded-icon { opacity: 0.8; transition: all 0.25s ease-in-out; } -aside #group-sidebar .sidebar-group-li .group-edit-tool:hover, -aside #saved-search-list .saved-search-li .savedsearchdrop:hover { +aside #group-sidebar .sidebar-group-li .group-edit-tool.faded-icon:hover, +aside #saved-search-list .saved-search-li .savedsearchdrop.faded-icon:hover, +aside .widget .widget-action.faded-icon:hover { opacity: 1; } aside #group-sidebar li .group-checkbox { @@ -1406,6 +1416,15 @@ section #jotOpen { color: #fff; } +.fa.lock:before { + font-family: FontAwesome; + content: "\f023"; +} +.fa.unlock:before { + font-family: FontAwesome; + content: "\f09c"; +} + /* Filebrowser */ .fbrowser .breadcrumb { margin-bottom: 0px; @@ -1470,6 +1489,9 @@ section #jotOpen { .fbrowser.image .photo-album-image-wrapper { box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.2); } +.fbrowser.image .photo-album-image-wrapper .caption { + pointer-events: none; +} .fbrowser .profile-rotator-wrapper { min-height: 200px; } @@ -1511,6 +1533,9 @@ section #jotOpen { overflow: visible; word-wrap: break-word; } +aside .panel-body { + padding: 0px; +} /* Thread hover effects */ .wall-item-container .wall-item-content a, @@ -1594,11 +1619,10 @@ section #jotOpen { width: auto; height: 25px; font-size: 8.8px; - padding: 3.6px 0; border-radius: 2px; position: absolute; - top: 30px; - left: 30px; + top: 28px; + left: 28px; display: inline-block; } @@ -1668,7 +1692,7 @@ section #jotOpen { /* Space between content and head */ .wall-spacer { - height: 10px; + height: 10px; } /* wall items content */ @@ -1760,6 +1784,12 @@ code > .hl-main { .oembed.video .embed_video > div:hover { background-color: rgba(0,0,0,0); } +.oembed.video .embed_video.active { + margin: 1em 0; +} +.oembed.video .embed_video.active iframe { + width: 100% !important; +} .wall-item-tags, .itemedited { margin-top: 10px; @@ -1862,7 +1892,6 @@ code > .hl-main { border-radius: 3px; } .well hr { - margin: 15px 0 10px; border-top: 1px solid #d9d9d9; } .wall-entry .well { @@ -2158,7 +2187,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, .photos-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, @@ -2179,6 +2208,13 @@ ul.dropdown-menu li:hover { -webkit-box-shadow: 0 0 3px #dadada; -moz-box-shadow: 0 0 3px #dadada; } +#content:hover .page-action.faded-icon { + opacity: 0.8; + transition: all 0.25s ease-in-out; +} +#content .page-action.faded-icon:hover { + opacity: 1; +} .section-title-wrapper { overflow: hidden; @@ -2470,6 +2506,13 @@ ul li:hover .contact-wrapper .contact-action-link:hover { } /* photos */ +#photo-album-edit-name-label { + width: 100%; +} +.photo-album-edit-name { + width: 60%; +} + .photo-album-actions { margin-bottom: 10px; } @@ -2948,7 +2991,7 @@ section.help-content-wrapper li { #admin-summary-wrapper { padding-top: 10px; } -#adminpage ul#pluginslist, li.plugin { +#adminpage ul#addonslist, li.addon { list-style: none; } #adminpage li .icon { @@ -2989,7 +3032,7 @@ section.help-content-wrapper li { font-size: 11px; color: #555555; } -#adminpage .plugin .desc { +#adminpage .addon .desc { padding-left: 10px; } .adminpage .admin-settings-action-link, @@ -3009,11 +3052,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; } @@ -3258,6 +3301,50 @@ section .profile-match-wrapper { background-color: rgba(255,255,255,.85); } +.qq-upload-button { + background: $nav_bg !important; + color: $btn_primary_color !important; + float: none; + border: none; + -webkit-box-shadow: none; + box-shadow: none; + -moz-box-shadow: none; + background-image: none; + text-shadow: none; + border-radius: 3px; + outline: 0!important; + margin-bottom: 0; + font-size: 14px; + font-weight: 600; + padding: 8px 16px; + color: inherit; + width: 100% !important; +} + +.qq-upload-drop-area { + background: white !important; + float: none; + border: none; + -webkit-box-shadow: none; + box-shadow: none; + -moz-box-shadow: none; + background-image: none; + text-shadow: none; + border-radius: 3px; + outline: 0!important; + margin-bottom: 0; + font-size: 14px; + font-weight: 600; + padding: 8px 16px; + color: inherit; + width: 100% !important; + display: block !important; + position: relative !important; + border: black 1px dashed !important; + margin-bottom: 5px !important; + margin-top: 15px !important; +} + /* Medium devices (desktops, 992px and up) */ @media (min-width: 992px) { .mod-home.is-not-singleuser #content, @@ -3310,5 +3397,71 @@ 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; + } + + .wwto .contact-photo { + height: 19px; + padding: 0; + top: 24px; + left: 24px; + } + + /* + Prevent automatic zoom on input focus on iOS + see https://stackoverflow.com/a/16255670 + */ + .form-control { + font-size: 16px; + } +}