File size: 8.68Kb
.advertise-container {
max-width: 690px;
margin: 0 auto;
padding: 20px;
width: 100%;
box-sizing: border-box;
}
.card {
background: #141b2a;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
margin-bottom: 30px;
overflow: hidden;
width: 100%;
box-sizing: border-box;
}
.card-body {
padding: 30px;
width: 100%;
box-sizing: border-box;
}
.form-group {
margin-bottom: 25px;
width: 100%;
box-sizing: border-box;
}
.alert {
border-radius: 8px;
padding: 15px 20px;
margin-bottom: 20px;
width: 100%;
box-sizing: border-box;
}
.btn {
padding: 12px 30px;
border: none;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-sizing: border-box;
}
.btn-default {
background: #6c757d;
color: white;
}
.btn-default:hover {
background: #5a6268;
transform: translateY(-2px);
}
.btn-primary {
background: #007bff;
color: white;
}
.btn-primary:hover {
background: #0056b3;
transform: translateY(-2px);
}
.settings-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin-bottom: 25px;
width: 100%;
box-sizing: border-box;
}
.settings-card {
background: #141b2a;
border-radius: 10px;
padding: 20px;
border: 1px solid #e9ecef;
width: 100%;
box-sizing: border-box;
}
.settings-label {
font-weight: 600;
margin-bottom: 10px;
color: #ffffff;
font-size: 14px;
}
.file-upload-container {
display: flex;
gap: 10px;
align-items: center;
width: 100%;
box-sizing: border-box;
}
.file-upload-display {
flex: 1;
padding: 12px 15px;
border: 2px solid #e9ecef;
border-radius: 8px;
background: #141b2a;
font-size: 14px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
min-width: 0;
box-sizing: border-box;
max-width: calc(100% - 120px);
}
.file-upload-button {
padding: 12px 20px;
background: #6c757d;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
transition: background 0.3s ease;
box-sizing: border-box;
white-space: nowrap;
}
.file-upload-button:hover {
background: #5a6268;
}
.file-upload-input {
display: none;
}
.sites-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 20px;
margin-top: 30px;
width: 100%;
box-sizing: border-box;
}
.site-card {
background: #192030;
border: 2px solid #131a29;
border-radius: 12px;
padding: 20px;
transition: all 0.3s ease;
position: relative;
width: 100%;
box-sizing: border-box;
min-width: 0;
}
.site-card:hover {
border-color: #192030;
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.site-card.selected {
border-color: #ffffff;
background: #d1ecf1;
}
.site-header {
display: flex;
align-items: flex-start;
gap: 12px;
margin-bottom: 15px;
width: 100%;
box-sizing: border-box;
}
.site-checkbox {
transform: scale(1.3);
margin-top: 3px;
}
.site-url {
flex: 1;
min-width: 0;
}
.site-url a {
color: #007bff;
text-decoration: none;
font-weight: 600;
word-break: break-all;
line-height: 1.4;
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.site-url a:hover {
text-decoration: underline;
}
.site-details {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
margin-bottom: 20px;
width: 100%;
box-sizing: border-box;
}
.detail-item {
display: flex;
flex-direction: column;
gap: 4px;
min-width: 0;
}
.detail-label {
font-size: 12px;
color: #666;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.detail-value {
font-size: 16px;
font-weight: 600;
color: #333;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.detail-value.price {
color: #e44d26;
font-size: 18px;
}
.site-actions {
display: flex;
gap: 10px;
width: 100%;
box-sizing: border-box;
}
.btn-buy {
flex: 1;
padding: 10px 15px;
background: #28a745;
color: white;
border: none;
border-radius: 6px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: background 0.3s ease;
box-sizing: border-box;
min-width: 0;
}
.btn-buy:hover {
background: #218838;
}
.selection-panel {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: #fff;
border-top: 3px solid #007bff;
padding: 20px;
box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
z-index: 1000;
transform: translateY(100%);
transition: transform 0.3s ease;
width: 100%;
box-sizing: border-box;
}
.selection-panel.active {
transform: translateY(0);
}
.selection-content {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
width: 100%;
box-sizing: border-box;
}
.selection-info {
flex: 1;
min-width: 0;
}
.selection-title {
font-size: 18px;
font-weight: 300;
color: #333;
margin-bottom: 5px;
}
.selection-details {
font-size: 14px;
color: #666;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.selection-actions {
display: flex;
gap: 15px;
flex-shrink: 0;
}
.btn-pay {
padding: 12px 30px;
background: #28a745;
color: white;
border: none;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: background 0.3s ease;
box-sizing: border-box;
white-space: nowrap;
}
.btn-pay:hover {
background: #218838;
}
.btn-clear {
padding: 12px 20px;
background: #6c757d;
color: white;
border: none;
border-radius: 8px;
font-size: 14px;
cursor: pointer;
transition: background 0.3s ease;
box-sizing: border-box;
white-space: nowrap;
}
.btn-clear:hover {
background: #5a6268;
}
.layout-slider {
margin: 15px 0;
width: 100%;
box-sizing: border-box;
}
.checkbox-container {
display: flex;
align-items: center;
gap: 8px;
width: 100%;
box-sizing: border-box;
}
.checkbox-container input[type="checkbox"] {
transform: scale(1.2);
}
@media (max-width: 768px) {
.advertise-container {
padding: 15px;
max-width: 100%;
}
.card-body {
padding: 20px;
}
.sites-grid {
grid-template-columns: 1fr;
gap: 15px;
padding: 0;
}
.settings-grid {
grid-template-columns: 1fr;
gap: 15px;
}
.settings-card {
padding: 15px;
}
.selection-content {
flex-direction: column;
text-align: center;
gap: 15px;
padding: 0 15px;
}
.selection-actions {
width: 100%;
justify-content: center;
flex-wrap: wrap;
}
.site-details {
grid-template-columns: 1fr;
gap: 10px;
}
.site-card {
padding: 15px;
margin: 0;
}
.file-upload-container {
flex-direction: column;
gap: 10px;
}
.file-upload-display {
max-width: 100%;
width: 100%;
}
.file-upload-button {
width: 100%;
}
.btn-pay, .btn-clear {
padding: 12px 20px;
flex: 1;
min-width: 120px;
}
}
@media (max-width: 480px) {
.advertise-container {
padding: 10px;
}
.card-body {
padding: 15px;
}
.sites-grid {
gap: 12px;
}
.site-card {
padding: 12px;
}
.selection-content {
padding: 0 10px;
}
.selection-actions {
flex-direction: column;
gap: 10px;
width: 100%;
}
.btn-pay, .btn-clear {
width: 100%;
margin: 0;
}
.settings-grid {
gap: 12px;
}
.settings-card {
padding: 12px;
}
.form-control {
padding: 10px 12px;
font-size: 14px;
}
.btn {
padding: 10px 20px;
font-size: 14px;
}
.page-title {
font-size: 24px;
margin-bottom: 20px;
}
.selection-title {
font-size: 16px;
}
.selection-details {
font-size: 13px;
}
}
@media (max-width: 360px) {
.advertise-container {
padding: 8px;
}
.card-body {
padding: 12px;
}
.site-card {
padding: 10px;
}
.detail-value {
font-size: 14px;
}
.detail-value.price {
font-size: 16px;
}
.btn-buy {
padding: 8px 12px;
font-size: 13px;
}
}