Преглед на файлове

Integration of the new workspace Dashboard page

AlexiCauvin преди 6 години
родител
ревизия
803a413371
променени са 6 файла, в които са добавени 815 реда и са изтрити 3 реда
  1. 372 0
      src/container/Dashboard.jsx
  2. 2 1
      src/container/Tracim.jsx
  3. 427 0
      src/css/Dashboard.styl
  4. 12 2
      src/css/Variable.styl
  5. 2 0
      src/css/index.styl
  6. BIN
      src/img/listmemberbtn.png

+ 372 - 0
src/container/Dashboard.jsx Целия файл

@@ -0,0 +1,372 @@
1
+import React, { Component } from 'react'
2
+import listMemberBtn from '../img/listmemberbtn.png'
3
+import imgProfil from '../img/imgProfil.png'
4
+
5
+class Dashboard extends Component {
6
+  render () {
7
+    return (
8
+      <div className='dashboard'>
9
+
10
+        <div className='dashboard__title'>
11
+          Tableau de bord
12
+        </div>
13
+
14
+        <div className='dashboard__wkscontainer'>
15
+          <div className='dashboard__workspace'>
16
+            <div className='dashboard__workspace__title'>
17
+              Nouvelle ligne directive sur le nouveau design de Tracim
18
+            </div>
19
+
20
+            <div className='dashboard__workspace__detail'>
21
+              Ut in et sit adipisicing mollit amet ut exercitation proident laborum duis occaecat eu aute qui ut.
22
+              Dolore veniam eu consectetur occaecat est elit dolor nulla est ut amet do reprehenderit eiusmod tempor.
23
+            </div>
24
+          </div>
25
+          <div className='dashboard__userstatut'>
26
+
27
+            <div className='dashboard__userstatut__role'>
28
+              <div className='dashboard__userstatut__role__text'>
29
+                Hi ! Alexi, vous êtes actuellement
30
+              </div>
31
+              <div className='dashboard__userstatut__role__rank'>
32
+                <div className='dashboard__userstatut__role__rank__icon'>
33
+                  <i className='fa fa-graduation-cap' />
34
+                </div>
35
+                <div className='dashboard__userstatut__role__rank__rolename'>
36
+                  Gestionnaire de projet
37
+                </div>
38
+              </div>
39
+            </div>
40
+
41
+            <div className='dashboard__userstatut__notification'>
42
+              <div className='dashboard__userstatut__notification__text'>
43
+                Vous êtes abonné(e) aux notifications de ce workspace
44
+              </div>
45
+              <div className='dashboard__userstatut__notification__btn btn'>
46
+                Changer de statut
47
+              </div>
48
+
49
+              <div className='dashboard__userstatut__notification__subscribe dropdown'>
50
+                <button className='dashboard__userstatut__notification__subscribe__btn btn btn-secondary dropdown-toggle' type='button' id='dropdownMenuButton' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>
51
+                  Abonné(e)
52
+                </button>
53
+                <div className='dashboard__userstatut__notification__subscribe__submenu dropdown-menu'>
54
+                  <div className='dashboard__userstatut__notification__subscribe__submenu__item dropdown-item'>Abonné(e)
55
+                  </div>
56
+                  <div className='dashboard__userstatut__notification__subscribe__submenu__item dropdown-item dropdown-item'>Non Abonné(e)
57
+                  </div>
58
+                </div>
59
+              </div>
60
+            </div>
61
+          </div>
62
+        </div>
63
+
64
+        <div className='dashboard__calltoaction'>
65
+          <div className='dashboard__calltoaction__button thread'>
66
+            <div className='dashboard__calltoaction__button__text'>
67
+              <div className='dashboard__calltoaction__button__text__icon'>
68
+                <i className='fa fa-comments-o' />
69
+              </div>
70
+              <div className='dashboard__calltoaction__button__text__title'>
71
+                Débuter une nouvelle discussion
72
+              </div>
73
+            </div>
74
+          </div>
75
+
76
+          <div className='dashboard__calltoaction__button writefile'>
77
+            <div className='dashboard__calltoaction__button__text'>
78
+              <div className='dashboard__calltoaction__button__text__icon'>
79
+                <i className='fa fa-file-text-o' />
80
+              </div>
81
+              <div className='dashboard__calltoaction__button__text__title'>
82
+                Rédiger un document
83
+              </div>
84
+            </div>
85
+          </div>
86
+
87
+          <div className='dashboard__calltoaction__button importfile'>
88
+            <div className='dashboard__calltoaction__button__text'>
89
+              <div className='dashboard__calltoaction__button__text__icon'>
90
+                <i className='fa fa-paperclip' />
91
+              </div>
92
+              <div className='dashboard__calltoaction__button__text__title'>
93
+                Importer un fichier
94
+              </div>
95
+            </div>
96
+          </div>
97
+
98
+          <div className='dashboard__calltoaction__button calendar'>
99
+            <div className='dashboard__calltoaction__button__text'>
100
+              <div className='dashboard__calltoaction__button__text__icon'>
101
+                <i className='fa fa-calendar' />
102
+              </div>
103
+              <div className='dashboard__calltoaction__button__text__title'>
104
+                Voir le Calendrier
105
+              </div>
106
+            </div>
107
+          </div>
108
+
109
+          <div className='dashboard__calltoaction__button explore'>
110
+            <div className='dashboard__calltoaction__button__text'>
111
+              <div className='dashboard__calltoaction__button__text__icon'>
112
+                <i className='fa fa-folder-open-o' />
113
+              </div>
114
+              <div className='dashboard__calltoaction__button__text__title'>
115
+                Explorer le Workspace
116
+              </div>
117
+            </div>
118
+          </div>
119
+        </div>
120
+
121
+        <div className='dashboard__wksinfo'>
122
+          <div className='dashboard__activity'>
123
+            <div className='dashboard__activity__header'>
124
+              <div className='dashboard__activity__header__title mr-auto'>
125
+                Activité récente
126
+                <div className='dashboard__activity__header__title__underline' />
127
+              </div>
128
+
129
+              <div className='dashboard__activity__header__allread btn'>
130
+                Tout marquer comme lu
131
+              </div>
132
+            </div>
133
+            <div className='dashboard__activity__wrapper'>
134
+              <div className='dashboard__activity__workspace'>
135
+                <div className='dashboard__activity__workspace__icon'>
136
+                  <i className='fa fa-comments-o' />
137
+                </div>
138
+                <div className='dashboard__activity__workspace__name'>
139
+                  <span>Workspace 1</span>
140
+                </div>
141
+              </div>
142
+
143
+              <div className='dashboard__activity__workspace'>
144
+                <div className='dashboard__activity__workspace__icon'>
145
+                  <i className='fa fa-list-ul' />
146
+                </div>
147
+                <div className='dashboard__activity__workspace__name'>
148
+                  Workspace 2
149
+                </div>
150
+              </div>
151
+
152
+              <div className='dashboard__activity__workspace'>
153
+                <div className='dashboard__activity__workspace__icon'>
154
+                  <i className='fa fa-list-ul' />
155
+                </div>
156
+                <div className='dashboard__activity__workspace__name'>
157
+                  Workspace 3
158
+                </div>
159
+              </div>
160
+
161
+              <div className='dashboard__activity__workspace'>
162
+                <div className='dashboard__activity__workspace__icon'>
163
+                  <i className='fa fa-file-text-o' />
164
+                </div>
165
+                <div className='dashboard__activity__workspace__name'>
166
+                  <span>Workspace 4</span>
167
+                </div>
168
+              </div>
169
+
170
+              <div className='dashboard__activity__workspace'>
171
+                <div className='dashboard__activity__workspace__icon'>
172
+                  <i className='fa fa-comments-o' />
173
+                </div>
174
+                <div className='dashboard__activity__workspace__name'>
175
+                  <span>Workspace 5</span>
176
+                </div>
177
+              </div>
178
+
179
+              <div className='dashboard__activity__workspace'>
180
+                <div className='dashboard__activity__workspace__icon'>
181
+                  <i className='fa fa-file-text-o' />
182
+                </div>
183
+                <div className='dashboard__activity__workspace__name'>
184
+                  Workspace 6
185
+                </div>
186
+              </div>
187
+
188
+              <div className='dashboard__activity__more d-flex flex-row-reverse'>
189
+                <div className='dashboard__activity__more__btn btn'>
190
+                  Voir plus
191
+                </div>
192
+              </div>
193
+            </div>
194
+          </div>
195
+
196
+          <div className='dashboard__memberlist'>
197
+
198
+            <div className='dashboard__memberlist__title'>
199
+              Liste des membres
200
+              <div className='dashboard__memberlist__title__underline' />
201
+            </div>
202
+
203
+            <div className='dashboard__memberlist__wrapper'>
204
+              <ul className='dashboard__memberlist__list'>
205
+                <li className='dashboard__memberlist__list__item'>
206
+                  <div className='dashboard__memberlist__list__item__avatar'>
207
+                    <img src={imgProfil} alt='avatar' />
208
+                  </div>
209
+                  <div className='dashboard__memberlist__list__item__info'>
210
+                    <div className='dashboard__memberlist__list__item__info__name'>
211
+                      Jean Dupont
212
+                    </div>
213
+                    <div className='dashboard__memberlist__list__item__info__role'>
214
+                      Responsable
215
+                    </div>
216
+                  </div>
217
+                </li>
218
+
219
+                <li className='dashboard__memberlist__list__item'>
220
+                  <div className='dashboard__memberlist__list__item__avatar'>
221
+                    <img src={imgProfil} alt='avatar' />
222
+                  </div>
223
+                  <div className='dashboard__memberlist__list__item__info'>
224
+                    <div className='dashboard__memberlist__list__item__info__name'>
225
+                      Aldwin Vinel
226
+                    </div>
227
+                    <div className='dashboard__memberlist__list__item__info__role'>
228
+                      lecteur
229
+                    </div>
230
+                  </div>
231
+                </li>
232
+
233
+                <li className='dashboard__memberlist__list__item'>
234
+                  <div className='dashboard__memberlist__list__item__avatar'>
235
+                    <img src={imgProfil} alt='avatar' />
236
+                  </div>
237
+                  <div className='dashboard__memberlist__list__item__info'>
238
+                    <div className='dashboard__memberlist__list__item__info__name'>
239
+                      William Himme
240
+                    </div>
241
+                    <div className='dashboard__memberlist__list__item__info__role'>
242
+                      contributeur
243
+                    </div>
244
+                  </div>
245
+                </li>
246
+
247
+                <li className='dashboard__memberlist__list__item'>
248
+                  <div className='dashboard__memberlist__list__item__avatar'>
249
+                    <img src={imgProfil} alt='avatar' />
250
+                  </div>
251
+                  <div className='dashboard__memberlist__list__item__info'>
252
+                    <div className='dashboard__memberlist__list__item__info__name'>
253
+                      Yacine Lite
254
+                    </div>
255
+                    <div className='dashboard__memberlist__list__item__info__role'>
256
+                      Gestionnaire de contenu
257
+                    </div>
258
+                  </div>
259
+                </li>
260
+
261
+                <li className='dashboard__memberlist__list__item'>
262
+                  <div className='dashboard__memberlist__list__item__avatar'>
263
+                    <img src={imgProfil} alt='avatar' />
264
+                  </div>
265
+                  <div className='dashboard__memberlist__list__item__info'>
266
+                    <div className='dashboard__memberlist__list__item__info__name'>
267
+                      Yacine Lite
268
+                    </div>
269
+                    <div className='dashboard__memberlist__list__item__info__role'>
270
+                      Gestionnaire de contenu
271
+                    </div>
272
+                  </div>
273
+                </li>
274
+
275
+                <li className='dashboard__memberlist__list__item'>
276
+                  <div className='dashboard__memberlist__list__item__avatar'>
277
+                    <img src={imgProfil} alt='avatar' />
278
+                  </div>
279
+                  <div className='dashboard__memberlist__list__item__info'>
280
+                    <div className='dashboard__memberlist__list__item__info__name'>
281
+                      Yacine Lite
282
+                    </div>
283
+                    <div className='dashboard__memberlist__list__item__info__role'>
284
+                      Gestionnaire de contenu
285
+                    </div>
286
+                  </div>
287
+                </li>
288
+
289
+              </ul>
290
+              <div className='dashboard__memberlist__btnadd'>
291
+                <div className='dashboard__memberlist__btnadd__button'>
292
+                  <div className='dashboard__memberlist__btnadd__button__avatar'>
293
+                    <img src={listMemberBtn} alt='avatar' />
294
+                  </div>
295
+                  <div className='dashboard__memberlist__btnadd__button__text'>
296
+                     Ajouter un membre
297
+                  </div>
298
+                </div>
299
+              </div>
300
+
301
+              <form className='dashboard__memberlist__addmember'>
302
+                <input type='text' className='dashboard__memberlist__addmember__name' placeholder='Name' />
303
+                <div className='dashboard__memberlist__addmember__role'>
304
+                  <div className='dashboard__memberlist__addmember__role__dropdown dropdown'>
305
+                    <button className='dashboard__memberlist__addmember__role__dropdown__button btn dropdown-toggle' type='button' id='dropdownMenuButton' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>
306
+                      Rôle du membre
307
+                    </button>
308
+                    <div className='dashboard__memberlist__addmember__role__dropdown__submenu dropdown-menu'>
309
+                      <div className='dashboard__memberlist__addmember__role__dropdown__submenu__item dropdown-item'>
310
+                        <div className='dashboard__memberlist__addmember__role__dropdown__submenu__item__icon'>
311
+                          <i className='fa fa-eye' />
312
+                        </div>
313
+                        Lecteur
314
+                      </div>
315
+                      <div className='dashboard__memberlist__addmember__role__dropdown__submenu__item dropdown-item'>
316
+                        <div className='dashboard__memberlist__addmember__role__dropdown__submenu__item__icon'>
317
+                          <i className='fa fa-pencil' />
318
+                        </div>
319
+                        contributeur
320
+                      </div>
321
+                      <div className='dashboard__memberlist__addmember__role__dropdown__submenu__item dropdown-item'>
322
+                        <div className='dashboard__memberlist__addmember__role__dropdown__submenu__item__icon'>
323
+                          <i className='fa fa-graduation-cap' />
324
+                        </div>
325
+                        Gestionnaire de contenu
326
+                      </div>
327
+                      <div className='dashboard__memberlist__addmember__role__dropdown__submenu__item dropdown-item'>
328
+                        <div className='dashboard__memberlist__addmember__role__dropdown__submenu__item__icon'>
329
+                          <i className='fa fa-legal' />
330
+                        </div>
331
+                        Responsable
332
+                      </div>
333
+                    </div>
334
+                  </div>
335
+                </div>
336
+                <input type='submit' className='dashboard__memberlist__addmember__submitbtn' />
337
+              </form>
338
+
339
+            </div>
340
+          </div>
341
+        </div>
342
+
343
+        <div className='dashboard__webdav'>
344
+
345
+          <div className='dashboard__webdav__btn'>
346
+            <div className='dashboard__webdav__btn__icon'>
347
+              <i className='fa fa-windows' />
348
+            </div>
349
+
350
+            <div className='dashboard__webdav__btn__text'>
351
+              Implémenter Tracim dans votre explorateur
352
+            </div>
353
+          </div>
354
+
355
+          <div className='dashboard__webdav__information'>
356
+            <div className='dashboard__webdav__information__text'>
357
+              Lorem ipsum dolore dolore laborum exercitation et deserunt ad ullamco nostrud dolore magna in proident elit amet do eu ut officia anim magna dolore adipisicing aliqua qui reprehenderit laborum labore tempor consectetur ut pariatur deserunt nostrud.
358
+            </div>
359
+
360
+            <div className='dashboard__webdav__information__link'>
361
+              http://algoo.trac.im/webdav/
362
+            </div>
363
+          </div>
364
+
365
+        </div>
366
+
367
+      </div>
368
+    )
369
+  }
370
+}
371
+
372
+export default Dashboard

