]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/quattro/quattro.less
quattro: first work on jot style
[friendica.git] / view / theme / quattro / quattro.less
index 1fbeb7ae273370edf71b9b929ce0fed8179cf4e3..81943c9b3ddd9c80ce070f7ee0f141a29b18f710 100644 (file)
@@ -3,12 +3,13 @@
 /* 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;
        display:table;
 }
+h4 { font-size: 1.1em }
 
 .shadow(@x: 0px, @y: 5px){
    -webkit-box-shadow:@x @y 10px rgba(0, 0, 0, 0.7);
@@ -40,7 +41,20 @@ a:hover {color: @LinkHover; text-decoration: underline; }
 .left { float: left; }
 .right { float: right; }
 .hidden { display: none; }
+.clear { clear: both; }
 
+code {
+       font-family: Courier, monospace;
+       white-space: pre;
+       display: block;
+       overflow: auto;
+       border: 1px solid #444;
+       background: #EEE;
+       color: #444;
+       padding: 10px;
+       margin-top: 20px; 
+}
+/* tool */
 
 .tool {
        height: auto; overflow: auto;
@@ -48,6 +62,9 @@ a:hover {color: @LinkHover; text-decoration: underline; }
        .action { float: right; }
 }
 
+
+
+
 /* popup notifications */
 div.jGrowl div.notice {
        background: @NoticeBackgroundColor url("../../../images/icons/48/notice.png") no-repeat 5px center;
@@ -74,7 +91,7 @@ header {
        }
        
        #banner {
-               
+               overflow: hidden;
            text-align: center;
                width: 100%;
                a, a:active, a:visited, a:link, a:hover { color: @Grey1; text-decoration: none; outline: none; vertical-align: bottom; }
@@ -192,6 +209,29 @@ ul.menu-popup {
                
 }
 
+/* autocomplete popup */
+.acpopup {
+       max-height:150px;
+       background-color:@MenuBg;
+       color: @Menu;
+       border:1px solid #MenuBorder;
+       overflow:auto;
+       z-index:100000;
+       .shadow();
+}
+.acpopupitem {
+       color: @MenuItem; padding: 4px;
+       clear:left;
+       img {
+               float: left;
+               margin-right: 4px;
+       }
+       &.selected{
+               background-color: @MenuItemHoverBg;
+       }
+}
+
+
 #nav-notifications-menu {
        width: 400px;
        img { float: left; margin-right: 5px; }
@@ -205,6 +245,7 @@ ul.menu-popup {
 /* aside */
 aside { 
        display: table-cell;
+       vertical-align: top;
        width: 200px;
        padding:0px 10px 0px 20px;
        border-right: 1px solid @AsideBorder;
@@ -237,6 +278,7 @@ aside {
 
        #profiles-menu { width: 20em; }
 
+
 }
 
 #contact-block {
@@ -254,11 +296,40 @@ aside {
 }
 
 
+/* widget */
+.widget {
+       margin-bottom: 2em;
+       
+       h3 { padding: 0px; margin: 2px;}
+       .action { .opaque(0.1); }
+       input.action { .opaque(0.5); }
+       &:hover .title .action { .opaque(1); }
+       .tool:hover .action { .opaque(1); }
+       .tool:hover .action.ticked { .opaque(1); }
+
+       ul { padding: 0px;}
+       ul li {padding-left: 16px; min-height: 16px; list-style: none; }
+       
+       .tool.selected {
+               background: url('../../../images/selected.png') no-repeat left center;
+       }
+       
+       /*.action .s10 { width: 10px; overflow: hidden; padding: 0px;}
+       .action .s16 { width: 16px; overflow: hidden; padding: 0px;}*/
+       
+}
+
+/* widget: search */
+#add-search-popup {
+       width: 200px;
+       top: 18px;
+}
 
 
 /* section */
 section { 
        display: table-cell;
+       vertical-align: top;
        width: 800px;
        padding:0px 20px 0px 10px;
 }
@@ -269,6 +340,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; }
@@ -279,6 +351,9 @@ section {
        
        .wall-item-item,
        .wall-item-bottom { display: table-row; }
+       
+       .wall-item-bottom { .opaque(0.5); }
+       &:hover .wall-item-bottom { .opaque(1); }
        .wall-item-info {
                display: table-cell;
                vertical-align: top;
@@ -286,7 +361,13 @@ section {
                width: 60px;
                
                .wall-item-photo-wrapper { position: relative; }
-               .wall-item-photo { width: 48px; height: 48px; }         
+               .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;
@@ -303,7 +384,7 @@ section {
        }
        .wall-item-content {
                display: table-cell;
-               font-size: 16px;
+               font-size: 12px;
                max-width: 720px;
                word-wrap: break-word;
        }
@@ -332,12 +413,15 @@ section {
                a { float: right; }
                input { float: right; }
        }
+       
 }
 
 
 .wall-item-container.comment {
-       margin-top: 50px;
-       .wall-item-photo { width: 32px; height: 32px; margin-left: 16px;}       
+       /*margin-top: 50px;*/
+       .wall-item-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;
@@ -362,84 +446,108 @@ section {
        }
 }
 
-#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;
-}
 
 
-#profile-jot-submit {
-       float: left;
-}
-#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 {
-       float: left;
-       margin-left: 20px;
+.wall-item-tags { padding-top: 5px; }
+.tag {
+       background: url("../../../images/tag_b.png") no-repeat center left;
+       color: @TagColor;
+       padding-left: 3px;
+       a {
+               padding-right: 8px;
+               background: url("../../../images/tag.png") no-repeat center right;
+               color: @TagColor;
+       }
 }
 
-#profile-jot-perms {
-       float: left;
-       margin-left: 35px;
-       margin-right: 35px;
-}
+/* editor */
 
