-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
160 lines (134 loc) · 3.71 KB
/
styles.css
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
}
.container {
display: flex;
height: 100vh;
background-color: #40a824; /* BT Color */
}
.left-section, .right-section {
width: 32.5%;
background-color: transparent;
}
.center-section {
width: 35%;
padding: 0;
background-color: #f0f0f0; /* Gray background */
border-radius: 40px;
overflow: hidden;
overflow-y: auto;
}
.header {
background-color: white; /* White background for the header */
padding: 20px;
text-align: center; /* Center the text in the header */
position: relative; /* Set position relative for absolute positioning of child elements */
border-bottom: 1px solid #ccc; /* Separate header from the content */
}
.done-button {
background: none; /* No background */
border: none; /* No border */
color: #f4900e; /* Text color to blend with header */
font-size: 18px; /* Adjust font size as needed */
cursor: pointer; /* Change cursor to pointer */
position: absolute; /* Position it absolutely within the header */
top: 15px; /* Adjust the top position */
right: 28px; /* Adjust the right position */
padding: 0; /* No padding for a clean look */
text-align: right; /* Align text to the right */
}
.done-button:hover {
background: none; /* No change on hover */
color: #e50909; /* Keep the same text color */
}
.done-button:focus {
outline: none; /* Remove focus outline */
}
h1 {
text-align: center; /* Center title text */
margin: 0; /* Remove margin for better alignment */
}
.buttonSection {
padding: 10px 20px; /* Remove top padding */
overflow-y: auto; /* Enable scrolling if content overflows */
}
.accordion {
width: 100%;
}
.accordion-item {
margin-bottom: 10px; /* Space between each accordion item */
}
.accordion-header {
background-color: white;
padding: 15px;
cursor: pointer;
border: 1px solid #ccc;
border-radius: 5px;
display: flex; /* Still used flex here to justify arrow and selection */
justify-content: space-between;
align-items: center;
}
.accordion-header.open {
border-radius: 5px 5px 0 0;
}
.accordion-content {
max-height: 0; /* Initially hide content */
overflow: hidden;
transition: max-height 0.25s ease-out; /* Smooth transition */
background-color: white; /* Set the background to white for visibility */
border-radius: 0 0 5px 5px; /* Rounded bottom edges */
z-index: 100; /* Ensure it appears above other content */
padding-bottom: 0;
margin-bottom: 0;
}
.accordion-content.open {
border: 1px solid #ccc;
}
.accordion-content label {
display: flex;
align-items: center;
padding: 10px 10px; /* Padding around each label */
cursor: pointer;
}
/* Add spacing between checkbox and text */
.accordion-content label input[type="checkbox"] {
margin-right: 10px;
}
/* Add a border between each option except the last one */
.accordion-content label:not(:last-of-type) {
border-bottom: 1px solid #ccc;
}
button {
width: 100%; /* Full width button */
padding: 15px;
background-color: #f0f0f0;
border: 1px solid #ccc;
text-align: center; /* Align text to center */
cursor: pointer;
margin: 5px 0; /* Margin for spacing */
}
button:hover {
background-color: #e0e0e0; /* Slightly darker on hover */
}
button:focus {
outline: none; /* Remove default focus outline */
}
button:active {
background-color: #d0d0d0; /* Darker on click */
}
button[type="submit"] {
padding: 20px;
margin-top: 20px;
background-color: #f4900e;
color: white;
border: none;
border-radius: 5px;
}
button[type="submit"]:hover {
background-color: #b0680a;
}