Browse Source

rename changetitle into edittitle & remove the unused comments

AlexiCauvin 7 years ago
parent
commit
3291b5c382
2 changed files with 2 additions and 21 deletions
  1. 1 1
      src/component/common/PopinFixed/PopinFixedHeader.jsx
  2. 1 20
      src/css/Generic.styl

+ 1 - 1
src/component/common/PopinFixed/PopinFixedHeader.jsx View File

13
         {props.name}
13
         {props.name}
14
       </div>
14
       </div>
15
 
15
 
16
-      <div className={classnames('wsFileGeneric__header__changetitle', `${props.customClass}__header__changetitle`)}>
16
+      <div className={classnames('wsFileGeneric__header__edittitle', `${props.customClass}__header__changetitle`)}>
17
         <i className='fa fa-pencil' />
17
         <i className='fa fa-pencil' />
18
       </div>
18
       </div>
19
 
19
 

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

100
       text-overflow ellipsis
100
       text-overflow ellipsis
101
       overflow hidden
101
       overflow hidden
102
       white-space nowrap
102
       white-space nowrap
103
-    &__changetitle
103
+    &__edittitle
104
       margin 0 15px
104
       margin 0 15px
105
       color white
105
       color white
106
       font-size 20px
106
       font-size 20px
136
     display flex
136
     display flex
137
     flex-direction column
137
     flex-direction column
138
 
138
 
139
-// // in Variable.styl
140
-// pageHtmlColor = #...
141
-// pageHtmlColor-hover = darken(pageHtmlColor)
142
-
143
-// darken = function (color) {
144
-//   return color * #... // check doc stylus
145
-// }
146
-
147
-// //////////////////////////
148
-
149
-// // .btn .btnGeneric .pageHtml
150
-// .btnGeneric
151
-//   padding 5px
152
-
153
-// .pageHtml
154
-//   background-color pageHtmlColor
155
-//   color white
156
-//   &:hover
157
-//     color pageHtmlColor-hover