Skip to content

Commit

Permalink
Update (Dark Mode - White Mode)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurama250 authored Dec 11, 2024
1 parent 05ccae6 commit ae09bf1
Show file tree
Hide file tree
Showing 4 changed files with 621 additions and 2 deletions.
296 changes: 296 additions & 0 deletions assets/css/styles-clair.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,296 @@
/**
Licence : Creative commons - CC BY-NC-ND 4.0 by github.com/Kurama250
*/

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: Arial, sans-serif;
background-color: transparent;
color: #333;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
}

.app-wrapper {
width: 800px;
height: 600px;
border-radius: 25px;
overflow: hidden;
background-color: white;
}

.title-bar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #7289da;
color: white;
padding: 10px 20px;
-webkit-app-region: drag;
}

.title-bar-btn, .app-container, input, button {
-webkit-app-region: no-drag;
}

.title-bar-left {
display: flex;
align-items: center;
}

.app-icon {
width: 40px;
height: 40px;
margin-right: 10px;
}

.app-info h1 {
margin: 0;
font-size: 1.5rem;
}

.app-version {
font-size: 0.8rem;
color: #d1d1d1;
}

.title-bar-right {
display: flex;
column-gap: 0px;
}

.title-bar-btn {
background: none;
border: none;
color: white;
font-size: 1.2rem;
cursor: pointer;
transition: background-color 0.3s ease;
}

#close-btn {
color: #ff0000;
font-size: 30px;
font-weight: bold;
}

.title-bar-btn:hover {
background-color: #5a6fbf;
border-radius: 3px;
}

#name:focus, #token:focus, #edit-name:focus, #edit-token:focus {
outline-color: #007bff;
}

.app-container {
background-color: white;
border-radius: 0 0 25px 25px;
padding: 20px;
}

header {
background-color: #7289da;
color: white;
padding: 20px;
text-align: center;
}

header h1 {
margin: 0;
font-size: 1.8rem;
}

main {
padding: 20px;
}

form {
display: flex;
gap: 10px;
margin-bottom: 20px;
align-items: center;
}

input {
flex: 1;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 1rem;
}

button {
padding: 10px 20px;
font-size: 1rem;
color: white;
background-color: #7289da;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}

button:hover {
background-color: #5a6fbf;
}

#tokens-table-container {
max-height: 400px;
overflow-y: auto;
margin-top: 20px;
border: 1px solid #ddd;
border-radius: 5px;
}

table {
width: 100%;
border-collapse: collapse;
}

th, td {
padding: 12px 15px;
text-align: left;
}

th {
background-color: #7289da;
color: white;
}

tr:nth-child(even) {
background-color: #f9f9f9;
}

tr:nth-child(odd) {
background-color: #ffffff;
}

td {
border-bottom: 1px solid #ddd;
}

.actions {
display: flex;
gap: 10px;
justify-content: flex-start;
flex-wrap: wrap;
}

.actions button {
padding: 10px 20px;
color: white;
border: none;
border-radius: 5px;
}

.actions .edit-btn {
background-color: #4caf50;
}

.actions .connect-btn {
background-color: #007bff;
}

.actions .delete-btn {
background-color: #f44336;
}

.actions .copy-btn {
background-color: #ff9800;
}

.actions .tor-btn {
background-color: #7E4798;
}

.actions button:hover {
opacity: 0.9;
}

.popup-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 25px;
background: rgba(0, 0, 0, 0.5);
z-index: 999;
display: none;
}

.popup {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: white;
border-radius: 15px;
width: 80%;
max-width: 500px;
padding: 20px;
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
z-index: 1000;
max-height: 80%;
overflow-y: auto;
}

.popup h2 {
font-size: 1.5rem;
margin-bottom: 20px;
text-align: center;
}

.popup .form-inline {
display: flex;
justify-content: space-between;
gap: 10px;
align-items: center;
}

.popup input {
width: 45%;
padding: 8px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 0.9rem;
}

.popup button {
background-color: #7289da;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1rem;
width: 45%;
}

.popup button:hover {
background-color: #5a6fbf;
}

.close {
cursor: pointer;
color: #ff0000;
font-size: 30px;
font-weight: bold;
position: absolute;
top: 10px;
right: 10px;
}

.close:hover {
opacity: 0.7;
}
Loading

0 comments on commit ae09bf1

Please sign in to comment.