+ 2 - 1
src/container/Tracim.jsx Целия файл

@@ -4,6 +4,7 @@ import Footer from '../component/Footer.jsx'
4 4
 import Header from './Header.jsx'
5 5
 import Sidebar from './Sidebar.jsx'
6 6
 import Login from './Login.jsx'
7
+import Dashboard from './Dashboard.jsx'
7 8
 import WorkspaceContent from './WorkspaceContent.jsx'
8 9
 import {
9 10
   Route,
@@ -43,7 +44,7 @@ class Tracim extends React.Component {
43 44
 
44 45
               <SidebarWrapper locationPath={location.pathname}>
45 46
 
46
-                <PrivateRoute exact path='/' component={WorkspaceContent} />
47
+                <PrivateRoute exact path='/' component={Dashboard} />
47 48
 
48 49
               </SidebarWrapper>
49 50
 

+ 427 - 0
src/css/Dashboard.styl Целия файл

@@ -0,0 +1,427 @@
1
+.dashboard
2
+  margin-left 50px
3
+  &__title
4
+    margin 20px 0
5
+    font-size 35px
6
+  &__wkscontainer
7
+    display flex
8
+    flex-wrap wrap
9
+  &__workspace
10
+    margin-right 20px
11
+    width calc(65% - 20px) //20px => margin-right
12
+    &__title
13
+      margin-bottom 20px
14
+      font-size 40px
15
+      font-weight 500
16
+      color darkBlue
17
+    &__detail
18
+      margin-bottom 20px
19
+      font-size 18px
20
+  &__userstatut
21
+    width 35%
22
+    &__role
23
+      display flex
24
+      flex-wrap wrap
25
+      margin 20px 0
26
+      font-size 18px
27
+      &__text
28
+        margin-right 15px
29
+      &__rank
30
+        display flex
31
+        &__icon
32
+          margin-right 15px
33
+          color gestionnaire
34
+    &__notification
35
+      font-size 18px
36
+      &__btn
37
+        margin 20px 0
38
+        border 1px solid blue
39
+        padding 10px 15px
40
+        color blue
41
+        cursor pointer
42
+        &:hover , focus
43
+          background-color blue
44
+          color white
45
+      &__subscribe
46
+        display none
47
+        &__btn
48
+          margin 20px 0
49
+          border 1px solid blue
50
+          padding 10px 25px
51
+          background-color transparent
52
+          color blue
53
+          &:hover,&:focus
54
+            background-color blue
55
+            color white
56
+        &__submenu
57
+          padding 0
58
+          &__item
59
+            padding 10px
60
+            &:hover,&:focus
61
+              background-color blue
62
+              color white
63
+  &__calltoaction
64
+    display flex
65
+    flex-wrap wrap
66
+    margin 50px 0
67
+    &__button
68
+      display flex
69
+      flex-direction column
70
+      justify-content center
71
+      margin 20px 30px 20px 0
72
+      border-radius 10px
73
+      padding 15px
74
+      width 250px
75
+      height 200px
76
+      box-shadow shadow-all
77
+      text-align center
78
+      cursor pointer
79
+      &:active
80
+        box-shadow inset 0px 0px 5px 2px #656565
81
+      &__text
82
+        &__icon
83
+          font-size 30px
84
+          .fa-comments-o, .fa-paperclip, .fa-calendar, .fa-file-text-o, .fa-folder-open-o
85
+              color white
86
+        &__title
87
+          font-size 18px
88
+          color white
89
+    .thread
90
+      background-color blue
91
+    .writefile
92
+      background-color writefile
93
+    .importfile
94
+      background-color importfile
95
+    .calendar
96
+      background-color calendar
97
+    .explore
98
+      background-color explore
99
+  &__wksinfo
100
+    display flex
101
+    flex-wrap wrap
102
+  &__activity
103
+    margin 0 35px 50px 0
104
+    width 60%
105
+    &__header
106
+      display flex
107
+      margin-bottom 20px
108
+      &__title
109
+        font-size 20px
110
+        &__underline
111
+          border-radius 10px
112
+          width 150px
113
+          height 3px
114
+          background-color blue
115
+      &__allread
116
+        border 1px solid blue
117
+        padding 10px 25px
118
+        color blue
119
+        font-size 18px
120
+        cursor pointer
121
+        &:hover, &:focus
122
+          background-color blue
123
+          color white
124
+    &__wrapper
125
+      border 1px solid grey
126
+      height 480px
127
+    &__workspace
128
+      display flex
129
+      align-items center
130
+      border-bottom 1px solid grey
131
+      padding 15px
132
+      cursor pointer
133
+      &:hover
134
+        background-color folder-hover
135
+      &__icon
136
+        margin 0 25px
137
+        font-size 25px
138
+      &__name
139
+        font-size 18px
140
+        font-weight 500
141
+        span
142
+          font-weight 400
143
+    &__more
144
+      &__btn
145
+        margin 15px
146
+        border 1px solid blue
147
+        padding 10px 25px
148
+        color blue
149
+        cursor pointer
150
+        &:hover, &:focus
151
+          background-color blue
152
+          color white
153
+  &__memberlist
154
+    margin 0 0 50px 0
155
+    width 35%
156
+    &__title
157
+      margin-bottom 31px
158
+      font-size 20px
159
+      &__underline
160
+        border-radius 10px
161
+        width 150px
162
+        height 3px
163
+        background-color blue
164
+    &__wrapper
165
+      position relative
166
+      border 1px solid grey
167
+      height 480px
168
+    &__list
169
+      margin 0
170
+      padding 0
171
+      list-style none
172
+      height 400px
173
+      overflow-Y scroll
174
+      &__item
175
+        display flex
176
+        border-bottom 1px solid grey
177
+        padding 10px 15px
178
+        &__avatar
179
+          margin-right 20px
180
+          width 50px
181
+          height 50px
182
+        &__info
183
+          &__name
184
+            font-size 20px
185
+          &__role
186
+            font-size 18px
187
+    &__btnadd
188
+      border-top 1px solid grey
189
+      padding 15px
190
+      &__button
191
+        display flex
192
+        align-items center
193
+        &__avatar
194
+          margin-right 20px
195
+          cursor pointer
196
+          img
197
+            width 50px
198
+            height 50px
199
+        &__text
200
+          font-size 18px
201
+          color blue
202
+          cursor pointer
203
+    &__addmember
204
+      position absolute
205
+      top 0
206
+      display none
207
+      flex-direction column
208
+      justify-content center
209
+      align-items center
210
+      height 100%
211
+      width 100%
212
+      background-color #FDFDFD
213
+      &__name
214
+        margin-bottom 20px
215
+        border 1px solid grey
216
+        border-radius 10px
217
+        padding 10px 25px
218
+      &__role
219
+        margin-bottom 20px
220
+        &__dropdown
221
+          &__button
222
+            border 1px solid blue
223
+            border-radius 10px
224
+            padding 10px 25px
225
+            background-color transparent
226
+            color blue
227
+            &:hover,&:focus
228
+              background-color blue
229
+              color white
230
+          &__submenu
231
+            padding 0
232
+            &__item
233
+              display flex
234
+              padding 10px
235
+              &:hover,&:focus
236
+                background-color blue
237
+                color white
238
+              &__icon
239
+                margin-right 15px
240
+      &__submitbtn
241
+        border 1px solid blue
242
+        border-radius 5px
243
+        padding 5px 35px
244
+        background-color transparent
245
+        color blue
246
+        cursor pointer
247
+        &:hover, &:focus
248
+          background-color blue
249
+          color white
250
+  &__webdav
251
+    margin-bottom 100px
252
+    &__btn
253
+      display flex
254
+      margin-bottom 30px
255
+      border 1px solid blue
256
+      border-radius 10px
257
+      padding 15px 25px
258
+      width 350px
259
+      color blue
260
+      cursor pointer
261
+      &:hover, &:focus
262
+        background-color blue
263
+        color white
264
+      &__icon
265
+        margin-right 20px
266
+        font-size 30px
267
+    &__information
268
+      display none
269
+      border 1px solid grey
270
+      border-radius 10px
271
+      padding 15px 25px
272
+      width 600px
273
+      &__text
274
+        margin-bottom 35px
275
+      &__link
276
+        margin-bottom 15px
277
+        border 1px solid grey
278
+        border-radius 10px
279
+        padding 15px 25px
280
+        width 300px
281
+
282
+/****** CLASS ACTIVE *******/
283
+
284
+/*** active dropdown subscribe ***/
285
+
286
+.activebtnsubs
287
+  .dashboard__wksinfo__notification
288
+    &__btn
289
+      display none
290
+    &__subscribe
291
+      display flex
292
+
293
+/*** active form on list member ***/
294
+
295
+.activeform
296
+  .dashboard__memberlist__addmember
297
+    display flex
298
+
299
+/*** active webdav ***/
300
+
301
+.activewebdav
302
+  .dashboard__webdav__information
303
+    display block
304
+
305
+/******************************/
306
+
307
+/**** MEDIAQUERIES *****/
308
+
309
+/**** MEDIA 576px & 1199px ****/
310
+
311
+// Regroup the common rules
312
+
313
+@media (min-width min-sm) and (max-width: max-lg)
314
+
315
+  .dashboard
316
+    &__workspace
317
+      width auto
318
+    &__userstatut
319
+      width auto
320
+    &__calltoaction
321
+      justify-content center
322
+    &__activity
323
+      width 100%
324
+    &__memberlist
325
+      width 50%
326
+
327
+/**** MEDIA 992px & 1199px ****/
328
+
329
+@media (min-width: min-lg) and (max-width: max-lg)
330
+
331
+  .dashboard
332
+    margin-left 15px
333
+
334
+/******************************/
335
+
336
+/**** MEDIA 768px & 991px ****/
337
+
338
+@media (min-width: min-md) and (max-width: max-md)
339
+
340
+  .dashboard
341
+    margin-left 0
342
+    &__title
343
+      margin-left 15px
344
+    &__workspace
345
+      margin-left 15px
346
+    &__userstatut
347
+      margin-left 15px
348
+    &__activity
349
+      margin 25px 0
350
+      &__header
351
+        margin 0 15px 20px 15px
352
+    &__memberlist
353
+      margin-left 15px
354
+    &__webdav
355
+      margin-left 15px
356
+
357
+/******************************/
358
+
359
+/**** MEDIA 576px & 767px ****/
360
+
361
+@media (min-width: min-sm) and (max-width: max-sm)
362
+
363
+  .dashboard
364
+    margin-left 0
365
+    &__title
366
+      margin-left 15px
367
+    &__workspace
368
+      margin-left 15px
369
+    &__userstatut
370
+      margin-left 15px
371
+    &__activity
372
+      margin 25px 0
373
+      &__header
374
+        margin 0 15px 20px 15px
375
+    &__memberlist
376
+      margin 50px 0
377
+      width 90%
378
+      &__title
379
+        margin-left 15px
380
+    &__webdav
381
+      margin-left 15px
382
+      &__information
383
+        width 525px
384
+
385
+/******************************/
386
+
387
+/**** MEDIA 575px ****/
388
+
389
+@media (max-width: max-xs)
390
+
391
+  .dashboard
392
+    margin-left 0
393
+    &__title
394
+      margin-left 10px
395
+    &__workspace
396
+      margin-left 10px
397
+      width auto
398
+    &__userstatut
399
+      margin-left 15px
400
+      width auto
401
+    &__calltoaction
402
+      justify-content center
403
+    &__activity
404
+      width 100%
405
+      margin 25px 0
406
+      &__header
407
+        display block
408
+        height auto
409
+        margin 0 15px 20px 15px
410
+        &__title
411
+          margin-bottom 20px
412
+    &__memberlist
413
+      margin 50px 0
414
+      width 100%
415
+      &__title
416
+        margin-left 10px
417
+      &__wrapper
418
+        height auto
419
+      &__list
420
+        height auto
421
+        overflow-Y visible
422
+      &__btnadd
423
+        border-top 0
424
+    &__webdav
425
+      margin-left 10px
426
+      &__information
427
+        width 350px

+ 12 - 2
src/css/Variable.styl Целия файл

@@ -40,8 +40,18 @@ taskColor = #2d5a88
40 40
 
41 41
 issueColor = #a4835e
42 42
 
43
-// calendarColor =
44
-// dashboard =
43
+/** Role Color  **/
44
+gestionnaire = #f2af2d
45
+lecteur = #15D948
46
+contributeur = #3145F7
47
+responsable = #ED0007
48
+
49
+/** Btn call to action dashboard **/
50
+writefile = #a738ed
51
+importfile = #ff8400
52
+calendar = #f63434
53
+explore = #87d04c
54
+
45 55
 
46 56
 /*************************/
47 57
 /**** BOX SHADOW ****/

+ 2 - 0
src/css/index.styl Целия файл

@@ -21,3 +21,5 @@ html, body, #content, #content > div
21 21
 @import 'PageHtml'
22 22
 @import 'Timeline'
23 23
 @import 'File'
24
+
25
+@import 'Dashboard'

BIN
src/img/listmemberbtn.png Целия файл