File tree Expand file tree Collapse file tree 2 files changed +48
-18
lines changed
Expand file tree Collapse file tree 2 files changed +48
-18
lines changed Original file line number Diff line number Diff line change 22 @import (multiple ) ' ../../less/colors-ios.less' ;
33
44 .chip {
5- font-size : 14px ;
6- color : #fff ;
7- background : rgba (0 , 0 , 0 , 0.37 );
8- height : 23px ;
9- line-height : 23px ;
5+ font-size : 13px ;
6+ color : #000 ;
7+ background : rgba (0 , 0 , 0 , 0.12 );
8+ height : 24px ;
109 border-radius : 12px ;
11- padding : 0 6px ;
10+ padding : 0 10px ;
11+ }
12+ .chip-outline {
13+ background : none ;
14+ border : 1px solid rgba (0 , 0 , 0 , 0.12 );
1215 }
1316 .chip-media {
14- width : 23 px ;
15- height : 23 px ;
17+ width : 24 px ;
18+ height : 24 px ;
1619 vertical-align : middle ;
1720 border-radius : 50% ;
1821 text-align : center ;
2124 font-size : 12px ;
2225 box-sizing : border-box ;
2326 .ltr ({
24- margin-left : -6 px ;
27+ margin-left : -10 px ;
2528 + .chip-label {
2629 margin-left : 4px ;
2730 }
2831 });
2932 .rtl ({
30- margin-right : -6 px ;
33+ margin-right : -10 px ;
3134 + .chip-label {
3235 margin-right : 4px ;
3336 }
3942 }
4043 }
4144 .chip-delete {
42- width : 23 px ;
43- height : 23 px ;
44- line-height : 23 px ;
45- .svg-background (" <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'><circle cx='14' cy='14' r='14' fill='#fff '/><line stroke='#000 ' stroke-width='2 ' stroke-miterlimit='10' x1='8' y1='8' x2='20' y2='20'/><line fill='none' stroke='#000 ' stroke-width='2 ' stroke-miterlimit='10' x1='20' y1='8' x2='8' y2='20'/></svg>" );
45+ width : 24 px ;
46+ height : 24 px ;
47+ line-height : 24 px ;
48+ .svg-background (" <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'><circle cx='14' cy='14' r='14' fill='#000 '/><line stroke='#fff ' stroke-width='3 ' stroke-miterlimit='10' x1='8' y1='8' x2='20' y2='20'/><line fill='none' stroke='#fff ' stroke-width='3 ' stroke-miterlimit='10' x1='20' y1='8' x2='8' y2='20'/></svg>" );
4649 background-position : center ;
47- background-size : 13 px 13 px ;
48- opacity : 0.7 ;
50+ background-size : 14 px 14 px ;
51+ opacity : 0.54 ;
4952 .ltr ({
50- margin-right : -6 px ;
53+ margin-right : -10 px ;
5154 });
5255 .rtl ({
53- margin-left : -6 px ;
56+ margin-left : -10 px ;
5457 });
5558 }
5659 // Dark Theme
5760 & when (@includeDarkTheme ) {
5861 .theme-dark {
5962 .chip {
6063 background-color : #333 ;
64+ color : #fff ;
65+ }
66+ .chip-outline {
67+ background : none ;
68+ border-color : #333 ;
69+ }
70+ .chip-delete {
71+ .svg-background (" <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'><circle cx='14' cy='14' r='14' fill='#fff'/><line stroke='#000' stroke-width='3' stroke-miterlimit='10' x1='8' y1='8' x2='20' y2='20'/><line fill='none' stroke='#000' stroke-width='3' stroke-miterlimit='10' x1='20' y1='8' x2='8' y2='20'/></svg>" );
6172 }
6273 }
6374 }
6475 .color-loop ({
6576 .chip.color- @{colorName} {
6677 background : @colorValue ;
78+ color : #fff ;
79+ & .chip-outline {
80+ background : none ;
81+ border-color : @colorValue ;
82+ color : @colorValue ;
83+ }
6784 }
6885 });
6986}
Original file line number Diff line number Diff line change 1010 border-radius : 16px ;
1111 padding : 0 12px ;
1212 }
13+ .chip-outline {
14+ background : none ;
15+ border : 1px solid rgba (0 , 0 , 0 , 0.12 );
16+ }
1317 .chip-media {
1418 width : 32px ;
1519 height : 32px ;
6670 background : #333 ;
6771 color : rgba (255 ,255 ,255 ,0.87 );
6872 }
73+ .chip-outline {
74+ background : none ;
75+ border-color : #333 ;
76+ }
6977 .chip-delete {
7078 .svg-background (" <svg fill='#fff' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z'/><path d='M0 0h24v24H0z' fill='none'/></svg>" );
7179 }
7583 .chip.color- @{colorName} {
7684 background : @colorValue ;
7785 color : #fff ;
86+ & .chip-outline {
87+ background : none ;
88+ border-color : @colorValue ;
89+ color : @colorValue ;
90+ }
7891 }
7992 });
8093}
You can’t perform that action at this time.
0 commit comments