]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/quattro/quattro.less
quattro post preview, style contacts pages, style for "shiny" class, fix contacts...
[friendica.git] / view / theme / quattro / quattro.less
old mode 100644 (file)
new mode 100755 (executable)
index 2e61b91..1c14177
@@ -3,12 +3,13 @@
 /* global */
 body {
        font-family: Liberation Sans,helvetica,arial,clean,sans-serif;
-       font-size: 10px;
+       font-size: 11px;
        background-color: @BodyBackground;
        color: @BodyColor;
        margin: 50px 0px 0px 0px;
        display:table;
 }
+h4 { font-size: 1.1em }
 
 .shadow(@x: 0px, @y: 5px){
    -webkit-box-shadow:@x @y 10px rgba(0, 0, 0, 0.7);
@@ -33,6 +34,7 @@ body {
        transition: all 0.2s ease-in-out;
 }
 
+
 a, a:link { color: @Link; text-decoration: none; }
 a:visited { color: @LinkVisited; text-decoration: none; }
 a:hover {color: @LinkHover; text-decoration: underline; }
@@ -40,6 +42,10 @@ a:hover {color: @LinkHover; text-decoration: underline; }
 .left { float: left; }
 .right { float: right; }
 .hidden { display: none; }
+.clear { clear: both; }
+
+.fakelink { color: @Link; text-decoration: none; cursor:pointer; }
+.fakelink:hover { color: @LinkHover; text-decoration: underline; }
 
 code {
        font-family: Courier, monospace;
@@ -52,6 +58,23 @@ code {
        padding: 10px;
        margin-top: 20px; 
 }
+
+#panel {
+       position: absolute;
+       width: 10em;
+       background: @MenuBg;
+       color: @Menu;
+       margin: 0px;
+       padding: 1em;
+       list-style: none;
+       border: 3px solid @MenuBorder;
+       z-index: 100000;
+       
+       .shadow();      
+}
+
+
+
 /* tool */
 
 .tool {
@@ -231,7 +254,8 @@ ul.menu-popup {
 
 
 #nav-notifications-menu {
-       width: 400px;
+       width: 400px; max-height: 550px;
+       overflow: auto;
        img { float: left; margin-right: 5px; }
        .contactname { font-weight: bold; }
        .notif-when { font-size: 10px; color: @MenuItemDetail; display: block; }
@@ -285,15 +309,98 @@ aside {
        .allcontact-link { float: right; margin: 5px 0px; }
        .contact-block-content {
                clear: both;
-               overflow: auto; height: auto;
+               overflow: idden;        height: auto;
        }
+       /*.contact-block-div { width:60px; height: 60px; }*/
        .contact-block-link {
                float: left;
                margin: 0px 2px 2px 0px;
+               img { widht: 48px; height: 48px; }
        }
 }
+/* mail view */
+.mail-conv-sender,
+.mail-conv-detail {
+       float: left;
+}
+.mail-conv-detail {
+       margin-left: 20px;
+       width: 500px;
+}
 
+.mail-conv-subject {
+    font-size: 1.4em;
+    margin: 10px 0;
+}
+
+.mail-conv-outside-wrapper-end {
+       clear: both;
+}
 
+.mail-conv-outside-wrapper {
+       margin-top: 30px;
+}
+
+.mail-conv-delete-wrapper {
+       float: right;
+       margin-right: 30px;
+       margin-top: 15px;
+}
+.mail-conv-break {
+       clear: both;
+}
+
+.mail-conv-delete-icon {
+       border: none;
+}
+
+/* group member */
+#contact-edit-drop-link,
+.mail-list-delete-wrapper,
+.group-delete-wrapper {
+       float: right;
+       margin-right: 50px;
+        .drophide {
+            background-image: url('../../../images/icons/22/delete.png');
+            display: block; width: 22px; height: 22px;
+            opacity: 0.3;
+            position: relative;
+            top: -50px;
+        }
+        .drop {
+            background-image: url('../../../images/icons/22/delete.png');
+            display: block; width: 22px; height: 22px;
+            position: relative;
+            top: -50px;
+        }
+}
+/*
+#group-members {
+       margin-top: 20px;
+       padding: 10px;
+       height: 250px;
+       overflow: auto;
+       border: 1px solid #ddd;
+}
+#group-members-end {
+       clear: both;
+}
+#group-all-contacts {
+       padding: 10px;
+       height: 450px;
+       overflow: auto;
+       border: 1px solid #ddd;
+}
+#group-all-contacts-end {
+       clear: both;
+       margin-bottom: 10px;
+}
+.contact-block-div {
+       float: left;
+       width: 60px;
+       height: 60px;
+}*/
 /* widget */
 .widget {
        margin-bottom: 2em;
@@ -338,6 +445,7 @@ section {
        position: relative;
        padding: 10px;
        margin-bottom: 20px;
+       width: 780px;
 }
 .wall-item-decor { position: absolute; left: 790px; top: -10px;  width: 16px;}
 .unstarred { display: none; }
@@ -357,23 +465,6 @@ section {
                text-align: left;
                width: 60px;
                
-               .wall-item-photo-wrapper { position: relative; }
-               .wall-item-photo { 
-                       width: 48px; height: 48px;
-                       overflow: hidden;
-                       text-indent: -9999px;
-                       display: block;
-                       background: url(../../../images/icons/48/user.png) no-repeat center center;
-                }              
-               
-               .wall-item-photo-menu-button {
-                       display: none;
-                       position: absolute;
-                       left: -4px;
-                       top: 28px;
-               }
-               .wall-item-photo-menu { display: none; }
-               
        } 
        .wall-item-location {
                word-wrap: break-word;
@@ -416,12 +507,12 @@ section {
 
 .wall-item-container.comment {
        /*margin-top: 50px;*/
-       .wall-item-photo { width: 32px; height: 32px; margin-left: 16px;
-               background: url(../../../images/icons/22/user.png) no-repeat center center;
+       .contact-photo { width: 32px; height: 32px; margin-left: 16px;
+               /*background: url(../../../images/icons/22/user.png) no-repeat center center;*/
        }       
-       .wall-item-photo-menu-button {
-               top: 13px !important;
-               left: 10px !important;
+       .contact-photo-menu-button {
+               top: 15px !important;
+               left: 15px !important;
        }
        .wall-item-links { padding-left: 12px; }
 }
@@ -443,6 +534,28 @@ section {
        }
 }
 
+.comment-edit-preview {
+       width: 710px;
+       border: 1px solid @Grey5;
+       margin-top: 10px;
+       
+       .contact-photo { width: 32px; height: 32px; margin-left: 16px;
+               /*background: url(../../../images/icons/22/user.png) no-repeat center center;*/
+       }       
+       .contact-photo-menu-button {
+               top: 15px !important;
+               left: 15px !important;
+       }
+       .wall-item-links { padding-left: 12px; }
+
+       .wall-item-container { width: 700px; }
+       .tread-wrapper { width: 700px; padding: 0; margin: 10px 0;}
+
+
+}
+
+.shiny { border-right:10px solid @ShinyBorderColor; }
+#jot-preview-content .tread-wrapper { background-color: @JotPreviewBackgroundColor; }
 
 
 .wall-item-tags { padding-top: 5px; }
@@ -457,77 +570,198 @@ section {
        }
 }
 
+.wwto { 
+       position: absolute !important; 
+       width: 25px; height: 25px; 
+    background: #FFFFFF;
+    border: 2px solid @Metalic3;
+    height: 25px;
+    width: 25px;
+    overflow: hidden;
+    padding: 1px;
+    position: absolute !important;
+    top: 40px;
+    left: 30px;
+    
+    .shadow(0px, 0px)
+}
+.wwto .contact-photo { width: 25px; height: 25px; }
 
 
-#profile-jot-wrapper {
-       width: 100%;
-       margin: 0px 2em 20px 0px;
-       
-       
-}
-.profile-jot-text {
-       height: 1em; width: 100%; font-size: 10px;
-       color: @CommentBoxEmptyColor;
-       border: 1px solid @CommentBoxEmptyBorderColor;
-       padding:0.3em;
-}
-#profile-jot-plugin-wrapper,
-#profile-jot-submit-wrapper {
-       margin-top: 10px;
+#pause {
+ position: fixed;
+ bottom: 5px;
+ right: 5px;
 }
 
 
-#profile-jot-submit {
-       float: left;
+.contact-photo-wrapper { position: relative; }
+.contact-photo { 
+       width: 48px; height: 48px;
+       img { width: 48px; height: 48px; }
+       overflow: hidden;
+       display: block;
+ }             
+.contact-photo-menu-button {
+       display: none;
+       position: absolute;
+       left: -2px;
+       top: 31px;
 }
-#profile-upload-wrapper{
-       float: left;
-       margin-left: 10px;
-}
-#profile-attach-wrapper,
-#profile-rotator,
-#profile-link-wrapper,
-#profile-youtube-wrapper,
-#profile-video-wrapper,
-#profile-audio-wrapper,
-#profile-location-wrapper,
-#profile-nolocation-wrapper,
-#profile-title-wrapper {
+
+.contact-wrapper {
        float: left;
-       margin-left: 20px;
+       width: 300px;
+       height: 90px;
+       padding-right: 10px;
+       margin: 0 10px 10px 0px;
+       .contact-photo-wrapper { 
+               float: left; 
+               margin-right: 10px;
+       }
+       .contact-photo { 
+               width: 80px; height: 80px;
+               img { width: 80px; height: 80px; }
+       }
+       .contact-photo-menu-button {
+               left: 0px;
+               top: 63px;
+       }       
 }
-
-#profile-jot-perms {
+.directory-item {
        float: left;
-       margin-left: 35px;
-       margin-right: 35px;
+       width: 200px;
+       height: 200px;
+       .contact-photo { 
+               width: 175px; height: 175px;
+               img { width: 175px; height: 175px; }
+       }
 }
-
-#profile-jot-perms-end {
-       /*clear: left;*/
-       height: 20px;
+.contact-name { font-weight: bold; padding-top: 15px; }
+.contact-details { 
+       color: @Grey3; white-space: nowrap;
+       overflow: hidden;
+       text-overflow: ellipsis;
 }
 
-#profile-jot-plugin-end{
-  clear: both;
-}
-.profile-jot-net {
-       float: left;
-       margin-right: 10px;
-       margin-top: 5px;
-       margin-bottom: 5px;
-}
+/* editor */
+.jothidden { display: none; }
+#jot {
 
-#profile-jot-networks-end {
-       clear: both;
-}
+       width: 100%;
+       margin: 0px 2em 20px 0px;
+       
+       
+       .profile-jot-text {
+               height: 1em; width: 99%; font-size: 10px;
+               color: @CommentBoxEmptyColor;
+               border: 1px solid @CommentBoxEmptyBorderColor;
+               padding:0.3em;
+       }
+
+       #jot-tools {
+               margin: 0px; padding: 0px;
+               height: 40px; overflow: none;
+               width: 800px;
+               background-color: @JotToolsBackgroundColor;
+               border-bottom: 2px solid @JotToolsBorderColor;
+               li {
+                       list-style: none;
+                       float: left;
+                       width: 80px;
+                       height: 40px;
+                       border-bottom: 2px solid @JotToolsBorderColor;
+                       a {
+                               display: block;
+                               color: @JotToolsText;
+                               width: 100%;
+                               height:40px;
+                               text-align: center;
+                               line-height: 40px;
+                               overflow: hidden;
+                       }
+               }
+               li:hover {
+                       background-color: @JotToolsOverBackgroundColor;
+                       border-bottom: 2px solid @JotToolsOverBorderColor;
+               }
+               li.perms {
+                       float: right;
+                       width: 40px;
+                       a.unlock {
+                               width: 30px;
+                               border-left: 10px solid @JotPermissionUnlockBackgroundColor;
+                               background-color: @JotPermissionUnlockBackgroundColor;
+                       }
+                       a.lock {
+                               width: 30px;
+                               border-left: 10px solid @JotPermissionLockBackgroundColor;
+                               background-color: @JotPermissionLockBackgroundColor;
+                       }
+                       
+               }
+               li.submit {
+                       float: right;
+                       background-color: @JotSubmitBackgroundColor;
+                       border-bottom: 2px solid @JotSubmitBackgroundColor;
+                       border-right: 1px solid @Grey4;
+                       border-left: 1px solid @Grey4;
+                       input {
+                               border: 0px; margin: 0px; padding: 0px;
+                               background-color: @JotSubmitBackgroundColor;
+                               color: @JotSubmitText;
+                               width: 80px; height: 40px;
+                               line-height: 40px;
+                       }
+                       input:hover {
+                               background-color: @JotSubmitOverBackgroundColor;
+                               color: @JotSubmitOverText;
+                       }
+               }
+               li.loading {
+                       float: right;
+                       background-color: @JotLoadingBackgroundColor;
+                       width:  20px;
+                       vertical-align: center;
+                       text-align: center;
+                       img { margin-top: 10px; }
+                       border-top: 2px solid @JotToolsBorderColor;
+                       height: 38px;
+               }
+       }
+
+       #jot-title {
+               border: 0px;
+               margin: 0px;
+               height: 20px;
+               width: 700px;
+               font-weight: bold;
+               border: 1px solid @BodyBackground;
+
+               &:-webkit-input-placeholder {
+                       font-weight: normal;
+               }
+
+               &:-moz-placeholder {
+                       font-weight: normal;
+               }               
+       
+               &:hover { border: 1px solid @CommentBoxEmptyBorderColor }
+               &:focus { border: 1px solid @CommentBoxEmptyBorderColor }
+       }
+       
+       #character-counter {
+               width: 80px;
+               float: right;
+               text-align: right;
+               height: 20px;
+               line-height: 20px;
+               padding-right: 20px;
+       }
 
