@@ -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 ;
@@ -1611,6 +1616,26 @@ table.dataTable tbody > tr > .selected {
16111616 color : # fff ;
16121617}
16131618
1619+ /* Show hint message on the static DHCP lease table, when at least one Save button exists */
1620+ div : has (> .table-responsive # StaticDHCPTable ) {
1621+ position : relative;
1622+ margin-bottom : 15px ;
1623+ }
1624+ div : has (> .table-responsive # StaticDHCPTable .save-static-row )::after {
1625+ content : 'Please confirm changes using the green button, then click "Save & Apply" before leaving the page.' ;
1626+ position : relative;
1627+ margin : 2px 0 15px ;
1628+ padding : 4px 12px ;
1629+ width : -moz-fit-content;
1630+ width : fit-content;
1631+ max-width : 100% ;
1632+ color : # 000 ;
1633+ font-style : italic;
1634+ text-align : right;
1635+ background : # eedd88 ;
1636+ float : right;
1637+ }
1638+
16141639textarea .field-sizing-content {
16151640 min-block-size : 3.5rlh ;
16161641 max-block-size : 20rlh ;
@@ -1625,24 +1650,6 @@ textarea.no-wrap {
16251650 resize : none;
16261651}
16271652
1628- /* Show hint message on the static DHCP lease table, when at least one Save button exists */
1629- div : has (> .table-responsive # StaticDHCPTable ) {
1630- position : relative;
1631- }
1632- div : has (> .table-responsive # StaticDHCPTable .save-static-row )::before {
1633- content : 'Please confirm changes using the green button, then click "Save & Apply" before leaving the page.' ;
1634- position : absolute;
1635- display : block;
1636- padding : 4px 12px ;
1637- max-width : calc (100% - 30px );
1638- right : 15px ;
1639- bottom : 0px ;
1640- color : # 000 ;
1641- font-style : italic;
1642- text-align : right;
1643- background : # eedd88 ;
1644- }
1645-
16461653/*
16471654Calculate the total height using the number of lines and line-height. Also account for borders and padding.
16481655Use the same values used by ".form-control" class:
@@ -1676,6 +1683,7 @@ border-top=1px + padding-top=6px + padding-bottom=6px + border-bottom=1px
16761683 background : # ed8 ;
16771684 box-shadow : 0 0 8px rgba (0 , 0 , 0 , 0.35 );
16781685 cursor : not-allowed;
1686+ z-index : 10 ;
16791687}
16801688
16811689# dhcp-hosts {
0 commit comments