]> 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 40c8835e67c761bd4f875a399f2af7b76bd97c6b..7634db1d729c77ae243b74353d011897ad9cb3ef 100644 (file)
@@ -1,19 +1,19 @@
 /*
- * dispy-dark
- *
+ * dispy dark
+ * Description: Dispy Dark: dark, sleek, functional
  * author, maintainer: simon <http://simon.kisikew.org/>
  * 
  * Author's notes:
  * A few things of note here. The less file is our working copy,
  * and the CSS is *generated* from it. The CSS is the one that's
  * included in the HTML, and not the less one. This is to save
- * bandwidth and processing time.
+ * bandwidth and processing time, by not including less.js.
  */
-/* from html5boilerplate */
-/* these are to tell browsers they should be displayed a certain way */
 
 @import "_base";
 
+///* from html5boilerplate */
+///* these are to tell browsers they should be displayed a certain way */
 article,
 aside,
 details,
@@ -34,20 +34,20 @@ time {
        *display: inline;
        *zoom: 1;
 }
-audio:not([controls]), [hidden] {
+audio:not([controls]),
+[hidden] {
        display: none;
 }
-/*
- * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
- * 2. Force vertical scrollbar in non-IE
- * 3. Prevent iOS text size adjust on device orientation change,
- *             without disabling user zoom: h5bp.com/g
- */
+///*
+// * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
+// * 2. Force vertical scrollbar in non-IE
+// * 3. Prevent iOS text size adjust on device orientation change,
+// *           without disabling user zoom: h5bp.com/g
+// */
 html {
        font-size: 100%;
        overflow-y: scroll;
-       -webkit-text-size-adjust: 100%;
-       -ms-text-size-adjust: 100%;
+       .font_size_adjust;
 }
 body {
        margin: 0;
@@ -56,16 +56,21 @@ body {
        color: @main_colour;
        background-color: @bg_colour;
 }
-button, input, select, textarea {
+button,
+input,
+select,
+textarea {
        color: @main_colour;
        background-color: @bg_colour;
 }
 select {
-       border: 1px #555 dotted;
+       .borders(1px, dotted, darken(@main_alt_colour, 60%));
        padding: 1px;
        margin: 3px;
        color: @main_colour;
        background: @bg_colour;
+    max-width: 85%;
+    min-width: 85px;
 }
 option {
        padding: 1px;
@@ -76,22 +81,27 @@ option {
                background: @main_colour;
        }
 }
-ul, ol {
-       .list_reset;
-}
 tr:nth-child(even) {
        background-color: lighten(@bg_colour, 10%);
 }
-/* remember to define focus styles! */
+///* remember to define focus styles! */
+//outline      Sets all the outline properties in one declaration
+//outline-color        Sets the color of an outline    color_name,hex_number,rgb_number,invert,inherit
+//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: 0;
+       outline: none;
+}
+a:focus {
+       outline: invert, dashed, thin;
 }
 [disabled="disabled"] {
        background: @med_bg_colour;
        color: @disabled_colour;
 }
-/* remember to highlight inserts somehow! */
-ins, mark {
+///* remember to highlight inserts somehow! */
+ins,
+mark {
        background-color: @bg_alt_colour;
        color: @lt_main_colour;
 }
@@ -102,14 +112,19 @@ mark {
        font-style: italic;
        font-weight: bold;
 }
-/* Redeclare monospace font family: h5bp.com/j */
-pre, code, kbd, samp, .wall-item-body code {
+///* Redeclare monospace font family: h5bp.com/j */
+pre,
+code,
+kbd,
+samp,
+.wall-item-body code {
        font-family: monospace, monospace;
        _font-family: monospace;
        font-size: 1em;
 }
-/* Improve readability of pre-formatted text in all browsers */
-pre, .wall-item-body code {
+///* Improve readability of pre-formatted text in all browsers */
+pre,
+.wall-item-body code {
        .wrap;
 }
 q {
@@ -119,11 +134,22 @@ q {
                content: none;
        }
 }
+em {
+       font-style: italic;
+}
+strong {
+       font-weight: bold;
+}
+strike {
+       text-decoration: line-through;
+}
 small {
        font-size: 85%;
 }
-/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
-sub, sup {
+///* Position subscript and superscript content without affecting
+// * line-height: h5bp.com/k */
+sub,
+sup {
        font-size: 75%;
        line-height: 0;
        position: relative;
@@ -151,16 +177,78 @@ a {
        }
 }
 blockquote {
-       background: #444;
+       background: darken(@main_alt_colour, 66.5%);
        color: @main_colour;
        text-indent: 5px;
        padding: 5px;
-       border: 1px #aaa solid;
+       .borders(1px, solid, darken(@main_alt_colour, 33%));
        .rounded_corners;
 }
+label {
+       width: 38%;
+       display: inline-block;
+       font-size: small;
+       margin: 0 10px 1em 0;
+       .borders(1px, solid, @bg_colour);
+       padding: 5px;
+       background: @main_colour;
+       color: darken(@main_alt_colour, 86.5%);
+       .box_shadow(3px, 3px, 5px);
+}
+input {
+       .box(250px, 25px);
+       .borders(1px, solid, darken(@main_alt_colour, 33.5%));
+       &[type="checkbox"],
+       &[type="radio"] {
+               margin: 0;
+               .box(15px, 15px);
+       }
+       &[type="submit"],
+       &[type="button"] {
+               background-color: @main_alt_colour;
+               .borders(2px, outset, darken(@main_alt_colour, 24%));
+               .rounded_corners;
+               .box_shadow(1px, 3px, 4px, 0);
+               color: @bg_alt_colour;
+               cursor: pointer;
+               font-weight: bold;
+               width: auto;
+               .text_shadow;
+       }
+       &[type="submit"]:active,
+       &[type="button"]:active {
+               .box_shadow(0, 0, 0, 0);
+       }
+}
+h1, h2, h3,
+h4, h5, h6 {
+       margin: 10px 0px;
+       font-weight: bold;
+       border-bottom: 1px solid @hover_colour;
+}
+h1 {
+       font-size: x-large;
+}
+h2 {
+       font-size: large;
+}
+h3 {
+       font-size: medium;
+}
+h4 {
+       font-size: small;
+}
+h5 {
+       font-size: x-small;
+}
+h6 {
+       font-size: xx-small;
+}
+
+//
 .required {
        display: inline;
-       color: #ff0;
+       color: red;
        font-size: 16px;
        font-weight: bold;
        margin: 3px;
@@ -175,28 +263,6 @@ blockquote {
 .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;
-       span {
-               padding: 4px;
-               margin: 4px;
-       }
-}
-.pager_current {
-       background-color: @link_colour;
-       color: @main_alt_colour;
-}
 
 
 /**
@@ -214,14 +280,69 @@ blockquote {
        .box(100%, 100%);
        margin: 0 auto;
 }
-[class$="-desc"], [id$="-desc"] {
+.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;
+       .borders(1px, outset, @main_colour);
+       .rounded_corners;
+       // .box_shadow(3px, 3px, 5px);
+    margin: 3px 10px 7px 0;
+    padding: 5px;
+       font-weight: bold;
+       font-size: smaller;
+}
+#item-delete-selected-desc {
+       float: left;
+       margin-right: 5px;
+       &:hover {
+               text-decoration: underline;
+       }
+}
+.intro-approve-as-friend-desc {
+       margin-top: 10px;
+}
+.intro-desc {
+       margin-bottom: 20px;
+       font-weight: bold;
+}
+#group-edit-desc {
+       margin: 10px 0px;
+}
+#settings-nickname-desc {
        background: @main_colour;
        .rounded_corners;
-       .box_shadow(3px, 3px, 5px);
-       padding: 3px;
-       margin: 5px 0;
+       .borders;
+       padding: 5px;
+       color: @bg_colour;
+}
+.contactname,
+.contact-name {
        font-weight: bold;
+       font-size: smaller;
+}
+.contact-details {
+       font-style: italic;
+       font-size: smaller;
 }
 
 
@@ -276,7 +397,8 @@ blockquote {
                overflow: hidden !important; }
        label {
                width: 180px !important;
-       } }
+       }
+}
 
 
 /**
@@ -315,6 +437,8 @@ ul#user-menu-popup {
        margin: 0px;
        top: 20px;
        left: 0;
+       font-size: small;
+       line-height: 1;
        .rounded_corners(0 0 5px 5px);
        .box_shadow(5px, 5px, 10px, 0px);
        z-index: 10000;
@@ -323,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; } } }
@@ -341,44 +467,54 @@ nav .nav-link {
 #nav-apps-link {
        background-position: 0 -66px;
        &:hover {
-               background-position: -22px -66px; }
+               background-position: -22px -66px;
+       }
 }
-#nav-community-link, #nav-contacts-link {
+#nav-community-link,
+#nav-contacts-link {
        background-position: 0 -22px;
        &:hover {
-               background-position: -22px -22px; }
+               background-position: -22px -22px;
+       }
 }
 #nav-directory-link {
        background-position: -44px -154px;
        &:hover {
-               background-position: -66px -154px; }
+               background-position: -66px -154px;
+       }
 }
 #nav-help-link {
        background-position: 0 -110px;
        &:hover {
-               background-position: -22px -110px; }
+               background-position: -22px -110px;
+       }
 }
 #nav-home-link {
        background-position: -44px -132px;
        &:hover {
-               background-position: -66px -132px; }
+               background-position: -66px -132px;
+       }
 }
 #nav-intro-link {
        background-position: 0px -190px;
        &:hover {
-               background-position: -44px -190px; }
+               background-position: -44px -190px;
+       }
 }
 #nav-login-link, #nav-logout-link {
        background-position: 0 -88px;
        &:hover {
-               background-position: -22px -88px; }
+               background-position: -22px -88px;
+       }
 }
 #nav-messages-link {
        background-position: -44px -88px;
        &:hover {
-               background-position: -66px -88px; }
+               background-position: -66px -88px;
+       }
 }
-#nav-notify-link, #nav-notifications-linkmenu {
+#nav-notify-link,
+#nav-notifications-linkmenu {
        background-position: -44px -110px;
 }
 #nav-notify-link:hover {
@@ -387,7 +523,8 @@ nav .nav-link {
 #nav-network-link {
        background-position: 0px -177px;
        &:hover {
-               background-position: -22px -177px; }
+               background-position: -22px -177px;
+       }
 }
 #nav-search-link {
        background-position: 0 -44px;
@@ -417,9 +554,7 @@ nav .nav-link {
 .pointer {
        cursor: pointer;
 }
-
-/* popup notifications */
-
+//* popup notifications */
 div.jGrowl div {
        &.notice {
                background: @notice url("../../../images/icons/48/notice.png") no-repeat 5px center;
@@ -434,16 +569,12 @@ div.jGrowl div {
                margin-top: 50px;
        }
 }
-
 #nav-notifications-menu {
        margin: 30px 0 0 -20px;
        width: 275px;
        max-height: 300px;
        overflow-y: auto;
        font-size: 9pt;
-       .contactname {
-           font-weight: bold;
-               font-size: 0.9em; }
        img {
                float: left;
                margin-right: 5px; }
@@ -458,9 +589,9 @@ div.jGrowl div {
        }
        a:hover {
                color: black;
-               text-decoration: underline; }
+               text-decoration: underline;
+       }
 }
-
 nav #nav-notifications-linkmenu {
        &.on .icon.s22.notify,
        &.selected .icon.s22.notify {
@@ -473,9 +604,10 @@ nav #nav-notifications-linkmenu {
 }
 #notifications {
        .box(170px, 20px);
-       position: absolute;
+       font-size: small;
        top: -19px;
        left: 4px;
+       position: absolute;
 }
 #nav-floater {
        position: fixed;
@@ -488,7 +620,6 @@ nav #nav-notifications-linkmenu {
        z-index: 100;
        .box(300px, 60px);
 }
-
 #nav-buttons {
        clear: both;
        list-style: none;
@@ -522,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;
@@ -557,17 +694,19 @@ nav #nav-notifications-linkmenu {
        padding: 2px;
        > a {
                vertical-align: top;
+               outline: 0 none;
        }
 }
 #user-menu-label {
-       font-size: 12px;
+       font-size: small;
        padding: 3px 20px 9px 5px;
        height: 10px;
 }
-.nav-ajax-update, .nav-ajax-left {
+.nav-ajax-update,
+.nav-ajax-left {
        .box(30px, 19px);
        background: transparent url(dark/notifications.png) 0 0 no-repeat;
-       color: #222;
+       color: @shadow_colour;
        font-weight: bold;
        font-size: 0.8em;
        padding-top: 0.2em;
@@ -577,7 +716,8 @@ nav #nav-notifications-linkmenu {
        display: block;
        visibility: hidden;
 }
-.nav-ajax-update.show, .nav-ajax-left.show {
+.nav-ajax-update.show,
+.nav-ajax-left.show {
        visibility: visible;
 }
 #net-update {
@@ -616,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 {
@@ -625,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 {
@@ -659,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;
 }
 
 
@@ -688,7 +834,8 @@ nav #nav-notifications-linkmenu {
        padding-bottom: 50px;
        z-index: 1000;
 }
-#sysmsg_info br, #sysmsg br {
+#sysmsg_info br,
+#sysmsg br {
        display: block;
        margin: 2px 0px;
        border-top: 1px solid @main_colour;
@@ -700,21 +847,20 @@ nav #nav-notifications-linkmenu {
  */
 #asidemain {
        float: left;
-       font-size: smaller;
+       font-size: small;
        margin: 20px 0 20px 35px;
        width: 25%;
        display: inline;
 }
-
 /* for now, disappear these */
 #asideright, #asideleft {
        display: none;
 }
 .vcard {
        .fn {
-               font-size: 1.7em;
+               font-size: 1.5em;
                font-weight: bold;
-               border-bottom: 1px solid #729fcf;
+               border-bottom: 1px solid @hover_colour;
                padding-bottom: 3px;
        }
        #profile-photo-wrapper {
@@ -741,12 +887,12 @@ nav #nav-notifications-linkmenu {
                                padding: 3px;
                                position: relative; } } }
 }
