Files
itzmineydev/src/app/shortener/shortener.component.css
T
2026-02-15 10:08:22 +01:00

142 lines
2.0 KiB
CSS

.container {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
min-width: 300px;
padding: 25px;
background-color: #ffffff;
border-radius: 35px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
max-height: 90vh;
overflow: hidden;
}
.container-content {
flex: 0 0 auto;
width: 100%;
}
.container-wrapper {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #592840;
}
h1 {
margin-top: 40px;
text-align: center;
color: #333;
}
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[type="url"],
input[type="text"] {
min-width: 240px;
padding: 10px;
border: 1px solid #ddd;
border-radius: 25px;
font-size: 1rem;
box-sizing: border-box;
}
input[type="number"] {
max-width: 80px;
padding: 10px;
border: 1px solid #ddd;
border-radius: 25px;
font-size: 1rem;
box-sizing: border-box;
}
button {
padding: 12px 20px;
border: none;
border-radius: 25px;
font-size: 1rem;
cursor: pointer;
}
.btn-primary {
background-color: #007bff;
color: white;
}
.btn-danger {
background-color: #dc3545;
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-color: #fff;
padding: 10px 15px;
row-gap: 10px;
border: 1px solid #ddd;
border-radius: 20px;
line-height: 1.5rem;
}
li + li {
margin-top: 10px;
}
.url-list-items a {
color: #007bff;
text-decoration: none;
}
.url-list-items a:hover {
text-decoration: underline;
}
.copy-btn {
background: transparent;
color: #007bff;
border: none;
cursor: pointer;
font-size: 1rem;
font-weight: 500;
padding: 0;
margin-left: 4px;
}
.copy-btn:active, .copy-btn:focus {
color: #3e6c49;
}