File tree Expand file tree Collapse file tree 12 files changed +130
-43
lines changed Expand file tree Collapse file tree 12 files changed +130
-43
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ const SideBar = props => (
1010 < aside className = "sidebar-app" >
1111 < header onClick = { ( ) => props . onToggleSideBar ( ) } >
1212 < div className = "header-icon" />
13- < i className = "icon-criptext" />
1413 </ header >
1514 < div className = "navigation-partial-mail" >
1615 < div className = "nav-item-free" >
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ const Article = props => {
6161const renderDots = itemSelected => (
6262 < div className = "dots-container" >
6363 { Object . keys ( data ) . map ( ( item , index ) => {
64- const dotSelected = itemSelected === item ;
64+ const dotSelected = itemSelected === Number ( item ) ;
6565 return (
6666 < div key = { index } className = { 'dot' + ( dotSelected ? ' selected' : '' ) } />
6767 ) ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ aside.navigation-feed-container{
2020 top : 0px ;
2121
2222 header {
23- background-color : #f7f7f8 ;
23+ background-color : #373a45 ;
2424 height : $_HEIGHT_HEADER ;
2525 width : 288px ;
2626
@@ -38,7 +38,7 @@ aside.navigation-feed-container{
3838 i {
3939 position : relative ;
4040 top : calc (50% - 13px );
41- color : #000000 ;
41+ color : white ;
4242 }
4343
4444 .badge {
@@ -79,13 +79,12 @@ aside.navigation-feed-container{
7979 height : 20px ;
8080 margin : 0% ;
8181 float : left ;
82- font-weight : 900 ;
82+ font-weight : 700 ;
8383 text-align : left ;
84- color : #000000 ;
84+ color : white ;
8585 }
8686
8787 .header-button {
88- background-color : #0091ff ;
8988 cursor : pointer ;
9089 float : right ;
9190 font-size : 24px ;
Original file line number Diff line number Diff line change 1919
2020.activity-panel-shortcut-content {
2121 align-items : center ;
22- background-color : #0091ff ;
22+ background-color : #373a45 ;
2323 display : flex ;
2424 height : 100% ;
2525 position : relative ;
3232 position : absolute ;
3333 left : -8px ;
3434 top : 24px ;
35- border-right : 8px solid #0091ff ;
35+ border-right : 8px solid #373a45 ;
3636 border-top : 8px solid transparent ;
3737 border-bottom : 8px solid transparent ;
3838 }
Original file line number Diff line number Diff line change 66
77 header {
88 align-items : center ;
9+ background-color : #373a45 ;
910 cursor : pointer ;
1011 display : flex ;
1112 height : $_HEIGHT_HEADER ;
1213 position : relative ;
13-
14- i {
15- display : none ;
16- }
1714 }
1815}
1916
2017.header-icon {
2118 align-items : center ;
22- background-image : url (../#{$_PATH_TO_IMAGES}/header-icon.png );
19+ background-image : url (../#{$_PATH_TO_IMAGES}/header-icon.svg );
2320 background-position : center ;
21+ background-repeat : no-repeat ;
2422 background-size : 100% ;
2523 height : 36px ;
2624 margin : 0 auto ;
137135 width : 210px ;
138136}
139137
138+ @mixin collapse-header-icon {
139+ background-image : url (../#{$_PATH_TO_IMAGES}/header-icon-mini.svg );
140+ background-size : auto 100% ;
141+ width : 100% ;
142+ }
143+
140144.sidebar-app-collapse .sidebar-app {
141145 width : 79px ;
142146
143147 header {
144- background-color : #0091ff ;
148+ background-color : #373a45 ;
145149
146150 & :before {
147151 content : ' ' ;
150154 position : absolute ;
151155 right : -8px ;
152156 top : 24px ;
153- border-left : 8px solid #0091ff ;
157+ border-left : 8px solid #373a45 ;
154158 border-top : 8px solid transparent ;
155159 border-bottom : 8px solid transparent ;
156160 }
157-
158- i {
159- color : white ;
160- display : inline ;
161- font-size : 38px ;
162- margin : 0 auto ;
163- }
164161 }
165162
166163 .header-icon {
167- display : none ;
164+ @include collapse-header-icon ;
168165 }
169166
170167 button .button-compose {
205202 width : 79px ;
206203
207204 header {
208- background-color : #0091ff ;
205+ background-color : #373a45 ;
209206
210207 & :before {
211208 display : none ;
212209 }
213-
214- i {
215- color : white ;
216- display : inline ;
217- font-size : 38px ;
218- margin : 0 auto ;
219- }
220210 }
221211 }
222212
223213 .header-icon {
224- display : none ;
214+ @include collapse-header-icon ;
225215 }
226216
227217 button .button-compose {
Original file line number Diff line number Diff line change 7474 top : 5px ;
7575}
7676
77+ @mixin collapse-nav-item-badge-mini {
78+ right : 28px ;
79+ top : 10px ;
80+ }
81+
82+ @mixin collapse-badge {
83+ border : 1px solid white ;
84+ border-radius : 6px ;
85+ font-size : 0 ;
86+ height : 7px ;
87+ min-width : 0px ;
88+ width : 5px ;
89+ }
90+
7791.sidebar-app-collapse .nav-item {
78- .nav-item-icon {
79- @include collapse-nav-item-icon ;
80- }
81- .nav-item-badge {
82- @include collapse-nav-item-badge
83- }
92+
93+ & :nth-child (n +2 ){
94+ .badge {
95+ @include collapse-badge ;
96+ }
97+
98+ .nav-item-badge {
99+ @include collapse-nav-item-badge-mini ;
100+ }
101+ }
102+
103+ .nav-item-icon {
104+ @include collapse-nav-item-icon ;
105+ }
106+
107+ .nav-item-badge {
108+ @include collapse-nav-item-badge ;
109+
110+ }
84111}
85112
86113@media screen and (max-width : $_MAX_WIDTH_SCREEN ) {
87114 .nav-item {
115+
116+ & :nth-child (n +2 ){
117+ .badge {
118+ @include collapse-badge ;
119+ }
120+
121+ .nav-item-badge {
122+ @include collapse-nav-item-badge-mini ;
123+ }
124+ }
125+
88126 .nav-item-icon {
89127 @include collapse-nav-item-icon ;
90128 }
91129
92130 .nav-item-badge {
93- @include collapse-nav-item-badge
131+ @include collapse-nav-item-badge ;
94132 }
95133 }
96134}
Original file line number Diff line number Diff line change @@ -54,14 +54,15 @@ $_SIZE_BUTTON_CIRCLE: 38px;
5454 width : 100% ;
5555
5656 .dot {
57+ background-color : #bbbbbb ;
5758 border-radius : 50% ;
5859 height : 9px ;
5960 margin : 3px ;
6061 width : 9px ;
61- background-color : #bbbbbb ;
62+ opacity : 0.6 ;
6263
6364 & .selected {
64- opacity : 0.6 ;
65+ opacity : 1 ;
6566 }
6667 }
6768 }
You can’t perform that action at this time.
0 commit comments