-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinline_style_0.css
More file actions
363 lines (151 loc) · 5.15 KB
/
inline_style_0.css
File metadata and controls
363 lines (151 loc) · 5.15 KB
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
/* General Styles */
body {
padding-top: 56px; /* Adjust for fixed navbar */
margin: 0;
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
min-height: 100vh;
}
.piedra-regular {
font-family: "Piedra", serif;
font-weight: 400;
font-style: normal;
}
.card {
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Add shadow */
overflow: auto; /* Add scroll if content overflows */
}
.top-bg{
background-color: #f1d580;
background: linear-gradient(45deg, #c7edfe 10%, #c7f5fe 40%, #fcc8f8 0, #fcc8f8 60%, #eab4f8 0, #eab4f8 65%, #f1d580 0, #f3f798 90%);
background: -webkit-linear-gradient(45deg, #c7edfe 10%, #c7f5fe 60%, #fcc8f8 0, #fcc8f8 60%, #ffc299 0, #ffc299 65%, #f1d580 0, #f3f798 90%);
}
/* Sidebar Styles */
.sidebar {
width: 55px; /* Initial width */
height: 100vh;
position: fixed;
top: 45px;
left: 0;
background-color: #f1d580;
background: linear-gradient(45deg, #c7edfe 10%, #c7f5fe 40%, #fcc8f8 0, #fcc8f8 60%, #eab4f8 0, #eab4f8 65%, #f1d580 0, #f3f798 90%);
background: -webkit-linear-gradient(45deg, #c7edfe 10%, #c7f5fe 40%, #fcc8f8 0, #fcc8f8 60%, #ffc299 0, #ffc299 65%, #f1d580 0, #f3f798 90%);
overflow-x: hidden;
transition: width 0.3s, left 0.3s;
border-right: 1px solid #ddd; /* Light border */
padding-top: 10px;
z-index: 1000;
}
.sidebar:hover {
width: 220px; /* Expanded width */
}
.sidebar ul {
list-style-type: none;
padding: 0;
margin: 0;
}
.sidebar ul li {
padding: 12px 5px;
}
.sidebar ul li a {
color: #333; /* Dark text for light background */
text-decoration: none;
display: flex;
font-weight:800 !important;
align-items: center;
padding: 5px;
border-radius: 5px;
}
.sidebar ul li a i {
font-size: 20px;
width: 35px;
text-align: center;
}
.sidebar ul li a .menu-text {
display: none;
margin-left: 10px;
}
.sidebar:hover ul li a .menu-text,
.sidebar.show ul li a .menu-text {
display: inline;
white-space: nowrap;
}
/* Active Tab Styles */
.sidebar ul li.active {
background-color: #b2e9f7; /* Updated lighter sky blue */
}
.sidebar ul li.active a {
background-color: transparent; /* Remove background from the link */
}
/* Main Content Styles */
.main-content {
margin-left: 55px; /* Initial margin */
padding: 20px;
transition: margin-left 0.3s;
flex: 1;
}
.sidebar:hover ~ .main-content {
margin-left: 220px; /* Expanded margin */
}
/* Tab Content Styles */
.tab-content {
display: none;
}
.tab-content.active {
display: block;
}
/* Home Tab Cards */
.home-cards {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
/* Sidebar Toggle (Hamburger Menu) */
.menu-icon {
font-size: 24px;
cursor: pointer;
display: none; /* Hidden by default */
}
/* Container for inline layout */
.card-container {
display: flex;
gap: 20px;
width: 100%;
}
/* Adjust margin between ad card and first card */
@media (min-width: 768px) {
.home-cards {
margin-left: 20px; /* Reduced margin between ad card and first card */
}
}
@media (max-width: 767.98px) {
.sidebar:hover ~ .main-content {
margin-left: 2px; /* Expanded margin */
}
}
/* Responsive Design */
@media (max-width: 767.98px) {
.sidebar {
left: -220px; /* Hide sidebar by default in mobile */
width: 220px;
}
.sidebar.show {
left: 0; /* Show sidebar when toggled */
}
.main-content {
margin-left: 0; /* Remove margin in mobile */
overflow-x: hidden; /* Prevent horizontal scroll */
}
.menu-icon {
display: block; /* Show hamburger menu in mobile */
padding-left:15px;
font-size:30px;
}
.ad-banner {
display: none; /* Hide ad banner in mobile */
}
.card {
max-width: 100%; /* Cards take full width in mobile */
}
}