-#profile-jot-end, #about-jot-end {
-       margin-bottom: 15px;
-}
-#about-jot-submit-wrapper {
-       margin-top: 15px;
 }
+
+
 /** buttons **/
 /*input[type="submit"] {
        border: 0px;
@@ -717,6 +951,116 @@ ul.tabs {
        &.radio .field_help { margin-left: 0px; }
 }
 
+#profile-edit-links li {
+       list-style: none;
+        margin-top: 10px;
+}
+
+#profile-edit-default-desc {
+       color: #FF0000;
+       border: 1px solid #FF8888;
+       background-color: #FFEEEE;
+       padding: 7px;
+}
+#profile-edit-profile-name-label,
+#profile-edit-name-label,
+#profile-edit-pdesc-label,
+#profile-edit-gender-label,
+#profile-edit-dob-label,
+#profile-edit-address-label,
+#profile-edit-locality-label,
+#profile-edit-region-label,
+#profile-edit-postal-code-label,
+#profile-edit-country-name-label,
+#profile-edit-marital-label,
+#profile-edit-with-label,
+#profile-edit-sexual-label,
+#profile-edit-politic-label,
+#profile-edit-religion-label,
+#profile-edit-pubkeywords-label,
+#profile-edit-prvkeywords-label,
+#profile-edit-gender-select,
+#profile-edit-homepage-label {
+       float: left;
+       width: 175px;
+        padding-top: 7px;
+}
+#profile-edit-profile-name,
+#profile-edit-name,
+#gender-select, 
+#profile-edit-pdesc,
+#profile-edit-gender,
+#profile-edit-dob,
+#profile-edit-address,
+#profile-edit-locality,
+#profile-edit-region,
+#profile-edit-postal-code,
+#profile-edit-country-name,
+#profile-edit-marital,
+#profile-edit-with,
+#profile-edit-sexual,
+#profile-edit-politic,
+#profile-edit-religion,
+#profile-edit-pubkeywords,
+#profile-edit-prvkeywords,
+#profile-edit-homepage {
+    margin-top: 5px;
+}
+
+/* oauth */
+.oauthapp {
+       height: auto; overflow: auto;
+       border-bottom: 2px solid #cccccc;
+       padding-bottom: 1em;
+       margin-bottom: 1em;     
+}
+.oauthapp img {
+       float: left;
+       width: 48px; height: 48px;
+       margin: 10px;
+}
+.oauthapp img.noicon {
+       background-image: url("../../../images/icons/48/plugin.png");
+       background-position: center center;
+       background-repeat: no-repeat;
+}
+.oauthapp a {
+       float: left;
+}
+
+/* contacts */
+.contact-entry-wrapper {
+       width: 50px; float: left;
+}
+
+/* photo */
+.lframe {
+       float: left;
+       margin: 0px 10px 10px 0px;
+}
+
+/* profile match wrapper */
+.profile-match-wrapper {
+       float: left;
+       width: 90px;
+       height: 90px;
+        margin-bottom: 20px;
+       .contact-photo { 
+               width: 80px; height: 80px;
+               img { width: 80px; height: 80px; }
+       }
+       .contact-photo-menu-button {
+               left: 0px;
+               top: 63px;
+       }       
+}
+
 
 /* page footer */
 footer { height: 100px; display: table-row; }
+
+.pager {
+    margin-top: 25px;
+    clear: both;
+}
+