Browse Source

wip, tweak tasks css

Alexander Rose 5 years ago
parent
commit
6a694f9298
1 changed files with 30 additions and 28 deletions
  1. 30 28
      src/mol-plugin/skin/base/components/tasks.scss

+ 30 - 28
src/mol-plugin/skin/base/components/tasks.scss

@@ -1,16 +1,16 @@
 .msp-task-state {
-    
+
     line-height: $row-height;
     //height: $row-height;
     //position: relative;
     //margin-top: 1px;
-    
+
     > span {
         @include non-selectable;
         //display: inline-block;
         //padding: 0 $control-spacing;
     }
-    
+
     > button {
         //margin-top: -2px;
         //float: left;
@@ -29,7 +29,7 @@
     bottom: 0;
     right: 0;
     z-index: 1000;
-        
+
     .msp-overlay-background {
         position: absolute;
         top: 0;
@@ -40,7 +40,7 @@
         //background: black;
         //opacity: 0.5;
     }
-    
+
     .msp-overlay-content-wrap {
         position: absolute;
         top: 0;
@@ -51,37 +51,37 @@
         width: 100%;
         height: 100%;
     }
-    
+
     .msp-overlay-content {
-        text-align: center;          
-        
-        > div {  
-            
+        text-align: center;
+
+        > div {
+
             padding-top: 2 * $row-height;
-                         
-            .msp-task-state {    
+
+            .msp-task-state {
                 $size: $row-height;
                 text-align: center;
-                            
+
                 > div {
                     height: $size;
                     margin-top: $control-spacing;
                     position: relative;
                     text-align: center;
                     width: 100%;
-                    
+
                     > div {
                         height: $size;
                         line-height: $size;
-                        display: inline-block;                        
+                        display: inline-block;
                         background: $default-background;
                         padding: 0 ($control-spacing);
                         font-weight: bold;
                         @include non-selectable;
                     }
-                    
+
                     > button {
-                        display: inline-block;       
+                        display: inline-block;
                         margin-top: -3px;
                         font-size: 140%;
                     }
@@ -94,39 +94,41 @@
 /* background */
 
 .msp-background-tasks {
-    position: absolute;    
+    position: absolute;
     left: 0;
     bottom: 0;
     z-index: 1000;
-    
-    .msp-task-state {    
+
+    .msp-task-state {
         $size: $row-height;
-                    
+
         > div {
             height: $size;
             margin-top: 1px;
             position: relative;
             width: 100%;
             background: $default-background;
-            
+
             > div {
                 height: $size;
                 line-height: $size;
-                display: inline-block;                 
+                display: inline-block;
                 padding: 0 ($control-spacing);
                 @include non-selectable;
+                white-space: nowrap;
+                background: $default-background;
+                position: absolute;
             }
-            
+
             > button {
-                display: inline-block;       
+                display: inline-block;
                 margin-top: -3px;
                 // font-size: 140%;
             }
-        }        
+        }
     }
 }
 
 // .msp-background-tasks .msp-task-state {
-//     color: 
+//     color:
 // }
-