@@ -11,67 +11,115 @@ body {
11
11
}
12
12
13
13
.header h1 {
14
- font-size : 2 em ;
14
+ font-size : 2.5 em ;
15
15
margin-bottom : 20px ;
16
+ color : # 333 ;
16
17
}
17
18
18
- .controls button , . app-button {
19
- padding : 10 px 20 px ;
19
+ .controls button {
20
+ padding : 15 px 30 px ;
20
21
margin : 10px ;
21
- font-size : 16 px ;
22
+ font-size : 18 px ;
22
23
cursor : pointer;
23
24
border : none;
24
- border-radius : 5px ;
25
- background-color : # 4CAF50 ;
26
- color : white;
25
+ border-radius : 25px ; /* Rounded shape */
26
+ background-color : # d1a56c ; /* Beige color */
27
+ color : # 333 ; /* Dark text */
28
+ transition : transform 0.3s ease, background-color 0.3s ease;
27
29
}
28
30
29
- .controls button : hover , . app-button : hover {
30
- background-color : # 45a049 ;
31
+ .controls button : hover {
32
+ background-color : hsl ( 34 , 47 % , 40 % ); /* Dark beige on hover */
31
33
}
32
34
33
35
button : disabled {
34
36
background-color : # cccccc ;
35
37
cursor : not-allowed;
36
38
}
37
39
38
- /* LSL buttons styles */
39
- # start_lsl_button , # stop_lsl_button {
40
- width : auto;
41
- margin : 10px ;
42
- }
43
-
44
40
/* App button layout */
45
41
.app-buttons {
46
- display : flex;
47
- flex-direction : column;
48
- align-items : center;
49
42
margin-top : 20px ;
50
43
}
51
44
52
- /* Row layout for app buttons */
53
45
.row {
54
46
display : flex;
55
47
justify-content : center;
56
48
flex-wrap : wrap;
57
- margin-bottom : 15px ;
49
+ margin-bottom : 20px ;
50
+ }
51
+
52
+ .app-buttons form {
53
+ display : flex;
54
+ justify-content : space-between;
55
+ flex-wrap : wrap;
56
+ gap : 15px ; /* Spacing between buttons */
58
57
}
59
58
60
- .app-button {
61
- width : 200px ; /* Set fixed width for all app buttons */
59
+ /* App button styles */
60
+ .app-buttons button {
61
+ width : 200px ;
62
+ height : 80px ;
62
63
margin : 10px ;
64
+ font-size : 20px ; /* Larger font size */
65
+ font-weight : bold;
66
+ text-transform : uppercase; /* Stylish text */
67
+ border-radius : 25px ; /* Rounded edges */
68
+ border : none;
69
+ color : white; /* Font color */
70
+ cursor : pointer;
71
+ background-color : # 9ba59c ; /* gray color */
72
+ box-shadow : 0 4px 6px rgba (0 , 0 , 0 , 0.2 );
73
+ transition : transform 0.3s , background-color 0.3s ;
63
74
}
64
75
65
- /* Status section */
66
- .status {
67
- margin-top : 20px ;
68
- font-size : 18px ;
76
+ /* Hover effect for app buttons */
77
+ .app-buttons button : hover {
78
+ background-color : # 656d67 ; /* Darker shade on hover */
79
+ transform : scale (1.1 );
80
+ opacity : 0.9 ;
69
81
}
70
82
71
- .status h3 {
72
- color : # 333 ;
83
+ /* Button active (on click) effect */
84
+ .app-buttons button : active {
85
+ transform : scale (1.05 );
86
+ box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.2 );
87
+ }
88
+
89
+ button : disabled {
90
+ cursor : url ('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text x="0" y="16" font-size="16">🚫</text></svg>' ), not-allowed;
91
+ }
92
+
93
+ .popup {
94
+ position : fixed;
95
+ top : 50% ;
96
+ left : 50% ;
97
+ transform : translate (-50% , -50% );
98
+ background-color : rgba (255 , 255 , 255 , 0.9 );
99
+ border : 2px solid # 333 ;
100
+ padding : 20px ;
101
+ border-radius : 10px ;
102
+ box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.2 );
103
+ z-index : 1000 ;
104
+ text-align : center;
105
+ animation : fade-out 3s forwards;
73
106
}
74
107
75
- # lsl_status {
108
+ .popup p {
109
+ font-size : 18px ;
76
110
font-weight : bold;
111
+ color : # 333 ;
112
+ }
113
+
114
+ @keyframes fade-out {
115
+ 0% {
116
+ opacity : 1 ;
117
+ }
118
+ 80% {
119
+ opacity : 1 ;
120
+ }
121
+ 100% {
122
+ opacity : 0 ;
123
+ visibility : hidden;
124
+ }
77
125
}
0 commit comments