-
 .aprofile dt {
        background: @main_colour;
        color: @bg_colour;
        font-weight: bold;
-       .box_shadow(1px 1px 5px 0);
+       .box_shadow(3px, 3px, 5px);
+       .rounded_corners;
        margin: 15px 0 5px;
        padding-left: 5px;
 }
@@ -854,7 +1000,7 @@ nav #nav-notifications-linkmenu {
        padding: 2px 20px 5px 0;
 }
 #profile-jot-text_parent {
-       .box_shadow(5px, 0, 10px, 0, @shadow_colour);
+       .box_shadow(5px, 0, 10px, 0);
 }
 #profile-jot-text_tbl {
        margin-bottom: 10px;
@@ -944,11 +1090,12 @@ nav #nav-notifications-linkmenu {
 }
 #profile-jot-perms {
        float: right;
-       background-color: @menu_bg_colour;
-       .box(22px, 22px);
+       color: @menu_bg_colour;
+       .box(20px, 20px);
        .rounded_corners;
+       .box_shadow(3px, 3px, 5px, 0);
+       .borders(2px, outset, @menu_bg_colour);
        overflow: hidden;
-       border: 0px;
        margin: 0 10px 0 10px;
 }
 #profile-jot-plugin-wrapper {
@@ -977,17 +1124,10 @@ nav #nav-notifications-linkmenu {
        }
 }
 #jot-perms-icon {
