aboutsummaryrefslogblamecommitdiffstats
path: root/panel/src/pages/ManageAds.css
blob: 2887b152fcb1a48b623f94e530b0a8b3f4ec55a1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                     



                         
                                            
                    
                






                       


                                           








                       
                           

 


                   

 




                                 
                      








                                                        



                  
                           




                  
                                 






                
                                      





                      

 

                         
               
                


                  
                             
                          

 

                   

 

                

 


                                   

 

                       
 





















                              
: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;
  }
}