README / style.css
nezihefe's picture
Upload 6 files
ded253b verified
Raw History Blame Contribute Delete
5.07 kB
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body {
display: flex;
height: 100vh;
background-color: #f9f9f9;
transition: background-color 0.3s ease;
color: #333; /* Varsayılan metin rengi */
}
/* Logo */
.logo {
width: 150px;
margin-bottom: 20px;
}
/* Sidebar Styles */
.sidebar {
width: 250px;
height: 100%;
background-color: #fff;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
padding: 20px;
display: flex;
flex-direction: column;
transition: width 0.3s ease;
}
/* Karanlık tema için sidebar */
body.dark-mode .sidebar {
background-color: #1e1e1e;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
/* Menü öğesi */
.menu-item {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 12px;
color: #333;
font-size: 14px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease;
}
/* Karanlık tema için menu-item */
body.dark-mode .menu-item {
color: #e0e0e0;
}
.menu-item:hover {
background-color: #f1f1f1;
}
body.dark-mode .menu-item:hover {
background-color: #2c2c2c;
}
.menu-item i {
font-size: 18px;
color: #007bff;
}
/* + Yeni Oluştur Butonu */
.create-button {
display: flex;
justify-content: center;
align-items: center;
padding: 8px 12px;
background-color: #007bff;
color: white;
font-size: 16px;
font-weight: bold;
border-radius: 5px;
cursor: pointer;
margin-bottom: 10px;
}
/* Dropdown Menüsü */
.dropdown-menu {
display: none;
flex-direction: column;
background-color: #f9f9f9;
border-radius: 5px;
margin-top: 8px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
transition: opacity 0.3s ease, transform 0.3s ease;
opacity: 0;
transform: translateY(-10px);
}
.dropdown-menu.show {
display: flex;
opacity: 1;
transform: translateY(0);
}
body.dark-mode .dropdown-menu {
background-color: #2c2c2c;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.dropdown-item {
padding: 8px 12px;
cursor: pointer;
color: #333;
font-size: 14px;
border-radius: 5px;
transition: background-color 0.3s ease;
}
/* Karanlık tema için dropdown-item */
body.dark-mode .dropdown-item {
color: #e0e0e0;
}
.dropdown-item:hover {
background-color: #e9e9e9;
}
body.dark-mode .dropdown-item:hover {
background-color: #3a3a3a;
}
/* Dosya Özeti */
.file-summary {
margin-top: 12px;
margin-bottom: 10px;
}
.file-item {
display: flex;
flex-direction: column;
gap: 6px;
padding: 10px;
border-radius: 8px;
background-color: #f9f9f9;
transition: transform 0.3s ease;
margin-bottom: 5px;
}
/* Karanlık tema için file-item */
body.dark-mode .file-item {
background-color: #2c2c2c;
}
.icon-column {
display: flex;
align-items: center;
gap: 15px;
}
.icon {
width: 28px;
height: 28px;
margin-right: 10px;
}
.label-column {
display: flex;
flex-direction: column;
}
.resimler {
font-size: 14px;
font-weight: bold;
}
.dosya {
font-size: 12px;
color: #999;
}
/* Progress bar */
.progress-bar-container {
width: 100%;
height: 6px;
background-color: #ccc;
border-radius: 5px;
overflow: hidden;
}
.progress-bar {
height: 100%;
border-radius: 5px;
}
.progress-bar.red {
background-color: #ff4d4d;
}
.progress-bar.green {
background-color: #4dff4d;
}
.progress-bar.yellow {
background-color: #ffcc00;
}
.progress-bar.blue {
background-color: #4da6ff;
}
/* Dark Mode Circle */
.circle-progress {
width: 80px;
height: 80px;
border-radius: 50%;
background-color: #f0f0f0;
display: flex;
justify-content: center;
align-items: center;
margin-top: 20px;
position: relative;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.circle-progress span {
font-size: 14px;
font-weight: bold;
color: #333;
}
body.dark-mode .circle-progress {
background-color: #2c2c2c;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
body.dark-mode .circle-progress span {
color: #e0e0e0;
}
/* Karanlık Mod Düğmesi */
.dark-mode-toggle {
position: fixed;
top: 20px;
right: 20px;
background-color: #007bff;
color: #fff;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
z-index: 1000;
}
body.dark-mode .dark-mode-toggle {
background-color: #333;
color: #e0e0e0;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
body.dark-mode .dark-mode-toggle:hover {
background-color: #444;
}
/* Sidebar Açılıp Kapanma */
.sidebar.open {
width: 250px;
padding: 20px;
}
.sidebar.closed {
width: 0;
padding: 0;
visibility: hidden;
}
/* Responsive