Tidying up CSS
							parent
							
								
									33dfbcdeea
								
							
						
					
					
						commit
						527da25cdc
					
				|  | @ -8,9 +8,6 @@ try { | |||
|     // connect to database
 | ||||
|     $dbWeb = connectDB($config); | ||||
| 
 | ||||
| //    require '../app/classes/user.php';
 | ||||
| //    $userObject = new User($dbWeb);
 | ||||
| 
 | ||||
|     if ( $_SERVER['REQUEST_METHOD'] == 'POST' ) { | ||||
|         $username = $_POST['username']; | ||||
|         $password = $_POST['password']; | ||||
|  |  | |||
|  | @ -2,8 +2,14 @@ | |||
| <html lang="en"> | ||||
| <head> | ||||
|     <meta charset="UTF-8"> | ||||
|     <link rel="stylesheet" type="text/css" href="<?= $app_root ?>static/bootstrap.min.css"> | ||||
|     <link rel="stylesheet" type="text/css" href="<?= $app_root ?>static/all.css"> | ||||
|     <link rel="stylesheet" type="text/css" href="<?= $app_root ?>static/bootstrap/bootstrap.min.css"> | ||||
|     <link rel="stylesheet" type="text/css" href="<?= $app_root ?>static/css/main.css"> | ||||
| <?php if ($page === 'logs') { ?>
 | ||||
|     <link rel="stylesheet" type="text/css" href="<?= $app_root ?>static/css/logs.css"> | ||||
| <?php } ?>
 | ||||
| <?php if ($page === 'profile') { ?>
 | ||||
|     <link rel="stylesheet" type="text/css" href="<?= $app_root ?>static/css/profile.css"> | ||||
| <?php } ?>
 | ||||
| <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> | ||||
| <script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> | ||||
| <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> | ||||
|  |  | |||
|  | @ -0,0 +1,3 @@ | |||
| .th-time { | ||||
|     width: 200px; | ||||
| } | ||||
|  | @ -158,78 +158,6 @@ | |||
|     text-decoration: none; | ||||
| } | ||||
| 
 | ||||
| /* profile */ | ||||
| .scroll-box { | ||||
|     width: 100%; | ||||
|     height: 250px; | ||||
|     padding: 10px; | ||||
|     border: 0; | ||||
|     background-color: #f8f9fa; | ||||
|     white-space: pre-wrap; | ||||
|     overflow-y: scroll; | ||||
|     resize: none; | ||||
|     font-family: inherit; | ||||
|     font-size: 14px; | ||||
|     user-select: text; | ||||
|     cursor: default;  | ||||
|     outline: none; | ||||
|     box-shadow: none; | ||||
| } | ||||
| 
 | ||||
| /* avatars */ | ||||
| .avatar-container { | ||||
|     position: relative; | ||||
|     text-align: center; | ||||
| } | ||||
| 
 | ||||
| .avatar-img { | ||||
|     width: 200px; | ||||
|     height: 200px; | ||||
|     border-radius: 50%; | ||||
|     object-fit: cover; /* Ensures proper cropping of image */ | ||||
|     border: 3px solid #ccc; | ||||
| } | ||||
| 
 | ||||
| .avatar-wrapper { | ||||
|     position: relative; | ||||
|     display: inline-block; | ||||
| } | ||||
| 
 | ||||
| .avatar-btn { | ||||
|     position: absolute; | ||||
|     bottom: 10px; /* Adjust this value as needed */ | ||||
| /*    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */ | ||||
|     color: white; | ||||
|     border: none; | ||||
|     border-radius: 4px; | ||||
|     padding: 10px; | ||||
| } | ||||
| 
 | ||||
| .avatar-btn-container { | ||||
|     position: absolute; | ||||
|     left: 50%; | ||||
|     transform: translateX(-50%); | ||||
|     display: flex; | ||||
|     gap: 10px; /* Space between buttons */ | ||||
| } | ||||
| 
 | ||||
| .avatar-btn-select, | ||||
| .avatar-btn-remove { | ||||
| /*    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */ | ||||
|     color: white; | ||||
|     border: none; | ||||
|     border-radius: 4px; | ||||
|     padding: 10px; | ||||
| } | ||||
| .avatar-btn-select { | ||||
|     width: 50px; | ||||
|     left: -55px; | ||||
| } | ||||
| .avatar-btn-remove { | ||||
|     width: 50px; | ||||
|     left: 5px; | ||||
| } | ||||
| 
 | ||||
| .pagination { | ||||
|     font-size: 0.66em; | ||||
|     text-align: center; | ||||
|  | @ -0,0 +1,71 @@ | |||
| /* profile */ | ||||
| .scroll-box { | ||||
|     width: 100%; | ||||
|     height: 250px; | ||||
|     padding: 10px; | ||||
|     border: 0; | ||||
|     background-color: #f8f9fa; | ||||
|     white-space: pre-wrap; | ||||
|     overflow-y: scroll; | ||||
|     resize: none; | ||||
|     font-family: inherit; | ||||
|     font-size: 14px; | ||||
|     user-select: text; | ||||
|     cursor: default;  | ||||
|     outline: none; | ||||
|     box-shadow: none; | ||||
| } | ||||
| 
 | ||||
| /* avatars */ | ||||
| .avatar-container { | ||||
|     position: relative; | ||||
|     text-align: center; | ||||
| } | ||||
| 
 | ||||
| .avatar-img { | ||||
|     width: 200px; | ||||
|     height: 200px; | ||||
|     border-radius: 50%; | ||||
|     object-fit: cover; /* Ensures proper cropping of image */ | ||||
|     border: 3px solid #ccc; | ||||
| } | ||||
| 
 | ||||
| .avatar-wrapper { | ||||
|     position: relative; | ||||
|     display: inline-block; | ||||
| } | ||||
| 
 | ||||
| .avatar-btn { | ||||
|     position: absolute; | ||||
|     bottom: 10px; /* Adjust this value as needed */ | ||||
| /*    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */ | ||||
|     color: white; | ||||
|     border: none; | ||||
|     border-radius: 4px; | ||||
|     padding: 10px; | ||||
| } | ||||
| 
 | ||||
| .avatar-btn-container { | ||||
|     position: absolute; | ||||
|     left: 50%; | ||||
|     transform: translateX(-50%); | ||||
|     display: flex; | ||||
|     gap: 10px; /* Space between buttons */ | ||||
| } | ||||
| 
 | ||||
| .avatar-btn-select, | ||||
| .avatar-btn-remove { | ||||
| /*    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */ | ||||
|     color: white; | ||||
|     border: none; | ||||
|     border-radius: 4px; | ||||
|     padding: 10px; | ||||
| } | ||||
| .avatar-btn-select { | ||||
|     width: 50px; | ||||
|     left: -55px; | ||||
| } | ||||
| .avatar-btn-remove { | ||||
|     width: 50px; | ||||
|     left: 5px; | ||||
| } | ||||
		Loading…
	
		Reference in New Issue