Changeset befb988 for jobvista-frontend/src/views/static/Header.css
- Timestamp:
- 06/17/24 21:59:14 (2 weeks ago)
- Branches:
- main
- Children:
- 08f82ec
- Parents:
- b248810
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jobvista-frontend/src/views/static/Header.css
rb248810 rbefb988 6 6 background-size: contain; 7 7 margin-right: 0; 8 8 9 } 9 10 … … 18 19 19 20 .navbar { 21 width: calc(100% - 17px); 20 22 height: 80px; 21 background-color: # 535C91;23 background-color: #f8f9fa; 22 24 font-family: Poppins, sans-serif; 25 position: fixed; 26 z-index: 10; 27 box-sizing: border-box; 23 28 } 24 29 25 30 .navbar .nav-item { 26 27 31 color: rgba(1,38,90,0.9); 28 32 margin-right: 15px; … … 31 35 font-size: 20px; 32 36 font-weight: 600; 33 //font-family: 'Ubuntu', sans-serif;34 37 font-family: Poppins, sans-serif; 35 38 } … … 37 40 color: white; 38 41 background-color: rgba(1,38,90,0.9); 39 /*border-bottom: 3px solid rgba(1,38,90,0.9);*/40 42 } 41 43 .active { … … 44 46 } 45 47 46 .user { 47 48 } 49 50 .auth-box { 51 display: inline-block; 52 margin-right: 35px; 53 margin-left: 5px; 54 //height: 50px; 55 56 } 57 58 .user { 48 /*NOVO*/ 49 50 :root { 51 --gray: #555; 52 --purple: #4e65ff; 53 --green-blue: #92effd; 54 --white: #fff; 55 } 56 57 .navigation { 58 position: fixed; 59 top: 10px; 60 right: 20px; 61 width: 120px; 62 height: 60px; 63 display: flex; 64 justify-content: space-between; 65 border-radius: 5px; 66 background: var(--white); 67 box-shadow: 0 25px 35px rgba(0, 0, 0, 0.3); 68 /*box-shadow: 0px 0px 18px 4px rgba(0,0,0,0.46);*/ 69 overflow: hidden; 70 transition: height 0.5s, width 0.5s; 71 transition-delay: 0s, 0.3s; 72 z-index: 15; 73 /*border: 2px solid var(--gray);*/ 74 } 75 76 .navigation .user-box { 77 position: relative; 78 width: 60px; 79 height: 60px; 80 display: flex; 81 align-items: center; 82 overflow: hidden; 83 transition: 0.3s; 84 transition-delay: 0.3s; 85 } 86 87 .navigation .user-box .username { 88 font-size: 1.2rem; 89 font-weight: bold; 90 white-space: nowrap; 91 margin: 0; 59 92 color: black; 60 93 padding-top: 10px; 61 margin-bottom: 0; 62 63 } 64 65 .role { 94 95 } 96 97 .navigation .user-box .role { 66 98 color: darkgray; 67 99 margin-bottom: 10px; 68 font-size: 15px; 69 70 } 71 72 100 font-size: 1rem; 101 } 102 103 .navigation .user-box .image-box { 104 position: relative; 105 min-width: 60px; 106 height: 60px; 107 background: var(--white); 108 border-radius: 50%; 109 overflow: hidden; 110 border: 10px solid var(--white); 111 112 } 113 114 .navigation .user-box .image-box img { 115 position: absolute; 116 top: 0; 117 left: 0; 118 width: 100%; 119 height: 100%; 120 object-fit: cover; 121 /*border: 1px solid black*/ 122 } 123 124 .navigation .menu-toggle { 125 position: relative; 126 width: 60px; 127 height: 60px; 128 display: flex; 129 justify-content: center; 130 align-items: center; 131 cursor: pointer; 132 } 133 134 .navigation .menu-toggle::before { 135 content: ""; 136 position: absolute; 137 width: 32px; 138 height: 2px; 139 background: var(--gray); 140 transform: translateY(-10px); 141 box-shadow: 0 10px var(--gray); 142 transition: 0.5s; 143 } 144 145 .navigation .menu-toggle::after { 146 content: ""; 147 position: absolute; 148 width: 32px; 149 height: 2px; 150 background: var(--gray); 151 transform: translateY(10px); 152 transition: 0.5s; 153 } 154 155 .menu { 156 position: absolute; 157 width: 100%; 158 /*height: calc(100% - 60px);*/ 159 margin-top: 60px; 160 padding: 0; 161 border-top: 1px solid rgba(0, 0, 0, 0.1); 162 } 163 164 .menu .menu-link { 165 text-decoration: none; 166 color: black; 167 display: flex; 168 align-items: center; 169 gap: 10px; 170 font-size: 1.1rem; 171 padding: 15px 30px; 172 } 173 .menu .menu-link:hover { 174 background-color: #EEEEEE; 175 } 176 177 178 .navigation.active .menu-toggle::before { 179 transform: translateY(0px) rotate(45deg); 180 box-shadow: none; 181 } 182 183 .navigation.active .menu-toggle::after { 184 transform: translateY(0px) rotate(-45deg); 185 } 186 187 .navigation.active { 188 width: 300px; 189 height: 175px; 190 transition: width 0.3s, height 0.3s; 191 transition-delay: 0s, 0.3s; 192 } 193 194 .navigation.active .user-box { 195 width: calc(100% - 60px); 196 transition-delay: 0s; 197 } 198 199 200 201 202
Note:
See TracChangeset
for help on using the changeset viewer.