Ver código fonte

Merge branch 'master' of github.com:tracim/tracim_front

Skylsmoi 7 anos atrás
pai
commit
15d4dcc225

+ 5 - 1
src/component/Account/MenuSubComponent.jsx Ver arquivo

@@ -6,7 +6,11 @@ export const Navbar = props => {
6 6
     <nav className='account__userpreference__menu navbar d-flex align-items-start'>
7 7
 
8 8
       <div className='account__userpreference__menu__responsive d-lg-none'>
9
-        <i className='fa fa-bars' />
9
+        <button className='hamburger hamburger--spring account__userpreference__menu__responsive__hamburger' type='button'>
10
+          <span className='hamburger-box account__userpreference__menu__responsive__hamburger__box'>
11
+            <span className='hamburger-inner account__userpreference__menu__responsive__hamburger__box__icon'></span>
12
+          </span>
13
+        </button>
10 14
       </div>
11 15
 
12 16
       <ul className='account__userpreference__menu__list nav flex-column'>

+ 5 - 2
src/container/Dashboard.jsx Ver arquivo

@@ -294,7 +294,9 @@ class Dashboard extends Component {
294 294
                   <div className='dashboard__memberlist__btnadd'>
295 295
                     <div className='dashboard__memberlist__btnadd__button'>
296 296
                       <div className='dashboard__memberlist__btnadd__button__avatar'>
297
-                        <img src={listMemberBtn} alt='avatar' />
297
+                        <div className='dashboard__memberlist__btnadd__button__avatar__icon'>
298
+                          <i className='fa fa-plus' />
299
+                        </div>
298 300
                       </div>
299 301
                       <div className='dashboard__memberlist__btnadd__button__text'>
300 302
                          Ajouter un membre
@@ -303,7 +305,8 @@ class Dashboard extends Component {
303 305
                   </div>
304 306
 
305 307
                   <form className='dashboard__memberlist__addmember'>
306
-                    <input type='text' className='dashboard__memberlist__addmember__name form-control' placeholder='Name' />
308
+                    <label className='dashboard__memberlist__addmember__label' for='addmember'>Indiqué le nom de l'utilisateur</label>
309
+                    <input type='text' id='addmember' className='dashboard__memberlist__addmember__name form-control' placeholder='Name' />
307 310
                     <div className='dashboard__memberlist__addmember__role'>
308 311
                       <div className='dashboard__memberlist__addmember__role__dropdown dropdown'>
309 312
                         <button className='dashboard__memberlist__addmember__role__dropdown__button btn btn-primary dropdown-toggle' type='button' id='dropdownMenuButton' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>

+ 9 - 2
src/css/AccountPage.styl Ver arquivo

@@ -161,11 +161,18 @@ settingText()
161 161
       &__menu
162 162
         justify-content center
163 163
         margin-bottom 25px
164
-        border-radius 30px
164
+        border-radius 50%
165 165
         width 60px
166 166
         min-height 60px
167 167
         &__responsive
168
-          align-self center
168
+          &__hamburger
169
+            margin 18px 0 0 10px
170
+            padding 0
171
+            &__box
172
+              &:focus
173
+                outline none
174
+              &__icon, &__icon::before, &__icon::after
175
+                width 30px
169 176
         &__list
170 177
           display none
171 178
       &__setting

+ 14 - 5
src/css/Dashboard.styl Ver arquivo

@@ -160,11 +160,18 @@ bgandcolor()
160 160
         display flex
161 161
         align-items center
162 162
         &__avatar
163
+          display flex
164
+          justify-content center
165
+          align-items center
163 166
           margin-right 20px
167
+          border 2px dashed grey
168
+          border-radius 50%
169
+          width 50px
170
+          height 50px
164 171
           cursor pointer
165
-          img
166
-            width 50px
167
-            height 50px
172
+          &__icon
173
+            color grey
174
+            font-size 25px
168 175
         &__text
169 176
           font-size 18px
170 177
           color blue
@@ -186,7 +193,7 @@ bgandcolor()
186 193
         padding 10px 25px
187 194
         width auto
188 195
       &__role
189
-        margin-bottom 20px
196
+        margin-bottom 90px
190 197
         &__dropdown
191 198
           &__button
192 199
             border 1px solid blue
@@ -309,7 +316,7 @@ bgandcolor()
309 316
     &__calltoaction
310 317
       justify-content center
311 318
       &__button
312
-        margin-right 0
319
+        margin 10px
313 320
     &__activity
314 321
       margin 25px 0
315 322
       width 100%
@@ -329,6 +336,8 @@ bgandcolor()
329 336
       &__list
330 337
         height auto
331 338
         overflow-Y visible
339
+        &__item:nth-last-child(1)
340
+          border-bottom 1px solid grey
332 341
       &__btnadd
333 342
         border-top 0
334 343
     &__webdav

+ 1 - 0
src/css/Generic.styl Ver arquivo

@@ -61,6 +61,7 @@
61 61
   height 100%
62 62
 
63 63
 .dropdownCreateBtn
64
+  margin-left 10px
64 65
   &__label
65 66
     padding 10px 65px
66 67
     background-color green

+ 0 - 143
src/css/Timeline.styl Ver arquivo

@@ -1,143 +0,0 @@
1
-.timeline
2
-  display flex
3
-  flex-direction column
4
-  margin 10px
5
-  border-radius 10px
6
-  height 100%
7
-  &__header
8
-    border-radius 10px 10px 0 0
9
-    padding 15px
10
-    text-align center
11
-    font-size 20px
12
-    color darkGrey
13
-    background-color grey-hover
14
-  &__messagelist
15
-    flex 1 1 0
16
-    margin-bottom 0
17
-    padding-left 0
18
-    border-bottom 1px solid grey
19
-    background-color off-white
20
-    overflow-Y auto
21
-    list-style none
22
-    &__item
23
-      padding 0 25px 20px 35px
24
-      &__avatar
25
-        position relative
26
-        top 43px
27
-        left -25px
28
-        width 45px
29
-        height 45px
30
-      &__createhour
31
-        margin-left 30px
32
-        opacity 0.7
33
-        font-size 14px
34
-      &__content
35
-        border 1px solid grey
36
-        border-radius 5px
37
-        padding 15px
38
-        background-color off-white
39
-        font-size 15px
40
-        z-index -1
41
-    &__version
42
-      display flex
43
-      justify-content space-between
44
-      margin-top 40px
45
-      padding 10px 15px
46
-      width 100%
47
-      background-color lightGrey
48
-      &__btn
49
-        padding 5px 25px
50
-        border-radius 5px
51
-        width 145px
52
-        color white
53
-        font-size 17px
54
-        & > i
55
-          margin-right 10px
56
-          color darkGrey
57
-          font-size 22px
58
-      &__date
59
-        color fontColor
60
-        font-size 17px
61
-        margin auto 0
62
-  &__texteditor
63
-    padding 2px
64
-    &__simpletext
65
-      display none
66
-      width 70%
67
-      margin-right 35px
68
-      &__icon
69
-        cursor pointer
70
-    &__wysiwyg
71
-      display block
72
-      & > textarea
73
-        width 100%
74
-        height 130px
75
-    &__submit
76
-      margin 10px 0
77
-      &__btn
78
-        display flex
79
-        cursor pointer
80
-        &:hover , &:focus
81
-          box-shadow shadow-all-btn
82
-        &__icon
83
-          margin-left 10px
84
-
85
-.sended
86
-  .timeline__messagelist__item__content
87
-    margin-right 25%
88
-
89
-.received
90
-  .timeline__messagelist__item
91
-    &__avatar
92
-      left 93%
93
-    &__createhour
94
-      text-align right
95
-      margin-right 50px
96
-    &__content
97
-      margin-left 25%
98
-      color white
99
-
100
-/**** MEDIA 992px & 1199px ****/
101
-
102
-@media (min-width: min-lg) and (max-width: max-lg)
103
-
104
-  .timeline__messagelist__item
105
-    margin-right 55px
106
-
107
-  .received
108
-    .timeline__messagelist__item
109
-      &__avatar
110
-        left 96%
111
-
112
-/**** MEDIA 768px & 991px ****/
113
-
114
-@media (min-width: min-md) and (max-width: max-md)
115
-
116
-  .timeline__messagelist__item
117
-    margin-right 55px
118
-
119
-  .received
120
-    .timeline__messagelist__item
121
-      &__avatar
122
-        left 96%
123
-
124
-/**** MEDIA 576px & 767px ****/
125
-
126
-@media (min-width: min-sm) and (max-width: max-sm)
127
-
128
-  .timeline__messagelist__item
129
-    margin-right 35px
130
-
131
-  .received
132
-    .timeline__messagelist__item
133
-      &__avatar
134
-        left 94%
135
-
136
-/**** MEDIA 575px ****/
137
-
138
-@media (max-width: max-xs)
139
-
140
-  .received
141
-    .timeline__messagelist__item
142
-      &__avatar
143
-        left 90%

+ 1 - 1
src/css/index.styl Ver arquivo

@@ -1,4 +1,4 @@
1
-body
1
+>body
2 2
   font-family 'Quicksand', sans-serif
3 3
 html, body, #content
4 4
   height 100%