瀏覽代碼

fixed many bug on tracim_front css

AlexiCauvin 7 年之前
父節點
當前提交
14471afdc0
共有 6 個文件被更改,包括 28 次插入14 次删除
  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 查看文件

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

+ 2 - 4
src/css/Generic.styl 查看文件

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

+ 9 - 2
src/css/Header.styl 查看文件

94
               box-shadow none
94
               box-shadow none
95
           .profilgroup__setting
95
           .profilgroup__setting
96
             padding 0
96
             padding 0
97
+            left inherit
98
+            right 0
97
             &__link
99
             &__link
98
               padding 10px 0
100
               padding 10px 0
99
 
101
 
133
         width 418px
135
         width 418px
134
         &__itemquestion
136
         &__itemquestion
135
           display none
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 查看文件

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

+ 1 - 0
src/css/Workspace.styl 查看文件

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

+ 1 - 1
src/css/index.styl 查看文件

18
 @import 'FileItemHeader.styl'
18
 @import 'FileItemHeader.styl'
19
 @import 'Folder.styl'
19
 @import 'Folder.styl'
20
 
20
 
21
-@import 'Timeline.styl'
21
+// @import 'Timeline.styl'
22
 @import 'File.styl'
22
 @import 'File.styl'
23
 
23
 
24
 @import 'Dashboard.styl'
24
 @import 'Dashboard.styl'