-#profile-jot-perms-end {
-       /*clear: left;*/
-       height: 20px;
-}
+#jot {
 
-#profile-jot-plugin-end{
-  clear: both;
-}
-.profile-jot-net {
-       float: left;
-       margin-right: 10px;
-       margin-top: 5px;
-       margin-bottom: 5px;
-}
+       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;
+       }
 
-#profile-jot-networks-end {
-       clear: both;
-}
+       #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;
+                       }
+               }
+       }
 
-#profile-jot-end, #about-jot-end {
-       margin-bottom: 15px;
-}
-#about-jot-submit-wrapper {
-       margin-top: 15px;
 }
+
+
 /** buttons **/
-input[type="submit"] {
+/*input[type="submit"] {
        border: 0px;
     background-color: @ButtonBackgroundColor;
     color: @ButtonColor;
     padding: 0px 10px;
        .rounded(5px);
     height: 18px;
-}
+}*/
 
 
 /** acl **/
@@ -549,6 +657,102 @@ ul.tabs {
     li {
         float: left;
         margin-left: 20px;
+        
+        .active {
+                       border-bottom: 1px solid @LinkVisited;
+        }
     }
+    
+}
+
+
+/**
+ * Form fields
+ */
+.field {
+       margin-bottom: 10px;
+       padding-bottom: 10px;
+       overflow: auto;
+       width: 100%;
+
+
+       label {
+               float: left;
+               width: 200px;
+       }
+
+       input,
+       textarea {
+               width: 400px;
+       }
+       textarea { height: 100px; }
+       .field_help {
+               display: block;
+               margin-left: 200px;
+               color: #666666;
+               
+       }
+
+
+       .onoff {
+               float: left;
+               width: 80px;
+       }
+       .onoff a {
+               display: block;
+               border:1px solid #666666;
+               background-image:url("../../../images/onoff.jpg");
+               background-repeat: no-repeat;
+               padding: 4px 2px 2px 2px;
+               height: 16px;
+               text-decoration: none;
+       }
+       .onoff .off {
+               border-color:#666666;
+               padding-left: 40px;
+               background-position: left center;
+               background-color: #cccccc;
+               color: #666666;
+               text-align: right;
+       }
+       .onoff .on {
+               border-color:#204A87;
+               padding-right: 40px;
+               background-position: right center;
+               background-color: #D7E3F1;
+               color: #204A87;
+               text-align: left;
+       }
+       .hidden { display: none!important; }
+
+       &.radio .field_help { margin-left: 0px; }
+}
+
+#profile-edit-links li {
+       list-style: none;
+}
+
+/* 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;
+}
+
 
+/* page footer */
+footer { height: 100px; display: table-row; }