@@ -1600,6 +1600,11 @@ table.dataTable tbody > tr > .selected {
16001600 transition : opacity 200ms ease-in-out;
16011601}
16021602
1603+ # StaticDHCPTable ,
1604+ .table-responsive : has (# StaticDHCPTable ) {
1605+ margin : 0 ;
1606+ }
1607+
16031608# StaticDHCPTable th : last-of-type ,
16041609# StaticDHCPTable td : last-of-type {
16051610 width : 106px ;
@@ -1610,6 +1615,26 @@ table.dataTable tbody > tr > .selected {
16101615 background-color : # d337 ;
16111616}
16121617
1618+ /* Show hint message on the static DHCP lease table, when at least one Save button exists */
1619+ div : has (> .table-responsive # StaticDHCPTable ) {
1620+ position : relative;
1621+ margin-bottom : 15px ;
1622+ }
1623+ div : has (> .table-responsive # StaticDHCPTable .save-static-row )::after {
1624+ content : 'Please confirm changes using the green button, then click "Save & Apply" before leaving the page.' ;
1625+ position : relative;
1626+ margin : 2px 0 15px ;
1627+ padding : 4px 12px ;
1628+ width : -moz-fit-content;
1629+ width : fit-content;
1630+ max-width : 100% ;
1631+ color : # 000 ;
1632+ font-style : italic;
1633+ text-align : right;
1634+ background : # eedd88 ;
1635+ float : right;
1636+ }
1637+
16131638textarea .field-sizing-content {
16141639 min-block-size : 3.5rlh ;
16151640 max-block-size : 20rlh ;
@@ -1624,24 +1649,6 @@ textarea.no-wrap {
16241649 resize : none;
16251650}
16261651
1627- /* Show hint message on the static DHCP lease table, when at least one Save button exists */
1628- div : has (> .table-responsive # StaticDHCPTable ) {
1629- position : relative;
1630- }
1631- div : has (> .table-responsive # StaticDHCPTable .save-static-row )::before {
1632- content : 'Please confirm changes using the green button, then click "Save & Apply" before leaving the page.' ;
1633- position : absolute;
1634- display : block;
1635- padding : 4px 12px ;
1636- max-width : calc (100% - 30px );
1637- right : 15px ;
1638- bottom : 0px ;
1639- color : # 000 ;
1640- font-style : italic;
1641- text-align : right;
1642- background : # eedd88 ;
1643- }
1644-
16451652/*
16461653Calculate the total height using the number of lines and line-height. Also account for borders and padding.
16471654Use the same values used by ".form-control" class:
@@ -1675,6 +1682,7 @@ border-top=1px + padding-top=6px + padding-bottom=6px + border-bottom=1px
16751682 background : # ed8 ;
16761683 box-shadow : 0 0 8px rgba (0 , 0 , 0 , 0.35 );
16771684 cursor : not-allowed;
1685+ z-index : 10 ;
16781686}
16791687
16801688# dhcp-hosts {
0 commit comments