@@ -98,7 +98,7 @@ article {
98
98
theme- container- background,
99
99
white
100
100
);
101
- margin : 68 px auto 20px ;
101
+ margin : 66 px auto 20px ;
102
102
text-align : left ;
103
103
@include themeable (
104
104
box-shadow ,
@@ -922,10 +922,9 @@ article {
922
922
margin-right : -1px ;
923
923
width : calc (55px + 1.1vw );
924
924
top : 0% ;
925
- padding : calc (10 px + 5.5 % ) 0px ;
925
+ padding : calc (11 px + 6 % ) 0px ;
926
926
bottom : 5% ;
927
927
left : calc (50% - 672px );
928
- border-radius : 20px ;
929
928
background : transparent ;
930
929
border : 0 ;
931
930
box-shadow : none ;
@@ -938,31 +937,23 @@ article {
938
937
939
938
button ,
940
939
a {
941
- margin-bottom : 10px !important ;
942
940
display : block !important ;
943
941
width : 100% !important ;
944
- padding : 6 px 0px !important ;
942
+ padding : 7 px 0px !important ;
945
943
margin-left : 0px !important ;
946
944
margin-right : 0px !important ;
947
- border-radius : 100px !important ;
948
- border : 0 !important ;
945
+ border : 0px !important ;
949
946
transition-delay : 0.1s ;
950
947
951
948
& .user-animated {
952
949
animation : wide- reaction- animation 0.25s !important ;
950
+ img {
951
+ animation : image- reaction- animation 0.25s !important ;
952
+ }
953
953
}
954
-
955
- & :not (.user-activated ) {
956
- @include themeable-important (
957
- background ,
958
- theme- container- background,
959
- darken ($light-gray , 1% )
960
- );
961
- }
962
-
963
- & :focus {
954
+ & :focus-visible {
964
955
outline : 0 ;
965
- box-shadow : 0 0 7 px $medium-gray !important ;
956
+ box-shadow : 0 px 0 px 4 px $medium-gray !important ;
966
957
}
967
958
}
968
959
@@ -976,9 +967,8 @@ article {
976
967
}
977
968
978
969
.dropdown-content {
979
- left : 150px !important ;
980
- bottom : 0 !important ;
981
-
970
+ left : 80px !important ;
971
+ bottom : 0px !important ;
982
972
a {
983
973
background : transparent !important ;
984
974
padding-left : 10px !important ;
@@ -991,40 +981,55 @@ article {
991
981
a {
992
982
font-size : 0.70em !important ;
993
983
}
984
+ button {
985
+ padding : 9px 0px !important ;
986
+ }
987
+ .dropdown-content {
988
+ left : 100px !important ;
989
+ }
994
990
}
995
991
@media screen and (min-width : 1530px ) {
996
992
width : 156px ;
997
- left : calc (50% - 756 px );
993
+ left : calc (50% - 750 px );
998
994
button ,
999
995
a {
1000
996
width : 140px !important ;
1001
997
}
1002
998
a {
1003
999
font-size : 0.79em !important ;
1004
1000
}
1001
+ .dropdown-content {
1002
+ left : 150px !important ;
1003
+ }
1004
+ button {
1005
+ padding : 11px 0px !important ;
1006
+ }
1005
1007
}
1006
1008
button {
1007
- @include themeable (
1008
- background ,
1009
- theme- container- background,
1010
- transparent
1011
- );
1009
+ background : transparent ;
1012
1010
margin : 0px calc (0.22vw + 2px );
1013
- padding : 3px calc (0.88vw + 8 px );
1014
- border-radius : 100 px ;
1015
- border : 2 px solid darken ( $light-gray , 20 % ) ;
1011
+ padding : 3px calc (0.88vw + 6 px );
1012
+ padding-right : calc ( 0.88 vw + 10 px ) ;
1013
+ border : 0 px ;
1016
1014
// background: linear-gradient(60deg, #f4d2d2, #ffffff);
1017
- font-family : $helvetica-condensed ;
1015
+ font-weight : bold ;
1018
1016
font-stretch : condensed ;
1019
1017
1020
1018
img {
1021
1019
height : 23px ;
1022
1020
width : 23px ;
1023
- transition : -webkit-filter 0.2s , opacity 0.2s , background-color 0.2s ;
1024
-
1021
+ transition : -webkit-filter 0.2s , opacity 0.2s ;
1022
+ padding : 4px ;
1023
+ border-radius : 100px ;
1024
+ transition : box-shadow 0.18s ;
1025
+ @include themeable (
1026
+ background ,
1027
+ theme- container- accent- background,
1028
+ darken ($light-gray , 3% )
1029
+ );
1025
1030
@media screen and (min-width : 500px ) {
1026
- height : 28 px ;
1027
- width : 28 px ;
1031
+ height : 26 px ;
1032
+ width : 26 px ;
1028
1033
}
1029
1034
@media screen and (min-width : 1365px ) {
1030
1035
height : 19px ;
@@ -1037,47 +1042,50 @@ article {
1037
1042
@media screen and (min-width : 1530px ) {
1038
1043
height : 28px ;
1039
1044
width : 28px ;
1045
+ padding : 7px ;
1046
+ }
1047
+ }
1048
+ & :hover {
1049
+ img {
1050
+ box-shadow : 0px 0px 0px 2px var (--theme-container-accent-background , $purple );
1040
1051
}
1041
1052
}
1042
1053
1043
1054
.reaction-number {
1044
1055
display : inline-block ;
1045
- vertical-align : 5px ;
1046
- margin-left : 4px ;
1056
+ vertical-align : 6px ;
1057
+ margin-left : 5px ;
1058
+ vertical-align : 10px ;
1047
1059
@include themeable (
1048
1060
color ,
1049
1061
theme- secondary- color,
1050
1062
$medium-gray
1051
1063
);
1052
- font-size : 14 px ;
1064
+ font-size : 13 px ;
1053
1065
width : 27px ;
1054
1066
1055
1067
@media screen and (min-width : 500px ) {
1056
1068
width : 37px ;
1057
- font-size : 18px ;
1058
- vertical-align : 7px ;
1059
- margin-left : 7px ;
1069
+ font-size : 16px ;
1070
+ vertical-align : 9px ;
1060
1071
}
1061
1072
@media screen and (min-width : 1365px ) {
1062
- font-size : 13px ;
1063
- vertical-align : 4px ;
1073
+ font-size : 12px ;
1074
+ vertical-align : 9px ;
1075
+ margin-left : 1px ;
1064
1076
width : 28px ;
1065
1077
}
1066
1078
@media screen and (min-width : 1439px ) {
1067
1079
font-size : 15px ;
1068
- vertical-align : 5 px ;
1080
+ vertical-align : 9 px ;
1069
1081
width : 37px ;
1082
+ margin-left : 7px ;
1070
1083
}
1071
1084
@media screen and (min-width : 1530px ) {
1072
- font-size : 18 px ;
1073
- vertical-align : 7 px ;
1085
+ font-size : 16 px ;
1086
+ vertical-align : 15 px ;
1074
1087
}
1075
1088
}
1076
-
1077
- & :hover {
1078
- border : 2px solid #8ac ;
1079
- }
1080
-
1081
1089
& .activated {
1082
1090
img {
1083
1091
filter : none ;
@@ -1086,28 +1094,32 @@ article {
1086
1094
}
1087
1095
1088
1096
& .user-activated {
1089
- border : 2px solid darken ($bold-blue , 35% );
1090
- background : linear-gradient (60deg , #f4d2d2 , #efb6b6 );
1091
-
1092
1097
img {
1093
1098
filter : none ;
1094
1099
opacity : 1 ;
1100
+ box-shadow : 0px 0px 0px 2px #ffc0d3 ;
1101
+ background : linear-gradient (60deg , #ffc0d3 , #ff90b3 );
1095
1102
}
1096
1103
1097
1104
& .unicorn-reaction-button {
1098
- background : linear-gradient (60deg , #d6e5fc , #c9deff );
1105
+ img {
1106
+ box-shadow : 0px 0px 0px 2px #d0e3ff ;
1107
+ background : linear-gradient (60deg , #d0e3ff , #adccff );
1108
+ }
1099
1109
}
1100
1110
1101
1111
& .readinglist-reaction-button {
1102
- background : linear-gradient (60deg , #d2cdf2 , #beb8ef );
1103
- }
1104
-
1105
- .reaction-number {
1106
- color : darken ($bold-blue , 40% );
1112
+ img {
1113
+ box-shadow : 0px 0px 0px 2px #cfc9f3 ;
1114
+ background : linear-gradient (60deg , #cfc9f3 , #b0a7f0 );
1115
+ }
1107
1116
}
1108
1117
1109
1118
& .user-animated {
1110
1119
animation : reaction 0.25s ;
1120
+ img {
1121
+ animation : image- reaction- animation 0.25s !important ;
1122
+ }
1111
1123
}
1112
1124
}
1113
1125
}
@@ -1118,7 +1130,6 @@ article {
1118
1130
width : 40px ;
1119
1131
1120
1132
button {
1121
- border : 2px solid transparent ;
1122
1133
min-width : 38px ;
1123
1134
opacity : 0.7 ;
1124
1135
@@ -1130,7 +1141,9 @@ article {
1130
1141
vertical-align : -2px ;
1131
1142
}
1132
1143
}
1133
-
1144
+ img {
1145
+ background : transparent !important ;
1146
+ }
1134
1147
.dropdown-content {
1135
1148
display : none ;
1136
1149
position : fixed ;
@@ -1142,7 +1155,6 @@ article {
1142
1155
font-size : 1em ;
1143
1156
text-align : left ;
1144
1157
min-width : 300px ;
1145
- border-top : 2px solid $light-medium-gray ;
1146
1158
padding-bottom : 15px ;
1147
1159
padding-top : 15px ;
1148
1160
@@ -1200,7 +1212,6 @@ article {
1200
1212
font-weight : bold ;
1201
1213
font-size : calc (0.8em + 0.1vw );
1202
1214
vertical-align : calc (7px - 0.07vw );
1203
- border : 2px solid darken ($light-gray , 20% );
1204
1215
font-family : $helvetica-condensed ;
1205
1216
font-stretch : condensed ;
1206
1217
padding : 4px 0.88vw ;
@@ -1226,7 +1237,6 @@ article {
1226
1237
.article-actions-tweet-button {
1227
1238
padding : 2px 0 2px !important ;
1228
1239
border-radius : 3px ;
1229
- border : 2px solid darken ($light-gray , 20% );
1230
1240
margin-right : 0.15vw ;
1231
1241
margin-left : calc (0.2vw + 11px );
1232
1242
vertical-align : calc (3px - 0.07vw );
@@ -1501,3 +1511,13 @@ article {
1501
1511
100% {
1502
1512
}
1503
1513
}
1514
+
1515
+ @keyframes image-reaction-animation {
1516
+ 0% {
1517
+ }
1518
+ 50% {
1519
+ transform : rotate (10deg );
1520
+ }
1521
+ 100% {
1522
+ }
1523
+ }
0 commit comments