-       .box(20px, 22px);
+       .box(22px, 22px);
        .rounded_corners;
        overflow: hidden;
-}
-#profile-jot-acl-wrapper {
-       margin: 0 10px;
-       .borders(1px, solid, darken(@main_alt_colour, 60%));
-       border-top: 0;
-       display: block !important;
-       .borders(1px solid @menu_bg_colour);
-       .box_shadow;
+       background: @menu_bg_colour url("dark/icons.png") -88px -40px;
 }
 #group_allow_wrapper,
 #group_deny_wrapper,
@@ -1029,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;
 }
@@ -1042,14 +1185,16 @@ 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;
        .wall-item-outside-wrapper {
            border: 0;
                .rounded_corners(0px 0px 0px 0px);
+               .box_shadow(0, 0, 0, 0);
        }
 }
 
@@ -1076,21 +1221,29 @@ nav #nav-notifications-linkmenu {
        li {
                display: inline;
                font-size: smaller;
-               font-weight: bold;
        }
 }
 .tab {
-       .borders(1px, solid, @link_colour);
+       .borders(1px, solid, @hover_colour);
        padding: 4px;
-       &:hover, &.active:hover, &:active {
-               background: @link_colour;
-               color: @bg_colour;
+       &:hover,
+       &:active {
+               background: @shiny_colour;
+               color: @main_colour;
+               .borders(1px, solid, @hover_colour);
        }
        &.active {
                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;
                }
        }
        a {
@@ -1099,23 +1252,21 @@ nav #nav-notifications-linkmenu {
        }
 }
 
