merged shortener page into admin page, refactored into modal
This commit is contained in:
1 parent
d1d72022da
commit
6110248668
14 files changed
+363
-337
No files matched your search
@@ -0,0 +1,179 @@
|
||||
.container-wrapper {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
width: 100%;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
min-width: 300px;
|
||||
padding: 25px;
|
||||
background-color: #202025;
|
||||
color: #fff;
|
||||
border-radius: 35px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||
max-height: 90vh;
|
||||
overflow: hidden;
|
||||
z-index: 1001;
|
||||
}
|
||||
|
||||
.container-content {
|
||||
flex: 0 0 auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-top: 40px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h3 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.form-section {
|
||||
margin-bottom: 30px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
margin-bottom: 15px;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
input {
|
||||
color: white;
|
||||
background: #26262c;
|
||||
border: none;
|
||||
padding: 10px 20px;
|
||||
border-radius: 25px;
|
||||
transition: all ease-in-out 0.2s;
|
||||
box-sizing: border-box;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
background: #2b2b32;
|
||||
}
|
||||
|
||||
input[type="url"],
|
||||
input[type="text"] {
|
||||
min-width: 250px;
|
||||
}
|
||||
|
||||
input[type="number"] {
|
||||
max-width: 80px;
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 12px 20px;
|
||||
border: none;
|
||||
border-radius: 25px;
|
||||
font-size: 1rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background-color: #8a6bbf;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-danger {
|
||||
background-color: #BA243AFF;
|
||||
color: white;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.url-list-wrapper {
|
||||
flex: 1 1 auto;
|
||||
overflow-y: auto;
|
||||
min-height: 0;
|
||||
width: 100%;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.url-list-items {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
.url-list-items li {
|
||||
background: #26262c;
|
||||
padding: 10px 15px;
|
||||
row-gap: 10px;
|
||||
border-radius: 20px;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
li + li {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.url-list-items a {
|
||||
color: #D688ECFF;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.url-list-items a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.copy-btn {
|
||||
background: transparent;
|
||||
color: #D688ECFF;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
padding: 0;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.copy-btn:active, .copy-btn:focus {
|
||||
color: #7dc68e;
|
||||
}
|
||||
|
||||
.close-btn {
|
||||
position: absolute;
|
||||
top: 25px;
|
||||
right: 25px;
|
||||
background: none;
|
||||
color: white;
|
||||
border: none;
|
||||
font-size: 40px;
|
||||
cursor: pointer;
|
||||
transition: all ease-in-out 0.2s;
|
||||
}
|
||||
|
||||
.close-btn:hover {
|
||||
color: #ebe1fa;
|
||||
}
|
||||
|
||||
.close-btn:active {
|
||||
color: #a172e8;
|
||||
}
|
||||
Reference in new issue
Block a user