AlexiCauvin 6 anni fa
parent
commit
9ef494d928
1 ha cambiato i file con 49 aggiunte e 112 eliminazioni
  1. 49 112
      src/css/index.styl

+ 49 - 112
src/css/index.styl Vedi File

@@ -1,124 +1,70 @@
1 1
 @import "../../node_modules/tracim_lib/src/css/Variable.styl"
2 2
 
3
-bgandcolor()
4
-  border-color threadColor
5
-  color off-white
6
-  background-color threadColor
7
-
8
-bgandcolorhover()
9
-  border-color darkenThread
3
+btnState()
10 4
   background-color darkenThread
11
-  box-shadow shadow-all-side-thread
5
+  color off-white
12 6
 
13 7
 .wsContentThread
14 8
   width 1100px
15 9
   &__header
16
-    color white
10
+    // color white
17 11
     background-color threadColor
18 12
     &__editionmode
19 13
       display none
20 14
     &__icon
21 15
       .fa-comments-o
22 16
         color white
23
-  &__option
24
-    &__menu
25
-      .selectStatus
26
-        margin-right 15px
27
-  &__app
28
-    display flex
29
-    flex-flow column
30
-    width 100%
31
-    &__messagelist
32
-      flex 1 1 auto
33
-      margin 0
34
-      padding 15px 35px
35
-      list-style none
36
-      overflow-y auto
37
-      background-color off-white
38
-      &__item
39
-        &__avatar
40
-          position relative
41
-          top 40px
42
-          left -20px
43
-          & > img
44
-            width 45px
45
-            height 45px
46
-            border-radius 25px
47
-        &__createhour
48
-          margin-left 35px
49
-          opacity 0.7
50
-          font-size 14px
51
-        &__content
52
-          display inline-block
53
-          border 1px solid grey
54
-          border-radius 5px
55
-          padding 15px
56
-          background-color off-white
57
-          font-size 15px
58
-    &__texteditor
59
-      flex 0 1 auto
60
-      border-top 1px solid grey
61
-      padding 35px 20px
62
-      &__textinput
63
-        width 85%
64
-        & > textarea
65
-          border-radius 5px
66
-          border 1.5px solid grey
67
-          padding 5px
68
-          height 80px
69
-          width 100%
70
-      &__wrapper
71
-        display flex
72
-        flex-direction column
73
-        justify-content center
74
-      &__advancedtext
75
-        &__btn
76
-          border-color threadColor
77
-          color threadColor
78
-          cursor pointer
79
-          &:hover, &:focus
80
-            bgandcolorhover()
81
-      &__submit
82
-        &__btn
83
-          display flex
84
-          cursor pointer
85
-          bgandcolor()
86
-          width 118px
87
-          &:hover, &:focus
88
-            bgandcolorhover()
17
+  .selectStatus
18
+    margin-right 15px
19
+    .dropdown-item
20
+      &:hover, &:focus, &:active, &visited, &:focus-within
21
+        background-color threadColor
22
+        color off-white!important // @FIXME 04/07/2018 AC - we must use a plugin for this
23
+  .optionicon
24
+    &:hover, &:focus, &:active
25
+      color threadColor
26
+  .timeline
27
+    margin 0
28
+  .thread
29
+    &__contentpage
30
+      &__texteditor
31
+        flex 0 0 auto
32
+        &__advancedtext
33
+          &__btn
34
+            color fontColor
35
+            border-color threadColor
36
+            &:hover ,&:focus, &:visited, &:active
37
+              btnState()
38
+              border-color darkenThread
39
+              box-shadow none
40
+        &__submit
41
+          &__btn
42
+            background-color threadColor
43
+            color white
44
+            &:hover, &:focus, &:visited, &:active
45
+              background-color darkenThread
46
+
89 47
 
90 48
 .received
91
-  text-align right
92
-  .wsContentGeneric__messagelist__item
93
-    &__avatar
94
-      left 20px
95
-    &__createhour
96
-      margin-left 0
97
-      margin-right 35px
98
-    &__content
99
-      color white
100
-      background-color threadColor
49
+  .timeline__messagelist__item__content
50
+    background-color threadColor
101 51
 
102
-.activeEditionTitle
103
-  .wsContentThread
52
+.popupCreateContent
53
+  .cardPopup
104 54
     &__header
105
-      &__editionmode
106
-        display block
107
-      &__title
108
-        display none
55
+      background-color threadColor
56
+  .createcontent
57
+    &__contentname
58
+      color threadColor
59
+    &__form
60
+      &__button
61
+        & > button
62
+          border-color threadColor
63
+          background-color threadColor
64
+          &:hover, &:active, &:visited &:focus
65
+            background-color darkenThread
66
+            box-shadow none
109 67
 
110
-.activeAdvancedText
111
-  .wsContentThread__app
112
-    &__texteditor
113
-      padding 10px
114
-      height 500px
115
-      &__textinput
116
-        width 100%
117
-      &__wrapper
118
-        flex-direction row
119
-        width 100%
120
-      &__advancedtext
121
-        margin-right 20px
122 68
 
123 69
 @media (min-width: min-lg) and (max-width: max-lg)
124 70
   .wsContentThread
@@ -127,15 +73,11 @@ bgandcolorhover()
127 73
 @media (min-width: min-md) and (max-width: max-md)
128 74
   .wsContentThread
129 75
     width 700px
130
-    &__app__texteditor__textinput
131
-      width 75%
132 76
 
133 77
 @media (min-width: min-sm) and (max-width: max-sm)
134 78
   .wsContentThread
135 79
     top 69px
136 80
     width 500px
137
-    &__app__texteditor__textinput
138
-      width 70%
139 81
 
140 82
 @media (max-width: max-xs)
141 83
   .wsContentThread
@@ -143,8 +85,3 @@ bgandcolorhover()
143 85
     width 100%
144 86
     box-shadow none
145 87
     z-index 1
146
-    &__app
147
-      &__texteditor
148
-        padding 55px 20px 30px 20px
149
-        &__textinput
150
-          width 60%