aboutsummaryrefslogtreecommitdiffstats
path: root/panel/src/pages/ManageAds.css
blob: 2887b152fcb1a48b623f94e530b0a8b3f4ec55a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
:root {
  --primary-color: #4caf50;
  --secondary-color: #ffffff;
  --background-color: #f4f7fc;
  --text-color: #333;
  --text-light-color: #666;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --border-radius: 10px;
}

.manage-ads {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--background-color);
  min-height: 100vh;
  padding: 20px;
}

.manage-ads-container {
  width: 90%;
  max-width: 1200px;
  margin-top: 20px;
  padding: 20px;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
  box-shadow: 0 0 20px var(--shadow-color);
}

.manage-ads-header {
  text-align: center;
  margin-bottom: 30px;
}

.manage-ads-header h4 {
  font-size: 28px;
  color: var(--text-color);
}

.manage-ads-list {
  width: 100%;
  margin-top: 20px;
}

.ad-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  margin-bottom: 15px;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ad-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px var(--shadow-color);
}

.ad-item h6 {
  font-size: 18px;
  color: var(--text-color);
  margin: 0;
}

.ad-item p {
  font-size: 14px;
  color: var(--text-light-color);
  margin: 0;
}

.ad-item img,
.ad-item video {
  width: 100px;
  height: auto;
  border-radius: var(--border-radius);
  margin-right: 15px;
}

.ad-item-actions {
  display: flex;
  align-items: center;
}

.ad-item-actions button {
  background: none;
  border: none;
  margin: 0 5px;
  cursor: pointer;
}

.ad-item-actions button svg {
  fill: var(--text-color);
}

.add-ad-button {
  margin-top: 20px;
}

.add-ad-dialog {
  padding: 20px;
}

.add-ad-dialog input[type="file"] {
  margin-top: 10px;
  margin-bottom: 20px;
}

.add-ad-dialog button {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .manage-ads-container {
    padding: 10px;
  }

  .ad-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .ad-item img,
  .ad-item video {
    width: 100%;
    margin-bottom: 10px;
  }

  .ad-item-actions {
    width: 100%;
    justify-content: flex-end;
  }
}