Advertisement
Bozman2024

admin_files.css

Jun 29th, 2025
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.44 KB | None | 0 0
  1. /* Der Hauptbereich zwischen fixiertem Header und Footer */
  2. .main-between-fixed {
  3.   position: fixed;
  4.   top: 60px; /* Höhe deines Headers anpassen */
  5.   bottom: 40px; /* Höhe deines Footers anpassen */
  6.   left: 50%;
  7.   transform: translateX(-50%);
  8.   width: 100%; /* feste Breite */
  9.   background: #2a2a2a;
  10.  padding: 20px;
  11.   box-sizing: border-box;
  12.   overflow-y: auto;
  13.   border-radius: 8px;
  14.   color: #ddd;
  15.  font-family: Arial, sans-serif;
  16.   z-index: 5;
  17. }
  18.  
  19. .page-title {
  20.   margin-top: 0;
  21.   margin-bottom: 15px;
  22.   color: #ffa500;
  23.  text-align: center;
  24.   user-select: none;
  25. }
  26.  
  27. .top-buttons {
  28.   margin-bottom: 20px;
  29.   display: flex;
  30.   gap: 15px;
  31. }
  32.  
  33. .btn {
  34.   background-color: #ffa500;
  35.  color: #1e1e1e;
  36.  padding: 8px 16px;
  37.   border-radius: 4px;
  38.   text-decoration: none;
  39.   font-weight: bold;
  40.   user-select: none;
  41.   white-space: nowrap;
  42.   transition: background-color 0.3s ease;
  43. }
  44.  
  45. .btn:hover {
  46.   background-color: #cc8400;
  47. }
  48.  
  49. .info-msg {
  50.   background-color: #444;
  51.  padding: 10px;
  52.   border-radius: 5px;
  53.   margin-bottom: 15px;
  54.   color: #eee;
  55.  user-select: none;
  56. }
  57.  
  58. .breadcrumb {
  59.   margin-bottom: 20px;
  60.   color: #aaa;
  61.  user-select: none;
  62. }
  63.  
  64. .breadcrumb a {
  65.   color: #ffa500;
  66.  text-decoration: none;
  67. }
  68.  
  69. .breadcrumb a:hover {
  70.   text-decoration: underline;
  71. }
  72.  
  73. .content-wrapper {
  74.   display: flex;
  75.   gap: 20px;
  76.   height: calc(100% - 170px); /* Höhe anpassen, damit scrollbar bleibt */
  77. }
  78.  
  79. .sidebar {
  80.   width: 400px;
  81.   background-color: #3a3a3a;
  82.  padding: 10px;
  83.   border-radius: 5px;
  84.   overflow-y: auto;
  85.   user-select: none;
  86. }
  87.  
  88. .tree {
  89.   list-style: none;
  90.   padding-left: 0;
  91.   margin-bottom: 20px;
  92. }
  93.  
  94. .tree li.folder {
  95.   margin-bottom: 8px;
  96. }
  97.  
  98. .tree li.folder.active-folder > a {
  99.   font-weight: bold;
  100.   color: #ffa500;
  101. }
  102.  
  103. .new-folder-form {
  104.   display: flex;
  105.   gap: 5px;
  106. }
  107.  
  108. .new-folder-form input[type="text"] {
  109.   flex-grow: 1;
  110.   padding: 6px;
  111.   border-radius: 4px;
  112.   border: none;
  113. }
  114.  
  115. .new-folder-form button {
  116.   background-color: #ffa500;
  117.  border: none;
  118.   padding: 6px 12px;
  119.   cursor: pointer;
  120.   border-radius: 4px;
  121.   font-weight: bold;
  122. }
  123.  
  124. .new-folder-form button:hover {
  125.   background-color: #cc8400;
  126. }
  127.  
  128. .content {
  129.   flex-grow: 1;
  130.   background-color: #404040;
  131.  padding: 15px;
  132.   border-radius: 5px;
  133.   overflow-y: auto;
  134.   user-select: none;
  135.   display: flex;
  136.   flex-direction: column;
  137. }
  138.  
  139. .upload-form {
  140.   margin-bottom: 20px;
  141. }
  142.  
  143. .upload-form input[type="file"] {
  144.   margin-right: 10px;
  145. }
  146.  
  147. .upload-form button {
  148.   background-color: #ffa500;
  149.  border: none;
  150.   padding: 8px 16px;
  151.   cursor: pointer;
  152.   border-radius: 4px;
  153.   font-weight: bold;
  154. }
  155.  
  156. .upload-form button:hover {
  157.   background-color: #cc8400;
  158. }
  159.  
  160. .file-list {
  161.   flex-grow: 1;
  162.   overflow-y: auto;
  163.   user-select: text;
  164. }
  165.  
  166. .file-item,
  167. .subfolder {
  168.   margin-bottom: 10px;
  169.   display: flex;
  170.   align-items: center;
  171.   gap: 10px;
  172. }
  173.  
  174. .file-placeholder {
  175.   padding: 5px 10px;
  176.   background-color: #555;
  177.  border-radius: 3px;
  178.   color: #ccc;
  179. }
  180.  
  181. .thumb {
  182.   max-width: 100px;
  183.   max-height: 100px;
  184.   border-radius: 4px;
  185.   object-fit: cover;
  186. }
  187.  
  188. .delete-link {
  189.   color: #ff5050;
  190.  margin-left: auto;
  191.   cursor: pointer;
  192.   text-decoration: none;
  193. }
  194.  
  195. .delete-link:hover {
  196.   text-decoration: underline;
  197. }
  198.  
  199. .logout-button {
  200.   background-color: blue;
  201.   color: #fff;
  202.  padding: 8px 16px;
  203.   border-radius: 10px;
  204.   text-decoration: none;
  205.   font-weight: bold;
  206.   user-select: none;
  207.   white-space: nowrap;
  208. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement