File tree Expand file tree Collapse file tree
features/settings/components/GeneralSettings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1373,3 +1373,85 @@ Producthunt item
13731373.capitalize {
13741374 text-transform : capitalize;
13751375}
1376+
1377+ /**
1378+ Modal
1379+ **/
1380+
1381+ .Modal {
1382+ position : absolute;
1383+ left : 50% ;
1384+ top : 50% ;
1385+ transform : translate (-50% , -50% );
1386+ width : 650px ;
1387+ background-color : var (--card-background-color );
1388+ padding : 24px ;
1389+ border-radius : 10px ;
1390+ box-shadow : 0 0 20px # 00000052 ;
1391+ z-index : 3 ;
1392+ max-height : 80vh ;
1393+ overflow-y : scroll;
1394+ }
1395+
1396+ .Overlay {
1397+ position : fixed;
1398+ top : 0 ;
1399+ left : 0 ;
1400+ right : 0 ;
1401+ bottom : 0 ;
1402+ background-color : var (--overlay-background-color );
1403+ backdrop-filter : blur (2px );
1404+ }
1405+
1406+ .modalHeader {
1407+ display : flex;
1408+ flex-direction : row;
1409+ justify-content : space-between;
1410+ margin-bottom : 16px ;
1411+ }
1412+
1413+ .modalTitle {
1414+ margin : 0 ;
1415+ padding : 0 ;
1416+ color : var (--primary-text-color );
1417+ }
1418+ .modalCloseBtn {
1419+ align-items : center;
1420+ background-color : transparent;
1421+ border-radius : 50% ;
1422+ border : none;
1423+ color : var (--primary-text-color );
1424+ cursor : pointer;
1425+ display : flex;
1426+ height : 40px ;
1427+ justify-content : center;
1428+ margin : 0 ;
1429+ padding : 0 ;
1430+ text-align : center;
1431+ width : 40px ;
1432+ }
1433+ .modalCloseBtn : hover {
1434+ opacity : 0.7 ;
1435+ }
1436+
1437+ @media (max-width : 768px ) {
1438+ .Modal {
1439+ left : 0 ;
1440+ top : 0 ;
1441+ margin : 0 ;
1442+ height : 100vh ;
1443+ max-height : 100vh ;
1444+ transform : translate (0 , 0 );
1445+ border-radius : 0 ;
1446+ position : relative;
1447+ box-shadow : none;
1448+ width : auto;
1449+ }
1450+ .settingContent {
1451+ margin-top : 6px ;
1452+ }
1453+ .settingRow {
1454+ flex-direction : column;
1455+ align-items : flex-start;
1456+ }
1457+ }
Original file line number Diff line number Diff line change 1- /**
2- Modal
3- **/
4-
5- .Modal {
6- position : absolute;
7- left : 50% ;
8- top : 50% ;
9- transform : translate (-50% , -50% );
10- width : 650px ;
11- background-color : var (--card-background-color );
12- padding : 24px ;
13- border-radius : 10px ;
14- box-shadow : 0 0 20px # 00000052 ;
15- z-index : 3 ;
16- max-height : 80vh ;
17- overflow-y : scroll;
18- }
19-
20- .Overlay {
21- position : fixed;
22- top : 0 ;
23- left : 0 ;
24- right : 0 ;
25- bottom : 0 ;
26- background-color : var (--overlay-background-color );
27- backdrop-filter : blur (2px );
28- }
29-
301.settingTitle {
312 width : 300px ;
323 margin : 0 ;
@@ -110,37 +81,6 @@ Modal
11081 font-weight : 500 ;
11182 color : var (--primary-text-color );
11283}
113- .modalHeader {
114- display : flex;
115- flex-direction : row;
116- justify-content : space-between;
117- margin-bottom : 16px ;
118- }
119-
120- .modalTitle {
121- margin : 0 ;
122- padding : 0 ;
123- color : var (--primary-text-color );
124- }
125- .modalCloseBtn {
126- align-items : center;
127- background-color : transparent;
128- border-radius : 50% ;
129- border : none;
130- color : var (--primary-text-color );
131- cursor : pointer;
132- display : flex;
133- height : 40px ;
134- justify-content : center;
135- margin : 0 ;
136- padding : 0 ;
137- text-align : center;
138- width : 40px ;
139- }
140- .modalCloseBtn : hover {
141- opacity : 0.7 ;
142- }
143-
14484/**
14585Select styles
14686**/
@@ -181,25 +121,3 @@ Select styles
181121 border-radius : 20px !important ;
182122 color : var (--tag-secondary-color ) !important ;
183123}
184-
185- @media (max-width : 768px ) {
186- .Modal {
187- left : 0 ;
188- top : 0 ;
189- margin : 0 ;
190- height : 100vh ;
191- max-height : 100vh ;
192- transform : translate (0 , 0 );
193- border-radius : 0 ;
194- position : relative;
195- box-shadow : none;
196- width : auto;
197- }
198- .settingContent {
199- margin-top : 6px ;
200- }
201- .settingRow {
202- flex-direction : column;
203- align-items : flex-start;
204- }
205- }
You can’t perform that action at this time.
0 commit comments