mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-04 13:46:13 +08:00 
			
		
		
		
	naming convention and wrap all styles inside .table-shadow-box to avoid unexpected style in the future
This commit is contained in:
		@@ -81,33 +81,34 @@ h2 {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@media (max-width: 550px) {
 | 
					@media (max-width: 550px) {
 | 
				
			||||||
    tbody .shadow-box {
 | 
					 | 
				
			||||||
        background-color: white;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    div.tableShadowbox {
 | 
					    .table-shadow-box {
 | 
				
			||||||
        padding: 10px !important;
 | 
					        padding: 10px !important;
 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .tableShadowbox tr {
 | 
					        thead {
 | 
				
			||||||
        margin-top: 0 !important;
 | 
					 | 
				
			||||||
        padding: 10px !important;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    .tableShadowbox thead {
 | 
					 | 
				
			||||||
            display: none;
 | 
					            display: none;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .tableShadowbox tr {
 | 
					        tbody  {
 | 
				
			||||||
        display: block;
 | 
					            .shadow-box {
 | 
				
			||||||
        margin-bottom: 10px;
 | 
					                background-color: white;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .tableShadowbox td {
 | 
					        tr {
 | 
				
			||||||
 | 
					            margin-top: 0 !important;
 | 
				
			||||||
 | 
					            padding: 10px !important;
 | 
				
			||||||
 | 
					            display: block;
 | 
				
			||||||
 | 
					            margin-bottom: 10px;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            td {
 | 
				
			||||||
                border-bottom: 1px solid $dark-font-color;
 | 
					                border-bottom: 1px solid $dark-font-color;
 | 
				
			||||||
                display: block;
 | 
					                display: block;
 | 
				
			||||||
                padding: 6px;
 | 
					                padding: 6px;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Dark Theme override here
 | 
					// Dark Theme override here
 | 
				
			||||||
@@ -224,10 +225,14 @@ h2 {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @media (max-width: 550px) {
 | 
					    @media (max-width: 550px) {
 | 
				
			||||||
        tbody .shadow-box {
 | 
					        .table-shadow-box {
 | 
				
			||||||
 | 
					            tbody {
 | 
				
			||||||
 | 
					                .shadow-box {
 | 
				
			||||||
                    background-color: $dark-bg2;
 | 
					                    background-color: $dark-bg2;
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -38,7 +38,7 @@
 | 
				
			|||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            <div class="shadow-box tableShadowbox" style="overflow-x: scroll">
 | 
					            <div class="shadow-box table-shadow-box" style="overflow-x: scroll">
 | 
				
			||||||
                <table class="table table-borderless table-hover">
 | 
					                <table class="table table-borderless table-hover">
 | 
				
			||||||
                    <thead>
 | 
					                    <thead>
 | 
				
			||||||
                        <tr>
 | 
					                        <tr>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -128,7 +128,7 @@
 | 
				
			|||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            <div class="shadow-box tableShadowbox">
 | 
					            <div class="shadow-box table-shadow-box">
 | 
				
			||||||
                <table class="table table-borderless table-hover">
 | 
					                <table class="table table-borderless table-hover">
 | 
				
			||||||
                    <thead>
 | 
					                    <thead>
 | 
				
			||||||
                        <tr>
 | 
					                        <tr>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user