main
Last change
on this file since 0c6b92a was 0c6b92a, checked in by stefan toskovski <stefantoska84@…>, 5 weeks ago |
Pred finalna verzija
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | .fixedProfileContainer {
|
---|
2 | position: fixed;
|
---|
3 | top: 1em;
|
---|
4 | right: 2.5em;
|
---|
5 | z-index: 1000;
|
---|
6 | }
|
---|
7 |
|
---|
8 | .inlineProfileContainer {
|
---|
9 | display: inline-block;
|
---|
10 | cursor: pointer;
|
---|
11 | }
|
---|
12 |
|
---|
13 | .profileWrapper {
|
---|
14 | display: flex;
|
---|
15 | align-items: center;
|
---|
16 | cursor: pointer;
|
---|
17 | }
|
---|
18 |
|
---|
19 | .profileIconContainer {
|
---|
20 | position: relative; /* Makes dropdown position relative to this container */
|
---|
21 | cursor: pointer;
|
---|
22 | }
|
---|
23 |
|
---|
24 | .profileImage {
|
---|
25 | width: 60px;
|
---|
26 | height: 60px;
|
---|
27 | border-radius: 50%;
|
---|
28 | transition: box-shadow 0.3s ease;
|
---|
29 | }
|
---|
30 |
|
---|
31 | .profileImage:hover {
|
---|
32 | box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
|
---|
33 | }
|
---|
34 |
|
---|
35 | .dropdownMenu {
|
---|
36 | position: absolute;
|
---|
37 | top: 70px;
|
---|
38 | margin-left: 1.8em;
|
---|
39 | transform: translateX(-50%);
|
---|
40 | background-color: #ffffff;
|
---|
41 | box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
|
---|
42 | border-radius: 12px;
|
---|
43 | padding: 12px;
|
---|
44 | width: 180px;
|
---|
45 | transition: opacity 0.3s ease;
|
---|
46 | opacity: 1;
|
---|
47 | }
|
---|
48 |
|
---|
49 | .username {
|
---|
50 | padding: 10px 0;
|
---|
51 | font-weight: 600;
|
---|
52 | text-align: center;
|
---|
53 | color: #333;
|
---|
54 | border-bottom: 1px solid #eee;
|
---|
55 | }
|
---|
56 |
|
---|
57 | .menuList {
|
---|
58 | list-style-type: none;
|
---|
59 | padding: 0;
|
---|
60 | margin: 0;
|
---|
61 | }
|
---|
62 |
|
---|
63 | .menuItem {
|
---|
64 | padding: 10px;
|
---|
65 | cursor: pointer;
|
---|
66 | transition: background-color 0.2s ease, color 0.2s ease;
|
---|
67 | text-align: center;
|
---|
68 | color: #333;
|
---|
69 | font-weight: 500;
|
---|
70 | border-radius: 8px;
|
---|
71 | }
|
---|
72 |
|
---|
73 | .menuItem:hover {
|
---|
74 | background-color: #f5f5f5;
|
---|
75 | color: #007bff; /* Optional: Adds a blue highlight on hover */
|
---|
76 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.