|
1 | | -/* General Container Styling */ |
| 1 | +/* Container */ |
2 | 2 | .settings-container { |
3 | | - background-color: #f4f6f9; |
4 | 3 | padding: 30px; |
5 | | - border-radius: 15px; |
6 | | - box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); |
7 | | - margin-top: 50px; |
| 4 | + background-color: #f9f9f9; |
8 | 5 | } |
9 | 6 |
|
10 | | -.settings-title { |
11 | | - font-size: 2.8rem; |
12 | | - color: #2c3e50; |
13 | | - text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); |
| 7 | +/* General Card Styling */ |
| 8 | +.card { |
| 9 | + border-radius: 12px; |
| 10 | + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); |
| 11 | + margin-bottom: 30px; |
| 12 | + background-color: #ffffff; |
| 13 | + transition: box-shadow 0.3s ease, transform 0.3s ease; |
14 | 14 | } |
15 | 15 |
|
16 | | -/* Tab Navigation Styling */ |
17 | | -.nav-tabs .nav-link { |
18 | | - color: #2980b9; |
19 | | - border: none; |
| 16 | +/* Card Hover Effect */ |
| 17 | +.card:hover { |
| 18 | + box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); |
| 19 | + transform: translateY(-5px); |
| 20 | +} |
| 21 | + |
| 22 | +/* Card Titles */ |
| 23 | +.card-title { |
| 24 | + font-size: 1.6rem; |
20 | 25 | font-weight: 600; |
21 | | - font-size: 1.2rem; |
22 | | - transition: all 0.3s ease; |
23 | | - background-color: transparent; |
| 26 | + margin-bottom: 20px; |
| 27 | + display: flex; |
| 28 | + align-items: center; |
| 29 | + justify-content: center; |
| 30 | + color: #333; |
24 | 31 | } |
25 | 32 |
|
26 | | -.nav-tabs .nav-link:hover { |
27 | | - color: #1abc9c; |
| 33 | +/* Button Styling */ |
| 34 | +.btn { |
| 35 | + border-radius: 25px; |
| 36 | + padding: 12px 24px; |
| 37 | + margin: 10px 0; |
| 38 | + width: 100%; |
| 39 | + font-size: 1rem; |
| 40 | + font-weight: 500; |
| 41 | + display: flex; |
| 42 | + justify-content: center; |
| 43 | + align-items: center; |
| 44 | + transition: background-color 0.3s ease, border-color 0.3s ease; |
28 | 45 | } |
29 | 46 |
|
30 | | -.nav-tabs .nav-link.active { |
| 47 | +.btn-primary { |
| 48 | + background-color: #007bff; |
| 49 | + border-color: #007bff; |
31 | 50 | color: #fff; |
32 | | - background-color: #2980b9; |
33 | | - border: none; |
34 | | - border-radius: 0.5rem 0.5rem 0 0; |
35 | 51 | } |
36 | 52 |
|
37 | | -/* Card Styling */ |
38 | | -.card { |
39 | | - border: none; |
40 | | - border-radius: 10px; |
41 | | - box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); |
42 | | - transition: all 0.3s ease; |
43 | | - background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%); |
| 53 | +.btn-primary:hover { |
| 54 | + background-color: #0056b3; |
| 55 | + border-color: #004080; |
44 | 56 | } |
45 | 57 |
|
46 | | -.card:hover { |
47 | | - transform: translateY(-8px); |
48 | | - box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12); |
| 58 | +.btn-success { |
| 59 | + background-color: #28a745; |
| 60 | + border-color: #28a745; |
| 61 | + color: #fff; |
49 | 62 | } |
50 | 63 |
|
51 | | -.card-title { |
52 | | - font-size: 1.5rem; |
53 | | - margin-bottom: 20px; |
54 | | - color: #34495e; |
| 64 | +.btn-success:hover { |
| 65 | + background-color: #218838; |
| 66 | + border-color: #1e7e34; |
55 | 67 | } |
56 | 68 |
|
57 | | -/* Button Styling */ |
58 | | -.btn-primary { |
59 | | - background-color: #2980b9; |
60 | | - border: none; |
| 69 | +/* Button Groups */ |
| 70 | +.btn-group { |
| 71 | + display: flex; |
| 72 | + flex-wrap: wrap; |
| 73 | + gap: 10px; |
| 74 | + justify-content: center; |
| 75 | +} |
| 76 | + |
| 77 | +/* Tab Navigation */ |
| 78 | +.nav-tabs .nav-link { |
| 79 | + border-radius: 8px; |
61 | 80 | padding: 10px 20px; |
62 | | - font-size: 1.1rem; |
| 81 | + font-size: 1rem; |
63 | 82 | font-weight: 600; |
64 | | - border-radius: 25px; |
65 | | - box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); |
66 | | - transition: all 0.3s ease; |
| 83 | + transition: background-color 0.3s ease, color 0.3s ease; |
67 | 84 | } |
68 | 85 |
|
69 | | -.btn-primary:hover { |
70 | | - background-color: #1abc9c; |
71 | | - box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); |
72 | | - transform: translateY(-2px); |
| 86 | +.nav-tabs .nav-link.active { |
| 87 | + background-color: #007bff; |
| 88 | + color: #fff; |
73 | 89 | } |
74 | 90 |
|
75 | | -.btn-primary i { |
76 | | - margin-right: 10px; |
| 91 | +.nav-tabs .nav-link:hover { |
| 92 | + background-color: #f1f1f1; |
77 | 93 | } |
78 | 94 |
|
79 | | -/* Utility Buttons: Alternate Button Style */ |
80 | | -.btn-secondary { |
81 | | - background-color: #8e44ad; |
82 | | - color: #fff; |
83 | | - border: none; |
84 | | - padding: 10px 20px; |
85 | | - font-size: 1.1rem; |
86 | | - font-weight: 600; |
87 | | - border-radius: 25px; |
88 | | - box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); |
89 | | - transition: all 0.3s ease; |
| 95 | +/* Tab Content Margin */ |
| 96 | +.tab-content { |
| 97 | + margin-top: 30px; |
90 | 98 | } |
91 | 99 |
|
92 | | -.btn-secondary:hover { |
93 | | - background-color: #9b59b6; |
94 | | - box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); |
| 100 | +/* Profile Card Improvements */ |
| 101 | +.card-body { |
| 102 | + padding: 25px; |
| 103 | + font-size: 1rem; |
95 | 104 | } |
96 | 105 |
|
97 | | -/* Responsive Media Queries */ |
| 106 | +/* Responsive Design */ |
98 | 107 | @media (max-width: 768px) { |
99 | | - .settings-title { |
100 | | - font-size: 2rem; |
101 | | - } |
102 | | - |
103 | | - .nav-tabs .nav-link { |
104 | | - font-size: 1rem; |
| 108 | + .btn { |
| 109 | + padding: 10px 15px; |
| 110 | + font-size: 0.9rem; |
105 | 111 | } |
106 | 112 |
|
107 | 113 | .card-title { |
108 | | - font-size: 1.2rem; |
| 114 | + font-size: 1.4rem; |
109 | 115 | } |
110 | | - |
111 | | - .btn-primary, .btn-secondary { |
112 | | - font-size: 1rem; |
113 | | - padding: 8px 15px; |
114 | | - } |
115 | | -} |
116 | | - |
117 | | -/* Tooltip Styling for Extra Info on Hover */ |
118 | | -.btn-primary[data-toggle="tooltip"], .btn-secondary[data-toggle="tooltip"] { |
119 | | - position: relative; |
120 | | - overflow: hidden; |
121 | | -} |
122 | | - |
123 | | -.btn-primary[data-toggle="tooltip"]:hover::before, |
124 | | -.btn-secondary[data-toggle="tooltip"]:hover::before { |
125 | | - content: attr(data-original-title); |
126 | | - position: absolute; |
127 | | - top: -40px; |
128 | | - left: 50%; |
129 | | - transform: translateX(-50%); |
130 | | - background-color: #34495e; |
131 | | - color: white; |
132 | | - padding: 5px 10px; |
133 | | - border-radius: 5px; |
134 | | - font-size: 0.9rem; |
135 | | - opacity: 0; |
136 | | - animation: fadeIn 0.3s forwards; |
137 | | -} |
138 | | - |
139 | | -@keyframes fadeIn { |
140 | | - 0% { opacity: 0; transform: translateY(-10px); } |
141 | | - 100% { opacity: 1; transform: translateY(0); } |
142 | 116 | } |
0 commit comments