Project

General

Profile

control.component.css

antonella butron, 01/06/2026 11:11 AM

Download (1.58 KB)

 
1
.panel-dispositivos {
2
  display: flex;
3
  flex-direction: column;
4
  gap: 15px;
5
  padding: 20px;
6
  max-width: 300px;
7
  background-color: #93A3F3;
8
  border-radius: 12px;
9
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
10
}
11

    
12
.dispositivo {
13
  display: flex;
14
  align-items: center;
15
  justify-content: space-between;
16
  padding: 12px 15px;
17
  background-color: #ffffff;
18
  border-radius: 10px;
19
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
20
  transition: all 0.3s ease;
21
}
22

    
23
.dispositivo:hover {
24
  transform: translateY(-2px);
25
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
26
}
27

    
28
.dispositivo.on {
29
  background-color: #e3f2fd;
30
}
31

    
32
.icon {
33
  font-size: 1.5rem;
34
  margin-right: 10px;
35
}
36

    
37
.nombre {
38
  flex: 1;
39
  font-weight: 600;
40
  color: #333;
41
}
42

    
43
input[type="checkbox"] {
44
  width: 20px;
45
  height: 20px;
46
  accent-color: #2196f3;
47
  cursor: pointer;
48
}
49

    
50

    
51

    
52
.frame {
53
  background-color: #93A3F3;
54
  padding: 16px;
55
  border-radius: 12px;
56
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
57
  margin: 16px 0;
58
}
59

    
60
/* contenido interno (blanco, para contraste) */
61
.frame-content {
62
  background-color: #ffffff;
63
  padding: 14px 16px;
64
  border-radius: 8px;
65
  color: #333;
66
}
67

    
68
/* opcional: título dentro del frame */
69
.frame-title {
70
  font-weight: 600;
71
  font-size: 1.1rem;
72
  color: #ffffff;
73
  margin-bottom: 10px;
74
}
75

    
76
.titulo-wrapper {
77
  padding: 14px 20px;
78
  border-radius: 12px;
79
  text-align: center;
80
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
81
  margin-bottom: 16px;
82
}
83

    
84
.titulo-wrapper h1 {
85
  margin: 0;
86
  color: #ffffff;
87
  font-size: 1.8rem;
88
  font-weight: 600;
89
  letter-spacing: 0.5px;
90
}