Browse Source

fixed many bug on tracim_front css

AlexiCauvin 7 years ago
parent
commit
14471afdc0
6 changed files with 28 additions and 14 deletions
  1. 14 6
      src/css/FileItem.styl
  2. 2 4
      src/css/Generic.styl
  3. 9 2
      src/css/Header.styl
  4. 1 1
      src/css/Sidebar.styl
  5. 1 0
      src/css/Workspace.styl
  6. 1 1
      src/css/index.styl

+ 14 - 6
src/css/FileItem.styl View File

@@ -1,3 +1,8 @@
1
+iconrules()
2
+  display inline-block
3
+  margin-right 10px
4
+  font-size 20px
5
+
1 6
 .file
2 7
   display flex
3 8
   border-bottom 0
@@ -15,14 +20,17 @@
15 20
       font-size 17px
16 21
     &__icons
17 22
       &__download
18
-        display inline-block
19
-        margin-right 10px
23
+        iconrules()
24
+        &:hover, &:focus
25
+          color blue
20 26
       &__archive
21
-        display inline-block
22
-        margin-right 10px
27
+        iconrules()
28
+        &:hover, &:focus
29
+          color blue
23 30
       &__delete
24
-        display inline-block
25
-        margin-right 10px
31
+        iconrules()
32
+        &:hover, &:focus
33
+          color blue
26 34
   &__status
27 35
     font-size 30px
28 36
     text-align center

+ 2 - 4
src/css/Generic.styl View File

@@ -17,7 +17,6 @@
17 17
 @media (min-width: min-md) and (max-width: max-md)
18 18
   .pageWrapperGeneric
19 19
     display block
20
-    padding-top 87px
21 20
     &__header
22 21
       margin 95px 0 5px 30px
23 22
     &__content
@@ -25,7 +24,6 @@
25 24
 @media (min-width: min-sm) and (max-width: max-sm)
26 25
   .pageWrapperGeneric
27 26
     display block
28
-    padding-top 87px
29 27
     &__header
30 28
       margin 95px 0 35px 0
31 29
       &__title
@@ -36,7 +34,6 @@
36 34
 @media (max-width: max-xs)
37 35
   .pageWrapperGeneric
38 36
     display block
39
-    padding-top 87px
40 37
     &__header
41 38
       display block
42 39
       margin-top 60px
@@ -59,8 +56,9 @@
59 56
 
60 57
 
61 58
 .pageContentGeneric
62
-  margin 10px 0 120px 0
59
+  margin 10px 0 0 0
63 60
   width 100%
61
+  height 100%
64 62
 
65 63
 .dropdownCreateBtn
66 64
   &__label

+ 9 - 2
src/css/Header.styl View File

@@ -94,6 +94,8 @@
94 94
               box-shadow none
95 95
           .profilgroup__setting
96 96
             padding 0
97
+            left inherit
98
+            right 0
97 99
             &__link
98 100
               padding 10px 0
99 101
 
@@ -133,5 +135,10 @@
133 135
         width 418px
134 136
         &__itemquestion
135 137
           display none
136
-        &__itemprofil__profilgroup
137
-          margin-top 20px
138
+        &__itemprofil
139
+          &__profilgroup
140
+            margin-top 20px
141
+          .profilgroup__setting
142
+            left 0
143
+
144
+

+ 1 - 1
src/css/Sidebar.styl View File

@@ -48,7 +48,7 @@ leftside()
48 48
     color white
49 49
     transition all sidebar-animate-speed
50 50
   &__btnnewworkspace
51
-    margin-top 50px
51
+    margin 50px 0
52 52
     overflow hidden
53 53
     &__btn
54 54
       display block

+ 1 - 0
src/css/Workspace.styl View File

@@ -1,6 +1,7 @@
1 1
 .workspace
2 2
   &__header
3 3
     display flex
4
+    flex-wrap wrap
4 5
     margin-right 15px
5 6
   &__content
6 7
     margin 0 15px

+ 1 - 1
src/css/index.styl View File

@@ -18,7 +18,7 @@ html, body, #content
18 18
 @import 'FileItemHeader.styl'
19 19
 @import 'Folder.styl'
20 20
 
21
-@import 'Timeline.styl'
21
+// @import 'Timeline.styl'
22 22
 @import 'File.styl'
23 23
 
24 24
 @import 'Dashboard.styl'