X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fcss%2Fstyle.css;h=c2ad62d3c3eec05dfbf9b8c26a3463bc77ee4e8f;hb=04a3644ab40279825cde5f5da7edf0fee21c0c19;hp=055a6611179a55c4b3a97a7daae1c64aaafede4b;hpb=30cef1a739461161d3a418d2e999edd8e39088f1;p=friendica.git diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 055a661117..c2ad62d3c3 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 @@ -133,6 +130,15 @@ code { /* * standard page elements */ + +section.minimal { + top: 0px; + left: 0px; + position: absolute; + width: 100%; + height: 100%; +} + #back-to-top { display: none; cursor: pointer; @@ -217,7 +223,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 +381,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 +485,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 +720,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 +964,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 +1006,7 @@ aside .widget, margin-bottom: 20px; padding: 10px; font-size: 13px; + overflow: auto; } aside .widget h3, .nav-container .widget h3 { @@ -1060,9 +1071,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 +1113,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 +1122,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; @@ -1127,7 +1135,9 @@ aside .vcard .p-addr { white-space: nowrap; padding-bottom: 2px; } - +aside .vcard .title { + margin-top: 10px; +} aside .vcard .detail { display: table; padding: 5px 0; @@ -1138,9 +1148,11 @@ aside .xmpp { aside .vcard .icon { display: table-cell; padding-right: 10px; + width: 30px; } #profile-extra-links { - margin-bottom: 20px; + overflow: auto; + margin-bottom: 10px; } aside .vcard #dfrn-request-link-button, aside .vcard #wallmessage-link-botton { @@ -1235,19 +1247,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 { @@ -1304,6 +1326,29 @@ section #jotOpen { .jothidden { /*display: none;*/ } +.modal #jot-sections { + max-height: calc(100vh - 22px); +} +@media (min-width: 768px) { + .modal #jot-sections { + max-height: calc(100vh - 62px); + } +} +#jot-modal #jot-sections, +#jot-modal #jot-modal-body, +#jot-modal #profile-jot-form, +#jot-modal #profile-jot-wrapper, +#jot-modal #jot-text-wrap, +#jot-modal #jot-preview-content, +#jot-modal #tread-wrapper--1, +#jot-modal #item-Q0, +#jot-modal #profile-jot-acl-wrapper, +#jot-modal #acl-wrapper { + overflow: hidden; + display: flex; + flex: auto; + flex-direction: column; +} #jot-modal .modal-header a, #jot-modal .modal-header .btn-link, #profile-jot-submit-wrapper a, #profile-jot-submit-wrapper .btn-link { color: #555; @@ -1320,6 +1365,69 @@ section #jotOpen { } #jot-text-wrap textarea { min-height: 100px; + overflow-y: auto !important; + overflow-y: overlay !important; +} +/*#jot-attachment-preview { + display: none; +}*/ +#jot-text-wrap .preview textarea { + width: 100%; +} +#preview_profile-jot-text { + position: relative; + padding: 0px 10px; + margin-top: -2px; + border: 2px solid #ededed; + border-top: none; + box-shadow: none; + border-radius: 0 0 4px 4px; + background: #fff; + color: #555; +} +textarea#profile-jot-text:focus + #preview_profile-jot-text { + border: 2px solid #6fdbe8; + border-top: none; +} +.preview hr.previewseparator { + margin-top: 0px; + border-color: #D2D2D2; +} +#previewImgBtn_profile-jot-text, +.closePreview { + position: absolute; + top: 15px; +} +.closePreview { + right: 15px; + z-index: 1; +} +.previewImgBtn { + left: 15px; +} +.preview button.previewActionBtn { + display:block; + height: 25px; + width: 25px; + border-radius: 50%; + color: #fff; + border: 2px solid #fff; + box-shadow: 0 0 3px gray; + background: #777; + text-align: center; + line-height: 2px; + text-decoration: none; + padding: 0 0 1px 1px; + opacity: 0.7; +} +.preview button.previewActionBtn:hover { + opacity: 1; +} +.preview .closePreview button.previewActionBtn { + font-size: 25px; +} +#previewInputTitle_profile-jot-text { + width: 100%; } #profile-jot-wrapper button#profile-jot-submit { margin-top: 5px; @@ -1327,7 +1435,10 @@ section #jotOpen { #profile-jot-wrapper #character-counter { padding: 10px 15px; } - +.modal .wall-item-container.preview { + overflow-y: auto; + overflow-y: overlay; +} /* ACL */ /*#jot-modal-body { height: auto; @@ -1335,7 +1446,7 @@ section #jotOpen { overflow-y: hidden; }*/ #acl-search { - margin-top: 20px; + /*margin-top: 20px;*/ /*padding: 8px;*/ /*border: 1px solid #ccc;*/ width: 100%; @@ -1343,7 +1454,6 @@ section #jotOpen { #acl-list { display: block; border: 1px solid #ccc; - overflow: auto; clear: both; min-height: 62px; margin-top: 20px; @@ -1351,10 +1461,10 @@ section #jotOpen { -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; + overflow-y: auto; } #acl-list-content { - overflow-y: auto; - max-height: calc(100vh - 330px); + overflow-y: hidden; height: auto !important; } .acl-list-item { @@ -1406,6 +1516,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 +1589,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,13 +1633,16 @@ section #jotOpen { overflow: visible; word-wrap: break-word; } +aside .panel-body { + padding: 0px; +} /* Thread hover effects */ -.wall-item-container .wall-item-content a, -.wall-item-container a, -.wall-item-container .fakelink, -.toplevel_item .fakelink, -.toplevel_item .wall-item-container .wall-item-responses a { +.desktop-view .wall-item-container .wall-item-content a, +.desktop-view .wall-item-container a, +.desktop-view .wall-item-container .fakelink, +.desktop-view .toplevel_item .fakelink, +.desktop-view .toplevel_item .wall-item-container .wall-item-responses a { color: #555; -webkit-transition: all 0.25s ease-in-out; -moz-transition: all 0.25s ease-in-out; @@ -1594,11 +1719,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; } @@ -1760,6 +1884,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; @@ -1777,6 +1907,10 @@ code > .hl-main { .wall-item-bottom .label a { color: #fff; } +.wall-item-tags .category, +.wall-item-tags .folder { + margin-right: 3px; +} /* item social action buttons */ .wall-item-actions { @@ -1862,7 +1996,6 @@ code > .hl-main { border-radius: 3px; } .well hr { - margin: 15px 0 10px; border-top: 1px solid #d9d9d9; } .wall-entry .well { @@ -2049,13 +2182,14 @@ ul.dropdown-menu li:hover { } /* Notificaiotn badges */ -.nav-notify .show { - display: block; +#mail-update-li.show { + display: inline-block!important; } /* Media Classes */ .media .time, .media .shared-time, +.media .delivery, .media .location, .media .location a { font-size: 11px; @@ -2158,7 +2292,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 +2313,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 +2611,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; } @@ -3009,11 +3157,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 +3406,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 +3502,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; + } +}