]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/quattro/quattro.less
restore privacy icons after theme upgrade
[friendica.git] / view / theme / quattro / quattro.less
index d21c3c1826a39a4429098d7a1ccacd34e72b4f1a..95dd61adb73d3102224b5406eb5e083504915de3 100644 (file)
@@ -3,7 +3,7 @@
 /* global */
 body {
        font-family: Liberation Sans,helvetica,arial,clean,sans-serif;
-       font-size: 12px;
+       font-size: 10px;
        background-color: @BodyBackground;
        color: @BodyColor;
        margin: 50px 0px 0px 0px;
@@ -31,30 +31,25 @@ a:hover {color: @LinkHover; text-decoration: underline; }
 
 .left { float: left; }
 .right { float: right; }
+.hidden { display: none; }
 
-/* icons */
 
-
-.icons(@size: 22) {
-       &.notify { background-image: url("../../../images/icons/notify_off_@{size}.png"); }
-       &.gear   { background-image: url("../../../images/icons/gear_@{size}.png"); }
+.tool {
+       height: auto; overflow: auto;
+       .label { float: left;}
+       .action { float: right; }
 }
 
-
-.icon {
-       background-color: transparent ;
-       background-repeat: no-repeat;
-       background-position: center center;
-       display: block;
-       overflow: hidden;
-       text-indent: -9999px;
-
-       &.s22 {
-               width:22px; height: 22px;
-               padding: 1px;
-               .icons(22);
-       }
-       
+/* popup notifications */
+div.jGrowl div.notice {
+       background: @NoticeBackgroundColor url("../../../images/icons/48/notice.png") no-repeat 5px center;
+       color:  @NoticeColor;
+       padding-left: 58px;
+}
+div.jGrowl div.info {
+       background: @InfoBackgroundColor url("../../../images/icons/48/info.png") no-repeat 5px center;
+       color:  @InfoColor;
+       padding-left: 58px;
 }
 
 
@@ -156,7 +151,8 @@ nav {
                        .menu-popup{ right: 0px; left: auto; }
                }
        
-               #nav-notifications-linkmenu.selected .icon.s22.notify { background-image: url("../../../images/icons/notify_on_22.png") }
+               #nav-notifications-linkmenu.on .icon.s22.notify,
+               #nav-notifications-linkmenu.selected .icon.s22.notify { background-image: url("../../../images/icons/22/notify_on.png") }
                #nav-apps-link.selected { background-color: @NavbarSelectedBg; }
 }
 
@@ -175,16 +171,17 @@ ul.menu-popup {
        
        .shadow();
        
-               a { display: block; color: @MenuItem; padding: 5px 10px;}
+               a { display: block; color: @MenuItem; padding: 5px 10px; text-decoration: none;}
                a:hover { background-color: @MenuItemHoverBg; }
                .menu-sep  { border-top: 1px solid @MenuItemSeparator; }
                li { float: none;  overflow: auto; height: auto; display: block; }
-               
+               li img { float: left; width: 16px; height: 16px; padding-right: 5px;}
                .empty {
                        padding: 5px;
                        text-align: center;
                        color: @MenuEmpty;
                }
+               
 }
 
 #nav-notifications-menu {
@@ -208,7 +205,7 @@ aside {
                .fn { font-size: 16px; font-weight: bold; margin-bottom: 5px; }
                .title { margin-bottom: 5px; }
                dl { height: auto; overflow: auto; }
-               dt {float: left; margin-left: 0px; width: 35%; }
+               dt {float: left; margin-left: 0px; width: 35%; text-align: right; color: @VCardLabelColor; }
                dd {float: left; margin-left: 4px; width: 60%;}
        
        }
@@ -230,6 +227,22 @@ aside {
                &:hover { text-decoration: none; background-color: @AsideConnectHoverBg; }
        }
 
+       #profiles-menu { width: 20em; }
+
+}
+
+#contact-block {
+       overflow: auto; height: auto;
+       .contact-block-h4 { float: left; margin: 5px 0px; }
+       .allcontact-link { float: right; margin: 5px 0px; }
+       .contact-block-content {
+               clear: both;
+               overflow: auto; height: auto;
+       }
+       .contact-block-link {
+               float: left;
+               margin: 0px 2px 2px 0px;
+       }
 }
 
 
@@ -241,3 +254,58 @@ section {
        width: 800px;
        padding:0px 20px 0px 10px;
 }
+
+/* wall item */
+.tread-wrapper { 
+       background-color: @ThreadBackgroundColor; 
+       position: relative;
+       padding: 10px;
+       margin-bottom: 20px;
+}
+.wall-item-decor { position: absolute; left: 790px; top: -10px;  width: 16px;}
+.unstarred { display: none; }
+
+.wall-item-container {
+       display: table;
+       width: 780px;
+       margin-bottom: 10px;
+       
+       .wall-item-item,
+       .wall-item-bottom { display: table-row; }
+       .wall-item-info {
+               display: table-cell;
+               vertical-align: top;
+               text-align: left;
+               width: 60px;
+               
+               .wall-item-photo-wrapper { position: relative; }
+               .wall-item-photo { width: 48px; height: 48px; }         
+               
+               .wall-item-photo-menu-button {
+                       display: none;
+                       position: absolute;
+                       left: -4px;
+                       top: 28px;
+               }
+               .wall-item-photo-menu { display: none; }
+               
+       } 
+       .wall-item-content {
+               display: table-cell;
+               font-size: 12px;
+               max-width: 720px;
+               word-wrap: break-word;
+       }
+       .wall-item-content img { max-width: 710px; }
+       .wall-item-links,
+       .wall-item-actions { display: table-cell; }
+       
+       .wall-item-ago { padding-right: 40px; }
+}
+.wall-item-container.comment {
+       .wall-item-photo { width: 32px; height: 32px; margin-left: 16px;}       
+       .wall-item-photo-menu-button {
+               top: 13px !important;
+               left: 10px !important;
+       }
+}