Browse Source

rework of the footer and correction of the responsive in progress

AlexiCauvin 5 years ago
parent
commit
dea04ffa8f

+ 2 - 3
src/container/Dashboard.jsx View File

@@ -434,9 +434,8 @@ class Dashboard extends React.Component {
434 434
                     <form className='dashboard__memberlist__form'>
435 435
                       <div
436 436
                         className='dashboard__memberlist__form__close d-flex justify-content-end'
437
-                        onClick={this.handleToggleNewMemberDashboard}
438 437
                       >
439
-                        <i className='fa fa-times' />
438
+                        <i className='fa fa-times' onClick={this.handleToggleNewMemberDashboard} />
440 439
                       </div>
441 440
                       <div className='dashboard__memberlist__form__member'>
442 441
                         <div className='dashboard__memberlist__form__member__name'>
@@ -521,7 +520,7 @@ class Dashboard extends React.Component {
521 520
             </div>
522 521
 
523 522
             <div className='dashboard__moreinfo'>
524
-              <div className='dashboard__moreinfo__webdav genericBtnInfoDashboard mr-5'>
523
+              <div className='dashboard__moreinfo__webdav genericBtnInfoDashboard'>
525 524
                 <div
526 525
                   className='dashboard__moreinfo__webdav__btn genericBtnInfoDashboard__btn'
527 526
                   onClick={this.handleToggleWebdavBtn}

+ 9 - 0
src/container/Sidebar.jsx View File

@@ -88,6 +88,15 @@ class Sidebar extends React.Component {
88 88
               {t('Sidebar.create_new_workspace')}
89 89
             </button>
90 90
           </div>
91
+
92
+          <div className='sidebar__footer mb-2'>
93
+            <div className='sidebar__footer__text d-flex align-items-end justify-content-center'>
94
+              Copyright - 2013 - 2018
95
+              <div className='sidebar__footer__text__link'>
96
+                <a href='http://www.tracim.fr/' target='_blank' className='ml-3'>tracim.fr</a>
97
+              </div>
98
+            </div>
99
+          </div>
91 100
         </div>
92 101
       </div>
93 102
     )

+ 2 - 1
src/container/Tracim.jsx View File

@@ -72,7 +72,8 @@ class Tracim extends React.Component {
72 72
           <PrivateRoute path={PAGE.ACCOUNT} component={Account} />
73 73
           <PrivateRoute path={'/wip/:cp'} component={WIPcomponent} /> {/* for testing purpose only */}
74 74
 
75
-          <Footer />
75
+          {/* <Footer /> */}
76
+
76 77
         </div>
77 78
 
78 79
       </div>

+ 1 - 1
src/container/WorkspaceContent.jsx View File

@@ -274,7 +274,7 @@ class WorkspaceContent extends React.Component {
274 274
             </div>
275 275
 
276 276
             <DropdownCreateButton
277
-              customClass='workspace__content__button mb-5'
277
+              customClass='workspace__content__button'
278 278
               idFolder={null}
279 279
               onClickCreateContent={this.handleClickCreateContent}
280 280
               availableApp={contentType}

+ 0 - 3
src/css/ContentItem.styl View File

@@ -30,9 +30,6 @@
30 30
     justify-content space-between
31 31
     flex-grow 2
32 32
     flex-shrink 2
33
-    white-space nowrap
34
-    overflow hidden
35
-    text-overflow ellipsis
36 33
     &__text
37 34
       margin-right 10px
38 35
       font-size 17px

+ 2 - 1
src/css/Dashboard.styl View File

@@ -224,7 +224,8 @@ coloricon()
224 224
       background-color off-white
225 225
       &__close
226 226
         font-size 20px
227
-        cursor pointer
227
+        & > i
228
+          cursor pointer
228 229
       &__member
229 230
         &__name
230 231
           .name__label

+ 11 - 0
src/css/ExtandedAction.styl View File

@@ -6,3 +6,14 @@
6 6
     .subdropdown
7 7
       &__item
8 8
         padding 10px
9
+
10
+
11
+@media (min-width: min-sm) and (max-width: max-md)
12
+
13
+  .extandedaction
14
+    display none
15
+
16
+@media (max-width: max-xs)
17
+
18
+  .extandedaction
19
+    display none

+ 57 - 57
src/css/File.styl View File

@@ -202,75 +202,75 @@
202 202
                 &__icon
203 203
                   margin-left 15px
204 204
 
205
-/**** MEDIA 992px & 1199px ****/
205
+// /**** MEDIA 992px & 1199px ****/
206 206
 
207
-@media (min-width: min-lg) and (max-width: max-lg)
207
+// @media (min-width: min-lg) and (max-width: max-lg)
208 208
 
209
-  .wsFileFile
210
-    width 900px
211
-    overflow-Y auto
209
+//   .wsFileFile
210
+//     width 900px
211
+//     overflow-Y auto
212 212
 
213
-/******************************/
213
+// /******************************/
214 214
 
215
-/**** MEDIA 768px & 991px ****/
215
+// /**** MEDIA 768px & 991px ****/
216 216
 
217
-@media (min-width: min-md) and (max-width: max-md)
217
+// @media (min-width: min-md) and (max-width: max-md)
218 218
 
219
-  .wsFileFile
220
-    width 100%
219
+//   .wsFileFile
220
+//     width 100%
221 221
 
222
-/******************************/
222
+// /******************************/
223 223
 
224
-/**** MEDIA 576px & 767px ****/
224
+// /**** MEDIA 576px & 767px ****/
225 225
 
226
-@media (min-width: min-sm) and (max-width: max-sm)
226
+// @media (min-width: min-sm) and (max-width: max-sm)
227 227
 
228
-  .wsFileFile
229
-    top 69px
230
-    width 100%
231
-    height calc(100% - 69px) // 69px => top rules
232
-    overflow-Y scroll
228
+//   .wsFileFile
229
+//     top 69px
230
+//     width 100%
231
+//     height calc(100% - 69px) // 69px => top rules
232
+//     overflow-Y scroll
233 233
 
234
-/******************************/
234
+// /******************************/
235 235
 
236
-/**** MEDIA 575px ****/
236
+// /**** MEDIA 575px ****/
237 237
 
238
-@media (max-width: max-xs)
238
+// @media (max-width: max-xs)
239 239
 
240
-  .activesidebar
241
-    .wsFileFile__contentpage__preview
242
-      &__sidebar
243
-        &__property
244
-          width 300px
240
+//   .activesidebar
241
+//     .wsFileFile__contentpage__preview
242
+//       &__sidebar
243
+//         &__property
244
+//           width 300px
245 245
 
246
-  .wsFileFile
247
-    top 69px
248
-    width 100%
249
-    height calc(100% - 69px) // 69px => top rules
250
-    overflow-Y scroll
251
-    &__option__menu__addversion
252
-        padding 8px 5px
253
-        & > i
254
-          display none
255
-    &__contentpage
256
-      display block
257
-      &__preview
258
-        display flex
259
-        flex-direction column
260
-        width calc(100% - 30px) // 30px => margin
261
-      &__wrapper
262
-        width calc(100% - 30px) // 30px => margin
263
-        .timeline
264
-          &__texteditor
265
-            &__simpletext
266
-              display inline-flex
267
-              width 60%
268
-              margin-right 0
269
-            &__submit
270
-              display inline-flex
271
-              margin 10px 0
272
-              &__btn
273
-                display flex
274
-                margin-left 10px
275
-                &__icon
276
-                  margin-left 15px
246
+//   .wsFileFile
247
+//     top 69px
248
+//     width 100%
249
+//     height calc(100% - 69px) // 69px => top rules
250
+//     overflow-Y scroll
251
+//     &__option__menu__addversion
252
+//         padding 8px 5px
253
+//         & > i
254
+//           display none
255
+//     &__contentpage
256
+//       display block
257
+//       &__preview
258
+//         display flex
259
+//         flex-direction column
260
+//         width calc(100% - 30px) // 30px => margin
261
+//       &__wrapper
262
+//         width calc(100% - 30px) // 30px => margin
263
+//         .timeline
264
+//           &__texteditor
265
+//             &__simpletext
266
+//               display inline-flex
267
+//               width 60%
268
+//               margin-right 0
269
+//             &__submit
270
+//               display inline-flex
271
+//               margin 10px 0
272
+//               &__btn
273
+//                 display flex
274
+//                 margin-left 10px
275
+//                 &__icon
276
+//                   margin-left 15px

+ 7 - 1
src/css/Folder.styl View File

@@ -91,7 +91,6 @@ folderopen()
91 91
       white-space nowrap
92 92
       text-overflow ellipsis
93 93
       overflow hidden
94
-      width 400px
95 94
       font-size 17px
96 95
       color darkGrey
97 96
     &__button
@@ -128,6 +127,11 @@ folderopen()
128 127
         & > i
129 128
           margin-right 3px
130 129
 
130
+@media (min-width: min-sm) and (max-width: max-md)
131
+
132
+  .folder__header__button
133
+    display none
134
+
131 135
 @media (max-width: max-xs)
132 136
   .folder
133 137
     &__header
@@ -137,4 +141,6 @@ folderopen()
137 141
           font-size 20px
138 142
         &__text
139 143
           font-size 15px
144
+      &__button
145
+        display none
140 146
 

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

@@ -61,7 +61,7 @@ a
61 61
 .sidebarpagecontainer
62 62
   display flex
63 63
   padding-top 88px
64
-  min-height calc(100% - 50px)
64
+  min-height 100%
65 65
 
66 66
 .pageWrapperGeneric
67 67
   width 100%

+ 18 - 3
src/css/Sidebar.styl View File

@@ -6,7 +6,7 @@
6 6
   border-top-width 2px
7 7
   padding 11px 15px
8 8
   background-color blue
9
-  z-index 2
9
+  z-index 5
10 10
   &__icon
11 11
     font-size 18px
12 12
     text-align center
@@ -27,6 +27,10 @@ sidebar-animate-speed = 0.5s
27 27
 .sidebarSticky
28 28
   position sticky
29 29
   top 87px
30
+  display flex
31
+  flex-direction column
32
+  justify-content space-between
33
+  height 100%
30 34
 
31 35
 leftside()
32 36
   height 100%
@@ -37,13 +41,13 @@ leftside()
37 41
   position relative
38 42
   transition all sidebar-animate-speed
39 43
   width sidebar-width
40
-  z-index 4
44
+  z-index 5
41 45
   &.sidebarclose
42 46
     width 0
43 47
   &__expand
44 48
     position absolute
45 49
     top 0
46
-    right -43px
50
+    right -42px
47 51
     display flex
48 52
     justify-content center
49 53
     align-items center
@@ -131,6 +135,17 @@ leftside()
131 135
             &.activeFilter
132 136
               .dropdown__icon
133 137
                 background-color rgba(253, 253, 253, 0.8)
138
+  &__footer
139
+    &__text
140
+      color off-white
141
+      font-size 14px
142
+      &__link
143
+        & > a
144
+          color off-white
145
+          font-size 14px
146
+          &:hover
147
+            text-decoration underline
148
+            color fourthColor
134 149
 
135 150
 /***** MEDIA 992px and 1199px ******/
136 151