+
 /**
  * items
  */
 .wall-item-outside-wrapper {
-       .borders(1px, solid, #aaa);
+       .borders(1px, solid, darken(@main_alt_colour, 27%));
        .rounded_corners;
-       .box_shadow(5px, 0, 10px, 0);
+       .box_shadow(6px, 1px, 10px, -2px);//@lt_shadow_colour
        &.comment {
                margin-top: 5px;
        }
 }
-.wall-item-outside-wrapper-end {
-       clear: both;
-}
 .wall-item-content-wrapper {
        position: relative;
-       padding: 10px;
+       padding: 0.75em;
        width: auto;
 }
 .wall-item-outside-wrapper .wall-item-comment-wrapper {
@@ -1133,10 +1284,11 @@ nav #nav-notifications-linkmenu {
 }
 .wall-item-content {
        overflow-x: auto;
-       margin: 0px 15px 0px 5px;
+       margin: 0px 4em 1em 5px;
 }
-[id^="tread-wrapper"], [class^="tread-wrapper"] {
-       margin: 15px 0 0 0;
+[id^="tread-wrapper"],
+[class^="tread-wrapper"] {
+       margin: 1.2em 0 0 0;
        padding: 0px;
 }
 .wall-item-photo-menu {
@@ -1155,7 +1307,7 @@ nav #nav-notifications-linkmenu {
 }
 .wall-item-info {
        float: left;
-       width: 110px;
+       width: 8em;
 }
 .wall-item-photo-wrapper {
        .box(80px, 80px);
@@ -1182,22 +1334,22 @@ nav #nav-notifications-linkmenu {
 .wall-item-subtools1 {
        .box(30px, 30px);
        list-style: none outside none;
-       margin: 20px 0 30px -20px;
+       margin: 18px 0 30px -20px;
        padding: 0;
 }
 .wall-item-subtools2 {
        .box(25px, 25px);
        list-style: none outside none;
-       margin: -75px 0 0 5px;
+       margin: -78px 0 0 5px;
        padding: 0;
 }
 .wall-item-title {
        font-size: 1.2em;
        font-weight: bold;
-       margin-bottom: 1em;
+       margin-bottom: 1.4em;
 }
 .wall-item-body {
-       margin: 20px 20px 10px 0px;
+       margin: 15px 10px 10px 0px;
        text-align: left;
        overflow-x: auto;
 }
@@ -1212,21 +1364,29 @@ nav #nav-notifications-linkmenu {
        clear: left;
        font-size: 0.8em;
        color: lighten(@menu_bg_colour, 20%);
-       margin: 5px 0 5px 120px;
+       margin: 5px 0 5px 10.2em;
+       .transition;
+       opacity: 0.5;
+       &:hover {
+               opacity: 1;
+       }
 }
 .wall-item-author,
-.wall-item-actions-author {
-       clear: left;
-       font-size: 0.8em;
-       color: lighten(@menu_bg_colour, 20%);
-       margin: 20px 20px 0 110px;
-}
+.wall-item-actions-author,
 .wall-item-ago {
-       display: inline;
-       padding-left: 10px;
+       clear: left;
+       float: left;
+       color: @main_colour;
+       line-height: 1;
+       display: inline-block;
+       font-size: 0.75em;
+       margin: 0.5em auto 0;
 }
-.wall-item-wrapper-end {
-       clear: both;
+.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;
@@ -1236,7 +1396,8 @@ nav #nav-notifications-linkmenu {
        .icon {
                float: left;
        }
-       > a, .smalltext {
+       > a,
+       .smalltext {
                margin-left: 25px;
                font-size: 0.7em;
                display: block;
@@ -1270,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;
@@ -1278,11 +1440,11 @@ nav #nav-notifications-linkmenu {
        top: 101px;
        display: none;
        z-index: 10003;
-       .rounded_corners;
+       .rounded_corners(0 5px 5px 5px);
        li a {
                white-space: nowrap;
                display: block;
-               padding: 5px 2px;
+               padding: 5px 6px;
                color: @main_alt_colour;
                &:hover {
                        color: @menu_bg_colour;
@@ -1309,10 +1471,13 @@ nav #nav-notifications-linkmenu {
  */
 .ccollapse-wrapper {
        font-size: 0.9em;
-       margin-left: 80px;
+       margin-left: 5em;
+}
+.hide-comments-outer {
+       font-size: small;
 }
 .wall-item-outside-wrapper.comment {
-       margin-left: 80px;
+       margin-left: 5em;
        .wall-item-photo {
                width: 40px !important;
                height: 40px !important;
@@ -1325,14 +1490,11 @@ nav #nav-notifications-linkmenu {
                top: 45px;
                background-position: 35px center;
        }
-       .wall-item-info {
-               width: 60px;
-       }
        .wall-item-body {
                margin-left: 10px;
        }
        .wall-item-author {
-               margin-left: 50px;
+               margin-left: 0.2em;
        }
        .wall-item-photo-menu {
                min-width: 50px;
@@ -1340,7 +1502,7 @@ nav #nav-notifications-linkmenu {
        }
 }
 .comment-wwedit-wrapper {
-  /*margin: 30px 0px 0px 80px;*/
+       /*margin: 30px 0px 0px 80px;*/
 }
 .comment-edit-wrapper {
        border-top: 1px #aaa solid;
@@ -1368,16 +1530,15 @@ nav #nav-notifications-linkmenu {
        .box(40px, 40px);
        padding: 5px;
 }
-
 [class^="comment-edit-text"] {
        margin: 5px 0 10px 20px;
-       width: 84.5%;
+       width: 94%;
 }
 .comment-edit-text-empty {
        height: 20px;
-       border: 2px #c8bebe solid;
+       .med_borders;
        .rounded_corners;
-       color: #c8bebe;
+       color: @med_border_colour;
        .transition;
        &:hover {
                color: darken(@main_alt_colour, 33.5%);
@@ -1410,6 +1571,7 @@ nav #nav-notifications-linkmenu {
     border-bottom: 1px dashed darken(@main_alt_colour, 13.5%);
     border-left: 5px solid darken(@main_alt_colour, 13.5%);
     border-top: 1px dashed darken(@main_alt_colour, 13.5%);
+       color: @main_colour;
     display: block;
     overflow-x: auto;
     padding: 5px 0 15px 10px;
@@ -1482,7 +1644,7 @@ div {
 .photo-album-image-wrapper,
 .photo-top-image-wrapper {
        float: left;
-       .box_shadow;
+       .box_shadow(3px, 3px, 10px, 0);
        background-color: darken(@main_alt_colour, 80%);
        color: @bg_colour;
        .rounded_corners;
@@ -1493,7 +1655,8 @@ div {
 #photo-photo {
        max-width: 100%;
        img {
-               max-width: 100%; }
+               max-width: 100%;
+       }
 }
 .photo-top-image-wrapper a:hover,
 #photo-photo a:hover,
@@ -1503,7 +1666,8 @@ div {
 .photo-top-photo, .photo-album-photo {
        .rounded_corners(5px 5px 0 0);
 }
-.photo-top-album-name, .caption {
+.photo-top-album-name,
+.caption {
        position: absolute;
        bottom: 0;
        padding: 0 5px;
@@ -1638,7 +1802,8 @@ div {
        font-size: 0.9em;
        padding-left: 10px;
 }
-.mail-list-sender-name, .mail-list-date {
+.mail-list-sender-name,
+.mail-list-date {
        font-style: italic;
 }
 .mail-list-subject {
@@ -1680,10 +1845,11 @@ div {
 /**
  * contacts
  */
-.view-contact-wrapper, .contact-entry-wrapper {
+.view-contact-wrapper,
+.contact-entry-wrapper {
        float: left;
        margin: 0 5px 40px 0;
-       .box(120px, 120px);
+       .box(120px, 135px);
        padding: 3px;
        position: relative;
 }
@@ -1696,13 +1862,16 @@ div {
        top: 60px;
 }
 .contact-entry-photo-wrapper {}
-
 .contact-entry-photo {
        margin-left: 20px;
 }
 .contact-entry-name {
        width: 120px;
        font-weight: bold;
+       font-size: small;
+}
+.contact-entry-details {
+       font-size: x-small;
 }
 .contact-entry-photo {
        position: relative;
@@ -1764,7 +1933,8 @@ div {
 #contact-edit-info_tbl,
 #contact-edit-info_parent,
 .mceLayout {
-       width: 100%; }
+       width: 100%;
+}
 #contact-edit-end {
        clear: both;
        margin-bottom: 65px;
@@ -1807,18 +1977,11 @@ div {
  * register, settings & profile forms
  */
 .openid {}
-
 #id_openid_url {
        background: url(dark/login-bg.gif) no-repeat;
        background-position: 0 50%;
        padding-left: 18px;
 }
-#settings-nickname-desc {
-       background-color: @main_colour;
-       .rounded_corners;
-       padding: 5px;
-       color: @shadow_colour;
-}
 #settings-default-perms {
        margin-bottom: 20px;
 }
@@ -1847,8 +2010,9 @@ div {
 #profile-edit-marital-label span {
        margin: -4px;
 }
-.settings-submit-wrapper, .profile-edit-submit-wrapper {
-       margin: 0 0 30px -3px;
+.settings-submit-wrapper,
+.profile-edit-submit-wrapper {
+       margin: 0 0 30px;
 }
 .profile-edit-side-div {
        display: none;
@@ -1859,7 +2023,6 @@ div {
 .profile-edit-side-link {
     margin: 3px 0px 0px 70px;
 }*/
-
 #profiles-menu-trigger {
        margin: 0px 0px 0px 25px;
 }
@@ -1915,19 +2078,16 @@ div {
        margin: 0 0 10px 0;
        display: inline;
 }
-#group-edit-desc {
-       margin: 10px 0px;
-}
 #group-members, #prof-members {
        height: 200px;
        overflow: auto;
-       .borders(1px, solid, #555753);
+       .borders(1px, solid, @menu_bg_colour);
        .rounded_corners(5px 5px 0 0);
 }
 #group-all-contacts, #prof-all-contacts {
        height: 200px;
        overflow: auto;
-       .borders(1px, solid, #555753);
+       .borders(1px, solid, @menu_bg_colour);
        .rounded_corners(0 0 5px 5px);
 }
 #group-members h3,
@@ -1935,7 +2095,7 @@ div {
 #prof-members h3,
 #prof-all-contacts h3 {
        color: @main_alt_colour;
-       background-color: #555753;
+       background-color: @menu_bg_colour;
        margin: 0;
        padding: 5px;
 }
@@ -1965,10 +2125,6 @@ div {
        font-size: 1.1em;
        font-weight: bold;
 }
-.intro-desc {
-       margin-bottom: 20px;
-       font-weight: bold;
-}
 .intro-note {
        padding: 10px;
 }
@@ -1978,11 +2134,11 @@ div {
 .intro-form {
        float: left;
 }
-.intro-approve-form,
-.intro-approve-as-friend-end {
+.intro-approve-form {
        clear: both;
 }
-.intro-submit-approve, .intro-submit-ignore {
+.intro-submit-approve,
+.intro-submit-ignore {
        margin-right: 20px;
 }
 .intro-submit-approve {
@@ -1998,14 +2154,11 @@ div {
        clear: both;
        margin-bottom: 10px;
 }
-.intro-approve-as-friend-desc {
-       margin-top: 10px;
-}
 .intro-approve-as-end {
        clear: both;
        margin-bottom: 10px;
 }
-.intro-end, .clear {
+.clear {
        clear: both;
 }
 
@@ -2022,7 +2175,9 @@ div {
 }
 .vevent {
        border: 1px solid darken(@main_alt_colour, 13.5%);
-       .event-description, .event-location, .event-start {
+       .event-description,
+       .event-location,
+       .event-start {
                margin-left: 10px;
                margin-right: 10px;
        }
@@ -2030,7 +2185,8 @@ div {
 #new-event-link {
        margin-bottom: 10px;
 }
-.edit-event-link, .plink-event-link {
+.edit-event-link,
+.plink-event-link {
   /*float: left;      */
   /*margin-top: 4px;  */
   /*margin-right: 4px;*/
@@ -2064,7 +2220,8 @@ div {
        font-weight: bold;
        color: red;
 }
-#event-start-text, #event-finish-text {
+#event-start-text,
+#event-finish-text {
        margin-top: 10px;
        margin-bottom: 5px;
 }
@@ -2083,7 +2240,8 @@ div {
 #event-share-break {
        clear: both;
 }
-#event-desc-text, #event-location-text {
+#event-desc-text,
+#event-location-text {
        margin-top: 10px;
        margin-bottom: 5px;
 }
@@ -2097,11 +2255,13 @@ div {
                opacity: 1.0 !important;
        }
 }
-.filesavetags, .categorytags {
+.filesavetags,
+.categorytags {
        margin: 20px 0;
        opacity: 0.5;
 }
-.filesavetags:hover, .categorytags:hover {
+.filesavetags:hover,
+.categorytags:hover {
        margin: 20px 0;
        opacity: 1.0 !important;
 }
@@ -2129,13 +2289,6 @@ div {
        float: left;
        margin-right: 5px;
 }
-#item-delete-selected-desc {
-       float: left;
-       margin-right: 5px;
-       &:hover {
-               text-decoration: underline;
-       }
-}
 .fc-state-highlight {
        background: @main_colour;
        color: @bg_colour;
@@ -2167,13 +2320,15 @@ div {
        padding: 3px;
        color: @bg_colour;
        background: @main_colour;
-       font-weight: bold;
+       .borders(1px, solid, @link_colour);
 }
 .group-selected:hover,
 .nets-selected:hover,
 .fileas-selected:hover {
+       padding: 3px;
        color: @link_colour;
        background: @bg_colour;
+       .borders(1px, solid, @link_colour);
 }
 .groupsideedit {
        margin-right: 10px;
@@ -2195,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;
        }
 }
@@ -2214,7 +2369,8 @@ div {
        &:hover {
                /*background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #b20202), color-stop(1, #d60808) );*/
                /*background: -moz-linear-gradient( center top, #b20202 5%, #d60808 100% );*/
-               /*background-color: #b20202;*/ }
+               /*background-color: #b20202;*/
+       }
        &:active {
                position: relative;
                top: 1px;
@@ -2226,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%));
@@ -2238,7 +2395,8 @@ div {
                margin: 10px 0 0;
        }
 }
-.nets-link, .nets-all {
+.nets-link,
+.nets-all {
        margin-left: 0px;
 }
 #netsearch-box {
@@ -2274,6 +2432,7 @@ div {
        background: @bg_colour;
        margin: 5px;
        padding: 10px;
+       font-size: smaller;
        dl {
            clear: left;
                margin-bottom: 2px;
@@ -2314,28 +2473,38 @@ div {
                border-bottom: 1px solid @shadow_colour;
                margin: 5px 0;
                th {
+                       font-weight: bold;
                        text-align: left;
                }
+               td {
+                       padding: 5px;
+                       vertical-align: middle;
+               }
+               &#users {
+                       padding: 5px;
+                   img {
+                           .box(16px, 16px);
+               }
+            a {
+                           color: @main_colour;
+                           text-decoration: underline;
+            }
+               }
        }
        td .icon {
                float: left;
        }
-       table {
-               &#users img {
-                       .box(16px, 16px);
-               }
-       }
        .selectall {
                text-align: right;
        }
-       #users a {
-               color: @main_colour;
-               text-decoration: underline;
-       }
 }
 #users .name {
        color: @main_colour;
 }
+#users .tools {
+       padding: 5px 0;
+       vertical-align: middle;
+}
 
 
 /**
@@ -2343,16 +2512,6 @@ div {
  */
 .field {
        overflow: auto;
-       label {
-               width: 38%;
-               display: inline-block;
-               font-size: 1.077em;
-               margin: 0 10px 1em 0;
-               border: 1px @bg_colour solid;
-               padding: 5px;
-               background: @main_colour;
-               color: #111;
-       }
 }
 .field .onoff {
        float: right;
@@ -2392,46 +2551,11 @@ div {
        display: block;
        margin-left: 297px;
        color: darken(@main_alt_colour, 24%);
+       font-size: small;
 }
 .field.radio .field_help {
        margin-left: 297px;
 }
-label {
-       width: 38%;
-       display: inline-block;
-       font-size: 1.077em;
-       margin: 0 10px 1em 0;
-       .borders(1px, solid, @bg_colour);
-       padding: 5px;
-       background: @main_colour;
-       color: darken(@main_alt_colour, 86.5%);
-       .box_shadow(3px, 3px, 5px);
-}
-input {
-       .box(250px, 25px);
-       .borders(1px, solid, darken(@main_alt_colour, 33.5%));
-       &[type="checkbox"],
-       &[type="radio"] {
-               margin: 0;
-               .box(15px, 15px);
-       }
-       &[type="submit"],
-       &[type="button"] {
-               background-color: @main_alt_colour;
-               .borders(2px, outset, darken(@main_alt_colour, 24%));
-               .rounded_corners;
-               .box_shadow(1px, 3px, 4px, 0);
-               color: @bg_alt_colour;
-               cursor: pointer;
-               font-weight: bold;
-               width: auto;
-               .text_shadow;
-       }
-       &[type="submit"]:active,
-       &[type="button"]:active {
-               .box_shadow(0, 0, 0, 0);
-       }
-}
 
 
 /*
@@ -2462,9 +2586,33 @@ input {
        }
 }
 #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 {
@@ -2541,7 +2689,7 @@ input {
 .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;
@@ -2553,7 +2701,7 @@ input {
 .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;
 }
@@ -2718,7 +2866,7 @@ input {
        background-position: -110px -40px;
 }
 .attach {
-       background-position: -190px -40px;
+       background-position: -191px -40px;
 }
 .language {
        background-position: -210px -40px;
@@ -2751,6 +2899,7 @@ input {
        position: fixed;
        bottom: 40px;
        right: 30px;
+       z-index: 10;
 }
 .border {
        .borders(1px, solid, @border2);
@@ -2796,6 +2945,7 @@ footer {
 #profile-jot-text {
        height: 20px;
        color: @main_colour;
+       background: @bg_colour;
        .borders;
        .rounded_corners;
        width: 99.5%;
@@ -2812,6 +2962,13 @@ footer {
        background: @bg_colour;
        color: @main_colour;
 }
+#profile-jot-acl-wrapper {
+       margin: 0 10px;
+       .borders(1px, solid, @menu_bg_colour);
+       border-top: 0;
+       font-size: small;
+       // .box_shadow;
+}
 #acl-wrapper {
        width: 660px;
        margin: 0 auto;
@@ -2986,74 +3143,4 @@ footer {
        z-index: 999;
 }
 
-
-//* media stuff */
-@media handheld {
-       body {
-               font-size: 15pt;
-       }
-}
-//* Smartphones (portrait and landscape) ----------- */
-@media only screen and (min-device-width: 320px)
-       and (max-device-width: 480px) {
-       body {
-               font-size: 10px;
-       }
-}
-//* Smartphones (landscape) ----------- */
-@media only screen and (min-width: 321px) {
-       body {
-               font-size: 10px;
-       }
-}
-//* Smartphones (portrait) ----------- */
-@media only screen and (max-width: 320px) {
-       body {
-               font-size: 10px;
-       }
-}
-//* iPads (portrait and landscape) ----------- */
-@media only screen and (min-device-width: 768px)
-       and (max-device-width: 1024px) {
-       body {
-               font-size: 16px;
-       }
-}
-//* iPads (landscape) ----------- */
-@media only screen and (min-device-width: 768px)
-       and (max-device-width: 1024px)
-       and (orientation: landscape) {
-       body {
-               font-size: 16px;
-       }
-}
-//* iPads (portrait) ----------- */
-@media only screen and (min-device-width: 768px)
-       and (max-device-width: 1024px)
-       and (orientation: portrait) {
-       body {
-               font-size: 16px;
-       }
-}
-//* Desktops and laptops ----------- */
-//adjusted to 1024 from 1224.
-//not everybody has a fucking big screen ffs
-@media only screen and (min-width: 1024px) {
-       body {
-               font-size: 16px;
-       }
-}
-//* Large screens - */
-@media only screen and (min-width: 1520px) {
-       body {
-               font-size: 18px;
-       }
-}
-//* iPhone 4 ----------- */
-@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
-       only screen and (min-device-pixel-ratio: 1.5) {
-       body {
-               font-size: 16px;
-       }
-}
-
+@import "../css/media";