@@ -122,44 +122,25 @@ a {
122122}
123123
124124.extras {
125- display : none;
126- flex-direction : row;
127- align-content : center;
128125 order : 2 ;
129126}
130127
131- .extraBtn {
132- background-color : var (--button-background-color );
133- color : var (--button-text-color );
134- margin-left : 8px ;
135- height : 40px ;
136- width : 40px ;
137- line-height : 44px ;
138- font-size : 18px ;
139- text-align : center;
140- border : 0 ;
141- border-radius : 20px ;
142- cursor : pointer;
143- position : relative;
128+ .buttonsFlex {
144129 display : inline-flex;
145- align-items : center;
146- justify-content : center;
147- }
148-
149- .extraBtn : first-child {
150- margin-left : 0 ;
130+ flex-direction : row;
131+ align-content : center;
132+ column-gap : 8px ;
133+ row-gap : 8px ;
151134}
152135
153- .extraTextBtn {
154- padding : 0 16px ;
155- width : auto;
156- min-width : 40px ;
136+ .dndButton {
157137 font-weight : bold;
158138}
159139
160- .darkModeBtn {
161- background-color : var (--dark-mode-background-color );
162- color : var (--dark-mode-text-color );
140+ .profileImage {
141+ height : 40px ;
142+ width : 40px ;
143+ border-radius : 20px ;
163144}
164145
165146.badgeCount {
@@ -1175,6 +1156,41 @@ Producthunt item
11751156 font-size : 24px ;
11761157}
11771158
1159+ /* User */
1160+ .profileImageContainer {
1161+ position : relative;
1162+
1163+ img {
1164+ width : 40px ;
1165+ height : 40px ;
1166+ border-radius : 50% ;
1167+ border : 1px solid var (--tooltip-accent-color );
1168+ }
1169+
1170+ .streak {
1171+ position : absolute;
1172+ display : inline-block;
1173+ bottom : -12px ;
1174+ left : 0 ;
1175+ right : 0 ;
1176+ color : white;
1177+
1178+ .content {
1179+ background-color : var (--tooltip-accent-color );
1180+ font-size : 10px ;
1181+ border-radius : 12px ;
1182+ font-weight : bold;
1183+ padding : 2px 8px ;
1184+ display : inline-flex;
1185+ align-items : center;
1186+ justify-content : center;
1187+ }
1188+ .icon {
1189+ font-size : 12px ;
1190+ }
1191+ }
1192+ }
1193+
11781194/* Small devices (portrait tablets and large phones, 600px and up) */
11791195@media only screen and (min-width : 768px ) {
11801196 .floatingFilter {
@@ -1198,10 +1214,6 @@ Producthunt item
11981214 position : relative;
11991215 }
12001216
1201- .extras {
1202- display : block;
1203- }
1204-
12051217 .scrollButton {
12061218 align-items : center;
12071219 display : flex;
@@ -1349,6 +1361,135 @@ Producthunt item
13491361 color : var (--primary-text-color );
13501362 border-radius : 10px ;
13511363}
1364+
1365+ .dangerToast {
1366+ background-color : # ff4d4f ;
1367+ color : white;
1368+ padding : 10px 20px ;
1369+ border-radius : 10px ;
1370+ }
1371+ .successToast {
1372+ background-color : # 52c41a ;
1373+ color : white;
1374+ padding : 10px 20px ;
1375+ border-radius : 10px ;
1376+ }
13521377.capitalize {
13531378 text-transform : capitalize;
13541379}
1380+
1381+ /**
1382+ Modal
1383+ **/
1384+
1385+ .Modal {
1386+ position : absolute;
1387+ left : 50% ;
1388+ top : 50% ;
1389+ transform : translate (-50% , -50% );
1390+ width : 650px ;
1391+ background-color : var (--card-background-color );
1392+ padding : 24px ;
1393+ border-radius : 10px ;
1394+ box-shadow : 0 0 20px # 00000052 ;
1395+ z-index : 3 ;
1396+ max-height : 80vh ;
1397+ overflow-y : auto;
1398+ }
1399+
1400+ .Overlay {
1401+ position : fixed;
1402+ top : 0 ;
1403+ left : 0 ;
1404+ right : 0 ;
1405+ bottom : 0 ;
1406+ background-color : var (--overlay-background-color );
1407+ backdrop-filter : blur (2px );
1408+ }
1409+
1410+ .modalHeader {
1411+ display : flex;
1412+ flex-direction : row;
1413+ align-items : center;
1414+ justify-content : space-between;
1415+ margin-bottom : 16px ;
1416+ position : relative;
1417+ }
1418+
1419+ .modalTitle {
1420+ margin : 0 ;
1421+ padding : 0 ;
1422+ color : var (--primary-text-color );
1423+ font-size : 1.3em ;
1424+ display : inline-flex;
1425+ width : 100% ;
1426+ column-gap : 8px ;
1427+ align-items : center;
1428+ }
1429+ .modalCloseBtn {
1430+ align-items : center;
1431+ position : absolute;
1432+ background-color : transparent;
1433+ border-radius : 50% ;
1434+ top : 0 ;
1435+ right : 0 ;
1436+ border : none;
1437+ color : var (--primary-text-color );
1438+ cursor : pointer;
1439+ display : flex;
1440+ justify-content : center;
1441+ margin : 0 ;
1442+ padding : 0 ;
1443+ text-align : center;
1444+ }
1445+ .modalCloseBtn : hover {
1446+ opacity : 0.7 ;
1447+ }
1448+ .settingContent .form {
1449+ display : flex;
1450+ flex-direction : row;
1451+ align-items : center;
1452+ gap : 12px ;
1453+ }
1454+
1455+ .settingContent input [type = 'text' ] {
1456+ flex : 1 ;
1457+ background-color : var (--settings-input-background-color );
1458+ border : 1px solid var (--settings-input-border-color );
1459+ border-radius : 50px ;
1460+ padding : 6px 18px ;
1461+ color : var (--settings-input-text-color );
1462+ font-size : 14px ;
1463+ }
1464+
1465+ .settingContent input [type = 'text' ]::placeholder {
1466+ /* Chrome, Firefox, Opera, Safari 10.1+ */
1467+ color : var (--settings-input-placeholder-color );
1468+ opacity : 1 ;
1469+ font-size : 14px ;
1470+ }
1471+
1472+ .settingContent input [type = 'text' ]: focus {
1473+ border-color : var (--settings-input-border-focus-color );
1474+ }
1475+ @media (max-width : 768px ) {
1476+ .Modal {
1477+ left : 0 ;
1478+ top : 0 ;
1479+ margin : 0 ;
1480+ height : 100vh ;
1481+ max-height : 100vh ;
1482+ transform : translate (0 , 0 );
1483+ border-radius : 0 ;
1484+ position : relative;
1485+ box-shadow : none;
1486+ width : auto;
1487+ }
1488+ .settingContent {
1489+ margin-top : 6px ;
1490+ }
1491+ .settingRow {
1492+ flex-direction : column;
1493+ align-items : flex-start;
1494+ }
1495+ }
0 commit comments