X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fcss%2Fstyle.css;h=f15faf3896afa28e4a5bc5e46b47d6db74cf471f;hb=2332d9f62ac651ee2991ce8df5a66e07f41ab864;hp=01cab105bc4602d610923f2f6bffeede36188b1f;hpb=1c38540f20b3207a0fd09ef0802125e45e83bcf6;p=friendica.git diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 01cab105bc..f15faf3896 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -100,6 +100,36 @@ code { } .help-content-wrapper code, .help-aside-wrapper code {display: inline} +/** + * mobile aside + */ +@media screen and (max-width: 990px) { + aside{ + position: fixed!important; + top: 0!important; + background-color: #fff; + width: 100%; + max-width: 300px; + height: 100%; + padding-top: 100px; + z-index: 10; + } + aside::before { + content: " "; + position: fixed; + display: block; + top: 0; left: 300px; right: 0; bottom: 0; + background-color: rgba(0,0,0,0.4); + opacity: 0; + transition: opacity 0.5s; + } + aside.canvas-slid::before { + opacity: 1; + } + + /* prevent page scroll when the aside is opened **/ + body.aside-out { overflow: hidden; } +} /* * standard page elements */ @@ -1006,15 +1036,22 @@ aside .widget li a:hover { } /* forumlist widget */ -aside #datebrowse-sidebar .posted-date-selector-months{ - margin-left: 0; - margin-bottom: 10px; +aside > #datebrowse-sidebar li.posted-date-selector-months { + margin-bottom: 10px;; + padding: 0; width: 100% } -aside #datebrowse-sidebar .posted-date-selector-months li{ +aside > #datebrowse-sidebar li.posted-date-selector-months:hover { + border-left: none !important; + background-color: transparent !important; +} +aside > #datebrowse-sidebar .posted-date-selector-months > ul { + margin: 0; +} +aside > #datebrowse-sidebar .posted-date-selector-months > ul > li{ padding-left: 30px; } -aside #datebrowse-sidebar .posted-date-selector-months li:hover{ +aside > #datebrowse-sidebar .posted-date-selector-months > ul > li:hover{ padding-left: 27px; } @@ -1100,6 +1137,9 @@ aside .vcard #wallmessage-link { padding-right: 20px; margin-left: -14px; } +#nav-short-info .contact-photo-wrapper.media-left { + float: left; +} #vcard-short-photo-wrapper img, #nav-short-info .contact-wrapper img { height: 34px; @@ -1145,6 +1185,10 @@ aside #follow-sidebar input { height: 30px; background-position: 10px 5px; } +aside #peoplefind-sidebar label, +aside #follow-sidebar label { + font-weight: normal; +} aside #peoplefind-sidebar .form-group-search .form-button-search, aside #follow-sidebar .form-group-search .form-button-search { padding: 2px 8px; @@ -1230,7 +1274,7 @@ section #jotOpen { #jot-text-wrap textarea { min-height: 100px; } -#profile-jot-wrapper button#jot-submit { +#profile-jot-wrapper button#profile-jot-submit { margin-top: 5px; } #profile-jot-wrapper #character-counter { @@ -1632,6 +1676,38 @@ code > .hl-main { .hl-main ol { line-height: 1.7; } +.type-link img.attachment-image { + width: 100%; +} +.type-link blockquote, .type-video blockquote { + margin: 0; + padding: 10px 0; +} +.oembed.video .embed_video > div::before { + font-family: FontAwesome; + font-weight: normal; + font-style: normal; + display: inline-block; + text-decoration: inherit; + vertical-align: top; + font-size: 3em; + content: "\f01d"; + color: #fff; + bottom: 0px; + right: 10px; + position: absolute; +} +.oembed.video .embed_video > div { + background-color: rgba(0,0,0,0.2); + -webkit-transition: all 0.25s ease-in-out; + -moz-transition: all 0.25s ease-in-out; + -o-transition: all 0.25s ease-in-out; + -ms-transition: all 0.25s ease-in-out; + transition: all 0.25s ease-in-out; +} +.oembed.video .embed_video > div:hover { + background-color: rgba(0,0,0,0); +} .wall-item-tags, .itemedited { margin-top: 10px; @@ -2385,6 +2461,155 @@ ul li:hover .contact-wrapper .contact-action-link:hover { .event-buttons .plink-event-link { margin-left: 20px; } +.vevent .event-summary { + font-size: 16px; +} +.vevent .event-description { + padding: 10px 0; +} +.vevent .event-location .location { + font-size: inherit; + color: inherit; +} +.modal-body .vevent .event-summary { + display: none; +} +#event-preview .vevent .event-summary { + display: block; +} + +/* Event Cards */ +.event-card-details, .event-card-header { + width: 100%; +} +.event-card-header, .event-card-left-date { + float: left; +} +.vevent .event-card-header { + display: table; +} +.event-card-left-date { + width: 60px; /* Das muss wahrscheinlich unterschiedlich sein zwischen calendar und stream */ +} +.event-card .event-date-wrapper > span { + display: block; + overflow: hidden; + text-align: center; + white-space: nowrap; +} +.event-card .event-date-wrapper .event-card-short-month { + font-size: 13px; + text-transform: uppercase; +} +.event-card .event-date-wrapper.medium .event-card-short-date { + font-size: 24px; + line-height: 28px; + margin-top: 2px; +} +.event-card .event-card-content { + width: 100%; + padding: 0 5px 0 15px; + box-shadow: 1.5px 0 0 0 rgba(0, 0, 0, .1) inset; + color: #777; + position: relative; +} +.event-card .event-card-content .event-map-btn { + position: absolute; + right: 0; + top:0; + line-height: 15px; +} +.event-card .event-card-title { + font-size: 14px; + color: #555; + line-height: 15px; + font-weight: bold; + margin: 0; +} +.event-card .event-card-location { + margin-top: 10px; + font-size: 13px; +} +.event-card .event-card-location br { + content: " "; +} +.event-card .event-card-location br::after { + content: " "; +} +.event-card-profile-name a { + color: $link_color; +} +.event-card-profile-name a:hover { + color: $link_hover_color; +} +.event-card .event-card-content .event-location-map { + position: absolute; + left: -9999px; + top: -9999px; +} +.event-card .event-card-content .event-location-map .map{ + margin-top: 10px; +} +.event-card .description { + margin-top: 10px; + box-shadow: 0 1.5px 0 0 rgba(0, 0, 0, .1) inset; +} +/* Photos Pages */ +#photo-photo { + position: relative; +} +.photo-next-link, .photo-prev-link { + height: 64px; + margin-top: -32px; + opacity: 0; + position: absolute; + top: 50%; + transform: translateZ(0); + transition: opacity .2s; + /*width: 27px;*/ + width: 100px; + z-index: 11; + font-size: 64px; + color: #fff; + text-shadow: + -1px -1px 0 #000, + 1px -1px 0 #000, + -1px 1px 0 #000, + 1px 1px 0 #000; +} +.photo-next-link > i, .photo-prev-link > i { + vertical-align: super; +} +.photo-next-link > i { + float: right; +} +.photo-prev-link { + left: 20px; +} +.photo-next-link { + right: 20px; +} +#photo-photo:hover .photo-next-link, +#photo-photo:hover .photo-prev-link { + opacity: 0.4; +} +#photo-photo .photo-next-link:hover, +#photo-photo .photo-prev-link:hover { + opacity: 1; + color: #fff; +} +.photo-comment-wrapper .comment { + position: relative; +} +.photo-comment-wrapper .wall-item-content { + color: #555; + font-size: 13px; +} +.photo-comment-wrapper .comment-wwedit-wrapper, +.photo-comment-wrapper .wall-item-outside-wrapper.media:first-child { + margin-top: 15px; +} + /* Profiles Page */ .profile-listing-table { display: table; @@ -2592,6 +2817,15 @@ section.help-content-wrapper li { font-size: 0.96em; } +/* Register Page*/ +#register-openid-wrapper, #register-name-wrapper, #register-invite-wrapper, #profile-publish-wrapper { + margin-top: 20px; +} +#register-openid-end, #register-nickname-end +{ + margin-top: 40px; +} + /* * Overwriting for transparency and other colors */ @@ -2757,3 +2991,4 @@ body .tread-wrapper .hovercard:hover .hover-card-content a { section .profile-match-wrapper { float: left; } +