X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fquattro%2Fquattro.less;h=768f1cab290b10e9f4af58007576600785664ad9;hb=b4fb951bf9da7e6d9e93acb005ad8995255f9c5e;hp=9099f0be163f4553179e80b36e73e7136bf406cc;hpb=ae08d2c49b042780d87e17b73d8bb7c4b99263da;p=friendica.git diff --git a/view/theme/quattro/quattro.less b/view/theme/quattro/quattro.less index 9099f0be16..768f1cab29 100644 --- a/view/theme/quattro/quattro.less +++ b/view/theme/quattro/quattro.less @@ -27,13 +27,17 @@ h4 { font-size: 1.1em } .opaque(@v: 0.5){ opacity: @v; - -webkit-transition: all 0.2s ease-in-out; - -moz-transition: all 0.2s ease-in-out; - -o-transition: all 0.2s ease-in-out; - -ms-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; + .transition(); } +.transition(@d: 0.2s){ + -webkit-transition: all @d ease-in-out; + -moz-transition: all @d ease-in-out; + -o-transition: all @d ease-in-out; + -ms-transition: all @d ease-in-out; + transition: all @d ease-in-out; +} + a, a:link { color: @Link; text-decoration: none; } a:visited { color: @LinkVisited; text-decoration: none; } @@ -47,6 +51,14 @@ a:hover {color: @LinkHover; text-decoration: underline; } .fakelink { color: @Link; text-decoration: none; cursor:pointer; } .fakelink:hover { color: @LinkHover; text-decoration: underline; } +blockquote { + background:@BlockquoteBackgroundColor; + padding: 1em; + margin-left: 1em; + border-left: 1em solid @BlockquoteBorderColor; + +} + code { font-family: Courier, monospace; white-space: pre; @@ -81,6 +93,7 @@ code { height: auto; overflow: auto; .label { float: left;} .action { float: right; } + > img { float: left; } } @@ -202,7 +215,11 @@ nav { } #nav-notifications-linkmenu.on .icon.s22.notify, - #nav-notifications-linkmenu.selected .icon.s22.notify { background-image: url("../../../images/icons/22/notify_on.png") } + #nav-notifications-linkmenu.selected .icon.s22.notify { background-image: url("../../../images/icons/22/notify_on.png") } + #nav-introductions-link.on .icon.s22.intro, + #nav-introductions-link.selected .icon.s22.intro { background-image: url("icons/contacts_on.png") } + #nav-messages-link.on .icon.s22.mail, + #nav-messages-link.selected .icon.s22.mail { background-image: url("icons/messages_on.png") } #nav-apps-link.selected { background-color: @NavbarSelectedBg; } } @@ -241,21 +258,27 @@ ul.menu-popup { } /* autocomplete popup */ +.autocomplete, .acpopup { max-height:150px; background-color:@MenuBg; color: @Menu; - border:1px solid #MenuBorder; + border:1px solid @MenuBorder; overflow:auto; z-index:100000; .shadow(); } +.autocomplete > div, .acpopupitem { color: @MenuItem; padding: 4px; clear:left; + overflow: auto; + height: auto; img { float: left; margin-right: 4px; + width: 16px !important; + height: 16px !important; } &.selected{ background-color: @MenuItemHoverBg; @@ -282,6 +305,8 @@ aside { padding:0px 10px 0px 20px; border-right: 1px solid @AsideBorder; + .profile-edit-side-div { display: none; } + .vcard { .fn { font-size: 16px; font-weight: bold; margin-bottom: 5px; } .title { margin-bottom: 5px; } @@ -296,6 +321,18 @@ aside { li { padding: 0px; margin: 0px; list-style: none; } } + #wallmessage-link { + display: block; + .rounded(); + color: @AsideConnect; + background: @AsideConnectBg url('../../../images/connect-bg.png') no-repeat left center; + font-weight: bold; + text-transform:uppercase; + padding: 4px 2px 2px 35px; + margin-top: 3px; + + &:hover { text-decoration: none; background-color: @AsideConnectHoverBg; } + } #dfrn-request-link { display: block; .rounded(); @@ -415,6 +452,10 @@ section { padding:0px 20px 0px 10px; } +.sparkle { + cursor: url('icons/lock.cur'), pointer; +} + /* wall item */ .tread-wrapper { background-color: @ThreadBackgroundColor; @@ -453,7 +494,7 @@ section { max-width: 720px; word-wrap: break-word; } - .wall-item-content img { max-width: 710px; } + .wall-item-content img { max-width: 700px; } .wall-item-links, .wall-item-actions { display: table-cell; @@ -478,7 +519,7 @@ section { a { float: right; } input { float: right; } } - + } @@ -486,12 +527,32 @@ section { .contact-photo-wrapper { margin-left: 16px; } .contact-photo { width: 32px; height: 32px; - } + } + .contact-photo-menu-button { top: 15px !important; left: 0px !important; } .wall-item-links { padding-left: 12px; } + + .commentbox { + height: 0px; + overflow: hidden; + .wall-item-comment-wrapper { + border-top: 1px solid @CommentBoxEmptyBorderColor; + height: 0px; overflow: hidden; + } + .transition(); + } + + &:hover .commentbox { + height:auto; overflow: visible; + .wall-item-comment-wrapper { + border-top: 0px; + height:auto;overflow: visible; + } + .transition(); + } } /* 'tag' item type */ @@ -513,6 +574,7 @@ section { .wall-item-comment-wrapper { margin: 1em 2em 1em 60px; .comment-edit-photo { display: none; } + textarea { height: 1em; width: 100%; font-size: 10px; color: @CommentBoxEmptyColor; @@ -520,17 +582,19 @@ section { padding:0.3em; } .comment-edit-text-full { - font-size: 14px; height: 4em; color: @CommentBoxFullColor; border: 1px solid @CommentBoxFullBorderColor; } } +.threaded .wall-item-comment-wrapper { margin-left: 0px; } + .comment-edit-preview { width: 710px; border: 1px solid @Grey5; margin-top: 10px; + background-color: @JotPreviewBackgroundColor; .contact-photo { width: 32px; height: 32px; margin-left: 16px; /*background: url(../../../images/icons/22/user.png) no-repeat center center;*/ @@ -541,8 +605,13 @@ section { } .wall-item-links { padding-left: 12px; } - .wall-item-container { width: 700px; } - .tread-wrapper { width: 700px; padding: 0; margin: 10px 0;} + .wall-item-container { width: 90%; } + .tread-wrapper { + width: 90%; padding: 0; margin: 10px 0; + background-color: @JotPreviewBackgroundColor; + border-bottom: 0px; + } + .wall-item-conv { display: none; } } .shiny { border-right:10px solid @ShinyBorderColor; } @@ -552,19 +621,37 @@ section { .wall-item-tags { padding-top: 5px; } .tag { - background: url("../../../images/tag_b.png") no-repeat center left; + background: url("icons/tag.png") no-repeat center right; color: @TagColor; + padding-right: 8px; padding-left: 3px; - a { - padding-right: 8px; - background: url("../../../images/tag.png") no-repeat center right; - color: @TagColor; - } + a { color: @TagColor; } +} +.mention { + background: url("icons/men.png") no-repeat 1px center; + color: @MentionColor; + padding-right: 3px; + padding-left: 18px; + a { color: @MentionColor; } +} +.folder { + background: url("icons/folder.png") no-repeat 1px center; + color: @MentionColor; + padding-right: 3px; + padding-left: 15px; + a { color: @MentionColor; } +} +.category { + background: url("icons/category.png") no-repeat 1px center; + color: @MentionColor; + padding-right: 3px; + padding-left: 15px; + a { color: @MentionColor; } } -.filesavetags { +/*.filesavetags { padding: 3px 0px 3px 0px; opacity: 0.5; -} +}*/ .wwto { position: absolute !important; @@ -584,6 +671,66 @@ section { .wwto .contact-photo { width: 25px; height: 25px; } +/* threaded comments */ +.children { + margin-top: 1em; + .hide-comments-outer { margin-left:60px; } + + .wwto { display: none; } + + .comment-edit-preview { width: 660px; + .wall-item-container { width: 610px; } + } + + & .children { + + margin-left: 40px; + .wall-item-container { width: 710px; } + .comment-edit-preview { width: 620px; + .wall-item-container { width: 620px; } + } + + & .children { + .wall-item-container { width: 670px; } + .comment-edit-preview { width: 580px; + .wall-item-container { width: 580px; } + } + + & .children { + .wall-item-container { width: 630px; } + .comment-edit-preview { width: 540px; + .wall-item-container { width: 540px; } + } + + & .children { + .wall-item-container { width: 590px; } + .comment-edit-preview { width: 500px; + .wall-item-container { width: 500px; } + } + + .children { + margin-left: 0px; + .hide-comments-outer { margin-left: 0px; } + } + } + } + } + } +} +/*.threaded .hide-comments-outer { margin-left: 20px; }*/ + +span[id^="showmore-teaser"]{ + background: url("showmore-bg.jpg") no-repeat center bottom; +} +span[id^="showmore-wrap"] { + border-top: 1px solid #999999; + color: #999999; + display: block; + text-align: center; + background-color: @ThreadBackgroundColor; +} + + #pause { position: fixed; bottom: 5px; @@ -592,6 +739,10 @@ section { .contact-photo-wrapper { position: relative; } +.contact-select { position: absolute; top:64px; left:64px; display:none; } +.contact-select:checked, +.contact-photo:hover .contact-select { display:block; } +#contats-actions { clear: both; } .contact-photo { width: 48px; height: 48px; img { width: 48px; height: 48px; } @@ -1068,12 +1219,102 @@ ul.tabs { width: 50px; float: left; } -/* photo */ -.lframe { +/* photo albums */ +@photosize: 150px; + +#photo-edit-link-wrap { margin-bottom: 10px; } + +#album-edit-link { + border-right: 1px solid @MenuBorder; + float: left; + padding-right: 5px; + margin-right: 5px; +} +#photo-edit-link, +#album-edit-link a { + background: url("../../../images/icons/16/edit.png") no-repeat left center; + padding-left: 18px; +} +#photo-toprofile-link { + background: url("../../../images/icons/16/user.png") no-repeat left center; + padding-left: 18px; +} + +.photos-upload-link a, +#photo-top-upload-link { + background: url("../../../images/icons/16/add.png") no-repeat left center; + padding-left: 18px; +} + + +.photo-top-image-wrapper, +.photo-album-image-wrapper { float: left; margin: 0px 10px 10px 0px; + width:@photosize; height: @photosize; + position: relative; + overflow: hidden; + + img { width: @photosize; } + + .photo-top-album-name, + .caption{ + position: absolute; + color: @Menu; + background-color: @MenuBg; + + width: 100%; + .shadow(0px, 5px); + .transition(0.5s); + bottom: -@photosize; + } + + &:hover .photo-top-album-name, + &:hover .caption { + bottom: 0px; + .shadow(0px, 0px); + .transition(0.5s); + } +} + +#photo-photo { + display: block; width: 660px; + padding: 50px; margin-bottom: 0px; + text-align: center; + background-color: @Grey3; + img { max-width: 560px; } +} +#photo-album-title { + background: url("../../../images/icons/22/image.png") no-repeat top left; + padding-left: 23px; + min-height: 22px; + a { display: block; padding-top: 5px; } } +#photo-caption { + display: block; width: 660px; + min-height: 55px; + background-color: @Grey2; + padding:0 50px 0 50px; +} +#photo-next-link > a > div { + background: url("icons/next.png") no-repeat center center; + float: right; + width: 50px; height: 50px; +} +#photo-prev-link > a > div { + background: url("icons/prev.png") no-repeat center center; + float: left; + width: 50px; height: 50px; +} +#photo-like-div { + display: block; width: 660px; + height: 30px; + background-color: @Grey2; + padding:0 50px 0 50px; + .icon {float: left;} + .like-rotator {float: right;} +} /* profile match wrapper */ .profile-match-wrapper { float: left; @@ -1229,25 +1470,24 @@ footer { height: 100px; display: table-row; } /* edit buttons for comments */ .icon.dim { opacity: 0.3;filter:alpha(opacity=30); } -[class^="comment-edit-bb"] { +.comment-edit-bb { list-style: none; display: none; - margin: 0px 0 0px 60px; + margin: 0px; + padding: 0px; width: 75%; } -[class^="comment-edit-bb"] > li { +.comment-edit-bb > li { display: inline-block; margin: 10px 10px 0 0; visibility: none; } -[class^="comment-edit-bb-end"] { - clear: both; -} + .editicon { display: inline-block; width: 16px; height: 16px; - background-image: url(bbedit.png); + background-image: url(icons/bbedit.png); text-decoration: none; :hover {background-color: #ccc;} } @@ -1268,18 +1508,49 @@ footer { height: 100px; display: table-row; } .videobb { background-position: -112px 0px; } .videobb:hover { background-position: -112px -16px; } -.attachtype { - display: block; width: 20px; height: 23px; + +/** range input css **/ +/* slider root element */ +.slider { + height:2px; + position:relative; + cursor:pointer; + border:1px solid #333; + width:200px; + margin:10px 0px 10px 0px; float: left; - background-image: url('../../../images/content-types.png'); } -.body-attach { - margin-top: 10px; +/* progress bar (enabled with progress: true) */ +.progress { + height:9px; + background-color:#C5FF00; + display:none; + opacity:0.6; +} + +/* drag handle */ +.handle { + background-color:#ccc; + height:16px; + width:8px; + top:-8px; + position:absolute; + display:block; + margin-top:1px; + border:1px solid #000; + cursor:move; + .roundbottom(); + .shadow(); + +} + +/* the input field */ +.range { + width: 20px!important; + font-size: 8pt; + margin-left: 10px; + border: 0px; + color: @FieldHelpColor; } -.type-video { background-position: 0px 0px; } -.type-image { background-position: -20px 0px; } -.type-audio { background-position: -40px 0px; } -.type-text { background-position: -60px 0px; } -.type-unkn { background-position: -80px 0px; }