@@ -1460,18 +1460,25 @@ div.icon-zip {
14601460}
14611461
14621462.ui-dialog {
1463- /* Center the dialog no matter what */
1463+ box-sizing : border-box;
1464+
1465+ * {
1466+ box-sizing : border-box;
1467+ }
1468+ }
1469+
1470+ .ui-dialog : not (.ui-dialog-content-full ) {
1471+ /*
1472+ - If there is no .ui-dialog-content-full class, then we need to center the dialog no matter what the library JS sets on the element.
1473+ - Otherwise, if we do have .ui-dialog-content-full on the element, then we need to use the library JS to position the dialog at "full screen" size.
1474+ */
14641475 top : 50% !important ;
14651476 left : 50% !important ;
14661477 transform : translate (-50% , -50% ) !important ;
14671478 box-sizing : border-box;
14681479 width : 100% !important ;
14691480 max-width : 100rem ;
14701481
1471- * {
1472- box-sizing : border-box;
1473- }
1474-
14751482 .ui-dialog-content {
14761483 display : flex;
14771484 flex-direction : column;
@@ -1492,75 +1499,76 @@ div.icon-zip {
14921499 margin-top : auto;
14931500 }
14941501
1495- .ui-dialog-buttonpane {
1496- .ui-dialog-buttonset {
1497- button {
1498- font-family : clear-sans;
1499- font-size : 1.1rem ;
1500- font-weight : bold;
1501- letter-spacing : 2px ;
1502- text-transform : uppercase;
1503- margin : 10px 12px 10px 0 ;
1504- padding : 9px 18px ;
1505- text-decoration : none;
1506- white-space : nowrap;
1507- cursor : pointer;
1508- outline : none;
1509- border-radius : 4px ;
1510- border : 0 ;
1511- color : var (--dynamix-jquery-ui-button-text-color );
1512- background :
1513- -webkit-gradient (
1514- linear,
1515- left top,
1516- right top,
1517- from (var (--dynamix-jquery-ui-button-background-start )),
1518- to (var (--dynamix-jquery-ui-button-background-end ))
1519- )
1520- 0 0 no-repeat,
1521- -webkit-gradient (
1522- linear,
1523- left top,
1524- right top,
1525- from (var (--dynamix-jquery-ui-button-background-start )),
1526- to (var (--dynamix-jquery-ui-button-background-end ))
1527- ) 0 100% no-repeat,
1528- -webkit-gradient (
1529- linear,
1530- left bottom,
1531- left top,
1532- from (var (--dynamix-jquery-ui-button-background-start )),
1533- to (var (--dynamix-jquery-ui-button-background-start ))
1534- ) 0 100% no-repeat,
1535- -webkit-gradient (
1536- linear,
1537- left bottom,
1538- left top,
1539- from (var (--dynamix-jquery-ui-button-background-end )),
1540- to (var (--dynamix-jquery-ui-button-background-end ))
1541- ) 100% 100% no-repeat;
1542- background :
1543- linear-gradient (90deg , var (--dynamix-jquery-ui-button-background-start ) 0 , var (--dynamix-jquery-ui-button-background-end )) 0 0 no-repeat,
1544- linear-gradient (90deg , var (--dynamix-jquery-ui-button-background-start ) 0 , var (--dynamix-jquery-ui-button-background-end )) 0 100% no-repeat,
1545- linear-gradient (0deg , var (--dynamix-jquery-ui-button-background-start ) 0 , var (--dynamix-jquery-ui-button-background-start )) 0 100% no-repeat,
1546- linear-gradient (0deg , var (--dynamix-jquery-ui-button-background-end ) 0 , var (--dynamix-jquery-ui-button-background-end )) 100% 100% no-repeat;
1547- background-size :
1548- 100% 2px ,
1549- 100% 2px ,
1550- 2px 100% ,
1551- 2px 100% ;
1502+ }
15521503
1553- & : hover {
1554- color : var (--dynamix-jquery-ui-button-hover-color );
1555- background : -webkit-gradient (
1504+ .ui-dialog-buttonpane {
1505+ .ui-dialog-buttonset {
1506+ button {
1507+ font-family : clear-sans;
1508+ font-size : 1.1rem ;
1509+ font-weight : bold;
1510+ letter-spacing : 2px ;
1511+ text-transform : uppercase;
1512+ margin : 10px 12px 10px 0 ;
1513+ padding : 9px 18px ;
1514+ text-decoration : none;
1515+ white-space : nowrap;
1516+ cursor : pointer;
1517+ outline : none;
1518+ border-radius : 4px ;
1519+ border : 0 ;
1520+ color : var (--dynamix-jquery-ui-button-text-color );
1521+ background :
1522+ -webkit-gradient (
15561523 linear,
15571524 left top,
15581525 right top,
15591526 from (var (--dynamix-jquery-ui-button-background-start )),
15601527 to (var (--dynamix-jquery-ui-button-background-end ))
1561- );
1562- background : linear-gradient (90deg , var (--dynamix-jquery-ui-button-background-start ) 0 , var (--dynamix-jquery-ui-button-background-end ));
1563- }
1528+ )
1529+ 0 0 no-repeat,
1530+ -webkit-gradient (
1531+ linear,
1532+ left top,
1533+ right top,
1534+ from (var (--dynamix-jquery-ui-button-background-start )),
1535+ to (var (--dynamix-jquery-ui-button-background-end ))
1536+ ) 0 100% no-repeat,
1537+ -webkit-gradient (
1538+ linear,
1539+ left bottom,
1540+ left top,
1541+ from (var (--dynamix-jquery-ui-button-background-start )),
1542+ to (var (--dynamix-jquery-ui-button-background-start ))
1543+ ) 0 100% no-repeat,
1544+ -webkit-gradient (
1545+ linear,
1546+ left bottom,
1547+ left top,
1548+ from (var (--dynamix-jquery-ui-button-background-end )),
1549+ to (var (--dynamix-jquery-ui-button-background-end ))
1550+ ) 100% 100% no-repeat;
1551+ background :
1552+ linear-gradient (90deg , var (--dynamix-jquery-ui-button-background-start ) 0 , var (--dynamix-jquery-ui-button-background-end )) 0 0 no-repeat,
1553+ linear-gradient (90deg , var (--dynamix-jquery-ui-button-background-start ) 0 , var (--dynamix-jquery-ui-button-background-end )) 0 100% no-repeat,
1554+ linear-gradient (0deg , var (--dynamix-jquery-ui-button-background-start ) 0 , var (--dynamix-jquery-ui-button-background-start )) 0 100% no-repeat,
1555+ linear-gradient (0deg , var (--dynamix-jquery-ui-button-background-end ) 0 , var (--dynamix-jquery-ui-button-background-end )) 100% 100% no-repeat;
1556+ background-size :
1557+ 100% 2px ,
1558+ 100% 2px ,
1559+ 2px 100% ,
1560+ 2px 100% ;
1561+
1562+ & : hover {
1563+ color : var (--dynamix-jquery-ui-button-hover-color );
1564+ background : -webkit-gradient (
1565+ linear,
1566+ left top,
1567+ right top,
1568+ from (var (--dynamix-jquery-ui-button-background-start )),
1569+ to (var (--dynamix-jquery-ui-button-background-end ))
1570+ );
1571+ background : linear-gradient (90deg , var (--dynamix-jquery-ui-button-background-start ) 0 , var (--dynamix-jquery-ui-button-background-end ));
15641572 }
15651573 }
15661574 }
0 commit comments