]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/dispy/dark/style.less
slight re-design of wall stuff and css/font cleaning
[friendica.git] / view / theme / dispy / dark / style.less
index 96c92947f9c6e8aa0fafe5c27d325ad0ac3aa8cd..7634db1d729c77ae243b74353d011897ad9cb3ef 100644 (file)
@@ -90,6 +90,9 @@ tr:nth-child(even) {
 //outline-style                Sets the style of an outline    dotted,dashed,solid,double,groove,ridge,inset,outset,inherit
 //outline-width                Sets the width of an outline    thin,medium,thick,length,inherit
 :focus {
+       outline: none;
+}
+a:focus {
        outline: invert, dashed, thin;
 }
 [disabled="disabled"] {
@@ -260,30 +263,6 @@ h6 {
 .smalltext {
        font-size: 0.7em;
 }
-#panel {
-       position: absolute;
-       .rounded_corners;
-       .borders(1px, solid, @main_alt_colour);
-       background-color: @bg_alt_colour;
-       color: @main_colour;
-       padding: 1em;
-}
-.pager {
-       margin-top: 60px;
-       display: block;
-       clear: both;
-       text-align: center;
-       font-size: small;
-       font-weight: bold;
-       span {
-               padding: 4px;
-               margin: 4px;
-       }
-}
-.pager_current {
-       background-color: @link_colour;
-       color: @bg_colour;
-}
 
 
 /**
@@ -301,10 +280,30 @@ h6 {
        .box(100%, 100%);
        margin: 0 auto;
 }
+.button,
+#profile-listing-desc {
+       .box(25%, auto);
+       background: @menu_bg_colour;
+       color: @main_colour;
+       .borders(2px, outset, darken(@menu_bg_colour, 20%));
+       .rounded_corners;
+       padding: 5px;
+       font-size: smaller;
+       cursor: pointer;
+       &.active {
+               .box_shadow(4px, 4px, 7px);
+       }
+       a {
+               color: @main_colour;
+               font-size: smaller;
+               font-weight: bold;
+       }
+}
 [class$="-desc"],
 [id$="-desc"] {
        color: @bg_colour;
-       background: @main_colour;
+       // background: @main_colour;
+       .borders(1px, outset, @main_colour);
        .rounded_corners;
        // .box_shadow(3px, 3px, 5px);
     margin: 3px 10px 7px 0;
@@ -448,9 +447,11 @@ ul#user-menu-popup {
                a {
                        display: block;
                        padding: 5px;
+                       color: @main_alt_colour;
+                       background-color: @menu_bg_colour;
                        &:hover {
-                               color: @main_colour;
-                               background-color: @bg_alt_colour;
+                               color: @bg_colour;
+                               background-color: @main_alt_colour;
                        }
                        &.nav-sep {
                                border-top: 1px solid @bg_alt_colour; } } }
@@ -652,13 +653,19 @@ nav #nav-notifications-linkmenu {
        background: @dk_bg_colour;
        .rounded_corners;
 }
-#search-text {
-       .borders;
+#search-text,
+#mini-search-text {
        background: @bg_colour;
        color: @main_colour;
-       font-size: 8pt;
        margin: 8px;
-       .box(10em, 14px);
+}
+#search-text {
+       .borders;
+}
+#mini-search-text {
+       font-size: 8pt;
+       height: 14px;
+       width: 10em;
 }
 #scrollup {
        position: fixed;
@@ -699,7 +706,7 @@ nav #nav-notifications-linkmenu {
 .nav-ajax-left {
        .box(30px, 19px);
        background: transparent url(dark/notifications.png) 0 0 no-repeat;
-       color: @main_colour;
+       color: @shadow_colour;
        font-weight: bold;
        font-size: 0.8em;
        padding-top: 0.2em;
@@ -749,7 +756,8 @@ nav #nav-notifications-linkmenu {
        color: @bg_colour;
        margin: 0px;
        padding: 0px;
-       .borders(3px, solid, @shiny_colour);
+       .borders(3px, solid, @link_colour);
+       .rounded_corners;
        z-index: 100000;
        .box_shadow;
        a {
@@ -758,7 +766,8 @@ nav #nav-notifications-linkmenu {
                padding: 5px 10px;
                text-decoration: none;
                &:hover {
-                       background-color: lighten(@shiny_colour, 55%);
+                       color: @main_colour;
+                       background-color: @link_colour;
                }
        }
        .menu-sep {
@@ -792,7 +801,11 @@ nav #nav-notifications-linkmenu {
        padding: 7px 7px 0px 0px;
 }
 .notify-seen {
-       background: darken(@main_alt_colour, 20%);
+       background: @disabled_colour;
+       color: @main_colour;
+}
+.notify-unseen {
+       color: @main_colour;
 }
 
 
@@ -1078,11 +1091,10 @@ nav #nav-notifications-linkmenu {
 #profile-jot-perms {
        float: right;
        color: @menu_bg_colour;
-       background-color: @main_colour;
        .box(20px, 20px);
        .rounded_corners;
        .box_shadow(3px, 3px, 5px, 0);
-       .borders(2px, outset, @main_alt_colour);
+       .borders(2px, outset, @menu_bg_colour);
        overflow: hidden;
        margin: 0 10px 0 10px;
 }
@@ -1112,9 +1124,10 @@ nav #nav-notifications-linkmenu {
        }
 }
 #jot-perms-icon {
-       .box(20px, 22px);
+       .box(22px, 22px);
        .rounded_corners;
        overflow: hidden;
+       background: @menu_bg_colour url("dark/icons.png") -88px -40px;
 }
 #group_allow_wrapper,
 #group_deny_wrapper,
@@ -1156,6 +1169,9 @@ nav #nav-notifications-linkmenu {
        color: darken(@main_alt_colour, 13%);
 }
 #profile-jot-desc {
+       background: @bg_colour;
+       .borders;
+       .rounded_corners;
        color: @red_orange;
        margin: 5px 0;
 }
@@ -1169,9 +1185,9 @@ nav #nav-notifications-linkmenu {
        display: none;
 }
 #jot-preview-content {
-       background-color: @bg_alt_colour;
+       background-color: @shiny_colour;
        color: @main_colour;
-       .borders(1px, solid, @main_colour);
+       .borders(1px, solid, @bg_colour);
        .rounded_corners;
        .box_shadow(5px, 0, 10px);
        padding: 3px 3px 6px 10px;
@@ -1211,7 +1227,6 @@ nav #nav-notifications-linkmenu {
        .borders(1px, solid, @hover_colour);
        padding: 4px;
        &:hover,
-       &.active:hover,
        &:active {
                background: @shiny_colour;
                color: @main_colour;
@@ -1221,6 +1236,11 @@ nav #nav-notifications-linkmenu {
                background: @main_colour;
                color: @bg_colour;
                .borders(1px, solid, @hover_colour);
+               &:hover {
+                       background: @shiny_colour;
+                       color: @main_colour;
+                       .borders(1px, solid, @hover_colour);
+               }
                a {
                        color: @bg_colour;
                        text-decoration: none;
@@ -1287,7 +1307,7 @@ nav #nav-notifications-linkmenu {
 }
 .wall-item-info {
        float: left;
-       width: 110px;
+       width: 8em;
 }
 .wall-item-photo-wrapper {
        .box(80px, 80px);
@@ -1352,16 +1372,21 @@ nav #nav-notifications-linkmenu {
        }
 }
 .wall-item-author,
-.wall-item-actions-author {
+.wall-item-actions-author,
+.wall-item-ago {
        clear: left;
        float: left;
-       font-size: 0.8em;
-       color: lighten(@menu_bg_colour, 20%);
-       margin: 1em auto 0 0.2em;
+       color: @main_colour;
+       line-height: 1;
+       display: inline-block;
+       font-size: 0.75em;
+       margin: 0.5em auto 0;
 }
-.wall-item-ago {
-       display: inline;
-       padding-left: 10px;
+.wall-item-author,
+.wall-item-actions-author {
+       margin: 0.5em auto 0;
+       font-size: 0.75em;
+       font-weight: bold;
 }
 .wall-item-location {
        margin-top: 15px;
@@ -1371,7 +1396,8 @@ nav #nav-notifications-linkmenu {
        .icon {
                float: left;
        }
-       > a, .smalltext {
+       > a,
+       .smalltext {
                margin-left: 25px;
                font-size: 0.7em;
                display: block;
@@ -1405,7 +1431,8 @@ nav #nav-notifications-linkmenu {
 }
 .wall-item-photo-menu {
        min-width: 92px;
-       .borders(2px, solid, white);
+       font-size: 0.75em;
+       .borders(2px, solid, @menu_bg_colour);
        border-top: 0px;
        background: @menu_bg_colour;
        position: absolute;
@@ -1417,7 +1444,7 @@ nav #nav-notifications-linkmenu {
        li a {
                white-space: nowrap;
                display: block;
-               padding: 5px 2px;
+               padding: 5px 6px;
                color: @main_alt_colour;
                &:hover {
                        color: @menu_bg_colour;
@@ -1446,6 +1473,9 @@ nav #nav-notifications-linkmenu {
        font-size: 0.9em;
        margin-left: 5em;
 }
+.hide-comments-outer {
+       font-size: small;
+}
 .wall-item-outside-wrapper.comment {
        margin-left: 5em;
        .wall-item-photo {
@@ -1460,9 +1490,6 @@ nav #nav-notifications-linkmenu {
                top: 45px;
                background-position: 35px center;
        }
-       .wall-item-info {
-               width: 60px;
-       }
        .wall-item-body {
                margin-left: 10px;
        }
@@ -2323,8 +2350,8 @@ div {
        padding: 3px;
        &:hover {
                color: @bg_colour;
-               background: @link_colour;
-               font-weight: bold;
+               background: @shiny_colour;
+               .borders(1px, solid, @hover_colour);
                padding: 3px;
        }
 }
@@ -2355,7 +2382,8 @@ div {
        .borders(1px, solid, darken(@main_alt_colour, 33.5%));
        margin-right: 3px;
        width: 75%;
-       &:hover, &:focus {
+       &:hover,
+       &:focus {
                background-color: @main_alt_colour;
                color: darken(@main_alt_colour, 80%);
                .borders(1px, solid, darken(@main_alt_colour, 73.5%));
@@ -2454,13 +2482,13 @@ div {
                }
                &#users {
                        padding: 5px;
-               }
-               &#users img {
-                       .box(16px, 16px);
-               }
-               &#users a {
-                       color: @main_colour;
-                       text-decoration: underline;
+                   img {
+                           .box(16px, 16px);
+               }
+            a {
+                           color: @main_colour;
+                           text-decoration: underline;
+            }
                }
        }
        td .icon {
@@ -2558,9 +2586,33 @@ div {
        }
 }
 #panel {
+       position: absolute;
+       font-size: small;
+       .rounded_corners;
+       .borders(1px, solid, @main_alt_colour);
+       background-color: @bg_alt_colour;
+       color: @main_colour;
+       padding: 1em;
        z-index: 100;
 }
-.grey, .gray {
+.pager {
+       margin-top: 60px;
+       display: block;
+       clear: both;
+       text-align: center;
+       font-size: small;
+       font-weight: bold;
+       span {
+               padding: 4px;
+               margin: 4px;
+       }
+}
+.pager_current {
+       background-color: @link_colour;
+       color: @bg_colour;
+}
+.grey,
+.gray {
        color: gray;
 }
 .orange {
@@ -2637,7 +2689,7 @@ div {
 .icon {
        display: block;
        .box;
-       background: url(dark/icons.png) no-repeat;
+       background: transparent url("dark/icons.png") no-repeat;
        border: 0;
        text-decoration: none;
        .rounded_corners;
@@ -2649,7 +2701,7 @@ div {
 .editicon {
        display: inline-block;
        .box(21px, 21px);
-       background: url(dark/editicons.png) no-repeat;
+       background: url("dark/editicons.png") no-repeat;
        border: 0;
        text-decoration: none;
 }
@@ -2914,6 +2966,7 @@ footer {
        margin: 0 10px;
        .borders(1px, solid, @menu_bg_colour);
        border-top: 0;
+       font-size: small;
        // .box_shadow;
 }
 #acl-wrapper {