@@ -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 {
@@ -1198,10 +1179,6 @@ Producthunt item
11981179 position : relative;
11991180 }
12001181
1201- .extras {
1202- display : block;
1203- }
1204-
12051182 .scrollButton {
12061183 align-items : center;
12071184 display : flex;
@@ -1349,6 +1326,135 @@ Producthunt item
13491326 color : var (--primary-text-color );
13501327 border-radius : 10px ;
13511328}
1329+
1330+ .dangerToast {
1331+ background-color : # ff4d4f ;
1332+ color : white;
1333+ padding : 10px 20px ;
1334+ border-radius : 10px ;
1335+ }
1336+ .successToast {
1337+ background-color : # 52c41a ;
1338+ color : white;
1339+ padding : 10px 20px ;
1340+ border-radius : 10px ;
1341+ }
13521342.capitalize {
13531343 text-transform : capitalize;
13541344}
1345+
1346+ /**
1347+ Modal
1348+ **/
1349+
1350+ .Modal {
1351+ position : absolute;
1352+ left : 50% ;
1353+ top : 50% ;
1354+ transform : translate (-50% , -50% );
1355+ width : 650px ;
1356+ background-color : var (--card-background-color );
1357+ padding : 24px ;
1358+ border-radius : 10px ;
1359+ box-shadow : 0 0 20px # 00000052 ;
1360+ z-index : 3 ;
1361+ max-height : 80vh ;
1362+ overflow-y : auto;
1363+ }
1364+
1365+ .Overlay {
1366+ position : fixed;
1367+ top : 0 ;
1368+ left : 0 ;
1369+ right : 0 ;
1370+ bottom : 0 ;
1371+ background-color : var (--overlay-background-color );
1372+ backdrop-filter : blur (2px );
1373+ }
1374+
1375+ .modalHeader {
1376+ display : flex;
1377+ flex-direction : row;
1378+ align-items : center;
1379+ justify-content : space-between;
1380+ margin-bottom : 16px ;
1381+ position : relative;
1382+ }
1383+
1384+ .modalTitle {
1385+ margin : 0 ;
1386+ padding : 0 ;
1387+ color : var (--primary-text-color );
1388+ font-size : 1.3em ;
1389+ display : inline-flex;
1390+ width : 100% ;
1391+ column-gap : 8px ;
1392+ align-items : center;
1393+ }
1394+ .modalCloseBtn {
1395+ align-items : center;
1396+ position : absolute;
1397+ background-color : transparent;
1398+ border-radius : 50% ;
1399+ top : 0 ;
1400+ right : 0 ;
1401+ border : none;
1402+ color : var (--primary-text-color );
1403+ cursor : pointer;
1404+ display : flex;
1405+ justify-content : center;
1406+ margin : 0 ;
1407+ padding : 0 ;
1408+ text-align : center;
1409+ }
1410+ .modalCloseBtn : hover {
1411+ opacity : 0.7 ;
1412+ }
1413+ .settingContent .form {
1414+ display : flex;
1415+ flex-direction : row;
1416+ align-items : center;
1417+ gap : 12px ;
1418+ }
1419+
1420+ .settingContent input [type = 'text' ] {
1421+ flex : 1 ;
1422+ background-color : var (--settings-input-background-color );
1423+ border : 1px solid var (--settings-input-border-color );
1424+ border-radius : 50px ;
1425+ padding : 6px 18px ;
1426+ color : var (--settings-input-text-color );
1427+ font-size : 14px ;
1428+ }
1429+
1430+ .settingContent input [type = 'text' ]::placeholder {
1431+ /* Chrome, Firefox, Opera, Safari 10.1+ */
1432+ color : var (--settings-input-placeholder-color );
1433+ opacity : 1 ;
1434+ font-size : 14px ;
1435+ }
1436+
1437+ .settingContent input [type = 'text' ]: focus {
1438+ border-color : var (--settings-input-border-focus-color );
1439+ }
1440+ @media (max-width : 768px ) {
1441+ .Modal {
1442+ left : 0 ;
1443+ top : 0 ;
1444+ margin : 0 ;
1445+ height : 100vh ;
1446+ max-height : 100vh ;
1447+ transform : translate (0 , 0 );
1448+ border-radius : 0 ;
1449+ position : relative;
1450+ box-shadow : none;
1451+ width : auto;
1452+ }
1453+ .settingContent {
1454+ margin-top : 6px ;
1455+ }
1456+ .settingRow {
1457+ flex-direction : column;
1458+ align-items : flex-start;
1459+ }
1460+ }
0 commit comments