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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Sass tils
|
| 2 |
+
$color-fiord: #394263; // sidenav bg & dark text
|
| 3 |
+
$color-white: #FFF; // card bg
|
| 4 |
+
$color-athens-gray: #EAEDF1; // content bg
|
| 5 |
+
$color-catskill-white: #F9FAFC; // top nav bg
|
| 6 |
+
$color-abbey: #777; // gray text
|
| 7 |
+
$color-mischka: #DADAE3; // light gray for menu icon
|
| 8 |
+
$color-java: #1BBAE1; // blue text
|
| 9 |
+
$color-mine-shaft: #333; // main section header bg
|
| 10 |
+
$color-zest: #e67e22; // document icon bg
|
| 11 |
+
$color-jungle-green: #27ae60; // calendar icon bg
|
| 12 |
+
$color-cinnabar: #e74c3c; // main icon bg, red
|
| 13 |
+
$color-amethyst: #af64cc; // main photo icon bg
|
| 14 |
+
$color-transparent: rgba(255, 255, 255, .5);
|
| 15 |
+
$color-alto: #D3D3D3;
|
| 16 |
+
|
| 17 |
+
$height-header: 50px;
|
| 18 |
+
$height-footer: 50px;
|
| 19 |
+
$width-sidenav: 240px;
|
| 20 |
+
|
| 21 |
+
@mixin profile-avatar {
|
| 22 |
+
background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/1609106/headshot.png");
|
| 23 |
+
background-size: cover;
|
| 24 |
+
background-repeat: no-repeat;
|
| 25 |
+
border-radius: 50%;
|
| 26 |
+
border: 2px solid rgba(255, 255, 255, .2);
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
@mixin box-shadow {
|
| 30 |
+
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
// Resets
|
| 34 |
+
html, body {
|
| 35 |
+
margin: 0;
|
| 36 |
+
padding: 0;
|
| 37 |
+
box-sizing: border-box;
|
| 38 |
+
font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
a {
|
| 42 |
+
text-decoration: none;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
// Util classes
|
| 46 |
+
.text-light {
|
| 47 |
+
font-weight: 300;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
.text-bold {
|
| 51 |
+
font-weight: bold;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
.row {
|
| 55 |
+
display: flex;
|
| 56 |
+
|
| 57 |
+
&--align-v-center {
|
| 58 |
+
align-items: center;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
&--align-h-center {
|
| 62 |
+
justify-content: center;
|
| 63 |
+
}
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
// Establish dashboard css grid layout - mobile
|
| 67 |
+
.grid {
|
| 68 |
+
position: relative;
|
| 69 |
+
display: grid;
|
| 70 |
+
grid-template-columns: 100%; // Charts responsiveness won't work with fr units
|
| 71 |
+
grid-template-rows: $height-header 1fr $height-footer;
|
| 72 |
+
grid-template-areas:
|
| 73 |
+
'header'
|
| 74 |
+
'main'
|
| 75 |
+
'footer';
|
| 76 |
+
height: 100vh;
|
| 77 |
+
overflow-x: hidden; // Prevent overflow scroll from hidden sidenav
|
| 78 |
+
|
| 79 |
+
&--noscroll {
|
| 80 |
+
overflow-y: hidden;
|
| 81 |
+
}
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
.header {
|
| 85 |
+
grid-area: header;
|
| 86 |
+
display: flex;
|
| 87 |
+
align-items: center;
|
| 88 |
+
justify-content: space-between;
|
| 89 |
+
background-color: $color-catskill-white;
|
| 90 |
+
|
| 91 |
+
&__menu {
|
| 92 |
+
position: fixed; // Needs to stay visible for all mobile scrolling
|
| 93 |
+
padding: 13px;
|
| 94 |
+
left: 12px;
|
| 95 |
+
background-color: $color-mischka;
|
| 96 |
+
border-radius: 50%;
|
| 97 |
+
z-index: 1;
|
| 98 |
+
|
| 99 |
+
&:hover {
|
| 100 |
+
cursor: pointer;
|
| 101 |
+
}
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
&__search {
|
| 105 |
+
margin-left: 55px;
|
| 106 |
+
font-size: 20px;
|
| 107 |
+
color: $color-abbey;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
&__input {
|
| 111 |
+
border: none;
|
| 112 |
+
background: transparent;
|
| 113 |
+
padding: 12px;
|
| 114 |
+
font-size: 20px;
|
| 115 |
+
color: $color-abbey;
|
| 116 |
+
|
| 117 |
+
&:focus {
|
| 118 |
+
outline: none;
|
| 119 |
+
border: none;
|
| 120 |
+
}
|
| 121 |
+
}
|
| 122 |
+
|
| 123 |
+
&__avatar {
|
| 124 |
+
@include profile-avatar;
|
| 125 |
+
position: relative;
|
| 126 |
+
margin: 0 26px;
|
| 127 |
+
width: 35px;
|
| 128 |
+
height: 35px;
|
| 129 |
+
cursor: pointer;
|
| 130 |
+
|
| 131 |
+
&:after {
|
| 132 |
+
position: absolute;
|
| 133 |
+
content: "";
|
| 134 |
+
width: 6px;
|
| 135 |
+
height: 6px;
|
| 136 |
+
background: none;
|
| 137 |
+
border-left: 2px solid $color-abbey;
|
| 138 |
+
border-bottom: 2px solid $color-abbey;
|
| 139 |
+
transform: rotate(-45deg) translateY(-50%);
|
| 140 |
+
top: 50%;
|
| 141 |
+
right: -18px;
|
| 142 |
+
}
|
| 143 |
+
}
|
| 144 |
+
}
|
| 145 |
+
|
| 146 |
+
.dropdown {
|
| 147 |
+
position: absolute;
|
| 148 |
+
top: 54px;
|
| 149 |
+
right: -16px;
|
| 150 |
+
width: 220px;
|
| 151 |
+
height: auto;
|
| 152 |
+
z-index: 1;
|
| 153 |
+
background-color: #fff;
|
| 154 |
+
border-radius: 4px;
|
| 155 |
+
visibility: hidden;
|
| 156 |
+
opacity: 0;
|
| 157 |
+
transform: translateY(-10px);
|
| 158 |
+
transition: all .3s;
|
| 159 |
+
@include box-shadow;
|
| 160 |
+
|
| 161 |
+
&__list {
|
| 162 |
+
margin: 0;
|
| 163 |
+
padding: 0;
|
| 164 |
+
list-style-type: none;
|
| 165 |
+
}
|
| 166 |
+
|
| 167 |
+
&__list-item {
|
| 168 |
+
padding: 12px 24px;
|
| 169 |
+
color: $color-abbey;
|
| 170 |
+
text-transform: capitalize;
|
| 171 |
+
|
| 172 |
+
&:hover {
|
| 173 |
+
background-color: rgba(0,0,0, .1);
|
| 174 |
+
}
|
| 175 |
+
}
|
| 176 |
+
|
| 177 |
+
&__icon {
|
| 178 |
+
color: $color-java;
|
| 179 |
+
}
|
| 180 |
+
|
| 181 |
+
&__title {
|
| 182 |
+
margin-left: 10px;
|
| 183 |
+
}
|
| 184 |
+
|
| 185 |
+
&:before {
|
| 186 |
+
position: absolute;
|
| 187 |
+
content: "";
|
| 188 |
+
top: -6px;
|
| 189 |
+
right: 30px;
|
| 190 |
+
width: 0;
|
| 191 |
+
height: 0;
|
| 192 |
+
border-left: 4px solid transparent;
|
| 193 |
+
border-right: 4px solid transparent;
|
| 194 |
+
border-bottom: 6px solid #FFF;
|
| 195 |
+
}
|
| 196 |
+
|
| 197 |
+
&--active {
|
| 198 |
+
visibility: visible;
|
| 199 |
+
opacity: 1;
|
| 200 |
+
transform: translateY(0);
|
| 201 |
+
}
|
| 202 |
+
}
|
| 203 |
+
|
| 204 |
+
.sidenav {
|
| 205 |
+
position: fixed; // Access sidenav at any scroll position; relatively positioned on medium + screens
|
| 206 |
+
grid-area: sidenav;
|
| 207 |
+
height: 100%;
|
| 208 |
+
overflow-y: auto;
|
| 209 |
+
background-color: $color-fiord;
|
| 210 |
+
color: $color-white;
|
| 211 |
+
width: $width-sidenav; // Will match grid area on medium + screens
|
| 212 |
+
transform: translateX(-245px);
|
| 213 |
+
transition: all .6s ease-in-out;
|
| 214 |
+
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
|
| 215 |
+
z-index: 2; // Needs to sit above the hamburger menu icon
|
| 216 |
+
|
| 217 |
+
&__brand {
|
| 218 |
+
position: relative;
|
| 219 |
+
display: flex;
|
| 220 |
+
align-items: center;
|
| 221 |
+
padding: 0 16px;
|
| 222 |
+
height: $height-header;
|
| 223 |
+
background-color: rgba(0, 0, 0, .15);
|
| 224 |
+
|
| 225 |
+
&-icon {
|
| 226 |
+
margin-top: 2px;
|
| 227 |
+
font-size: 14px;
|
| 228 |
+
color: $color-transparent;
|
| 229 |
+
}
|
| 230 |
+
|
| 231 |
+
&-close {
|
| 232 |
+
position: absolute;
|
| 233 |
+
right: 8px;
|
| 234 |
+
top: 8px;
|
| 235 |
+
visibility: visible;
|
| 236 |
+
color: $color-transparent;
|
| 237 |
+
cursor: pointer;
|
| 238 |
+
}
|
| 239 |
+
|
| 240 |
+
&-link {
|
| 241 |
+
font-size: 18px;
|
| 242 |
+
font-weight: bold;
|
| 243 |
+
color: $color-white;
|
| 244 |
+
margin: 0 15px;
|
| 245 |
+
letter-spacing: 1.5px;
|
| 246 |
+
}
|
| 247 |
+
}
|
| 248 |
+
|
| 249 |
+
&__profile {
|
| 250 |
+
display: flex;
|
| 251 |
+
align-items: center;
|
| 252 |
+
min-height: 90px;
|
| 253 |
+
background-color: rgba(255, 255, 255, .1);
|
| 254 |
+
|
| 255 |
+
&-avatar {
|
| 256 |
+
@include profile-avatar;
|
| 257 |
+
height: 64px;
|
| 258 |
+
width: 64px;
|
| 259 |
+
margin: 0 15px;
|
| 260 |
+
}
|
| 261 |
+
|
| 262 |
+
&-title {
|
| 263 |
+
font-size: 17px;
|
| 264 |
+
letter-spacing: 1px;
|
| 265 |
+
}
|
| 266 |
+
}
|
| 267 |
+
|
| 268 |
+
&__arrow {
|
| 269 |
+
position: absolute;
|
| 270 |
+
content: "";
|
| 271 |
+
width: 6px;
|
| 272 |
+
height: 6px;
|
| 273 |
+
top: 50%;
|
| 274 |
+
right: 20px;
|
| 275 |
+
border-left: 2px solid rgba(255,255,255,.5);
|
| 276 |
+
border-bottom: 2px solid rgba(255,255,255,.5);
|
| 277 |
+
transform: translateY(-50%) rotate(225deg);
|
| 278 |
+
}
|
| 279 |
+
|
| 280 |
+
&__sublist {
|
| 281 |
+
list-style-type: none;
|
| 282 |
+
margin: 0;
|
| 283 |
+
padding: 10px 0 0;
|
| 284 |
+
}
|
| 285 |
+
|
| 286 |
+
&--active {
|
| 287 |
+
transform: translateX(0);
|
| 288 |
+
}
|
| 289 |
+
}
|
| 290 |
+
|
| 291 |
+
.navList {
|
| 292 |
+
width: $width-sidenav;
|
| 293 |
+
padding: 0;
|
| 294 |
+
margin: 0;
|
| 295 |
+
background-color: $color-fiord;
|
| 296 |
+
list-style-type: none;
|
| 297 |
+
|
| 298 |
+
&__heading {
|
| 299 |
+
position: relative;
|
| 300 |
+
display: flex;
|
| 301 |
+
align-items: center;
|
| 302 |
+
justify-content: space-between;
|
| 303 |
+
padding: 16px 16px 3px;
|
| 304 |
+
color: $color-transparent;
|
| 305 |
+
text-transform: uppercase;
|
| 306 |
+
font-size: 15px;
|
| 307 |
+
}
|
| 308 |
+
|
| 309 |
+
&__subheading {
|
| 310 |
+
position: relative;
|
| 311 |
+
padding: 10px 30px;
|
| 312 |
+
color: #fff;
|
| 313 |
+
font-size: 16px;
|
| 314 |
+
text-transform: capitalize;
|
| 315 |
+
|
| 316 |
+
&-icon {
|
| 317 |
+
display: flex;
|
| 318 |
+
align-items: center;
|
| 319 |
+
justify-content: center;
|
| 320 |
+
font-size: 12px;
|
| 321 |
+
color: $color-transparent;
|
| 322 |
+
width: 12px; // Keep spacing consistent
|
| 323 |
+
}
|
| 324 |
+
|
| 325 |
+
&-title {
|
| 326 |
+
margin: 0 15px;
|
| 327 |
+
}
|
| 328 |
+
|
| 329 |
+
&:after {
|
| 330 |
+
position: absolute;
|
| 331 |
+
content: "";
|
| 332 |
+
height: 6px;
|
| 333 |
+
width: 6px;
|
| 334 |
+
top: 17px;
|
| 335 |
+
right: 25px;
|
| 336 |
+
border-left: 1px solid $color-transparent;
|
| 337 |
+
border-bottom: 1px solid $color-transparent;
|
| 338 |
+
transform: rotate(225deg);
|
| 339 |
+
transition: all .2s;
|
| 340 |
+
}
|
| 341 |
+
|
| 342 |
+
&:hover {
|
| 343 |
+
background-color: darken($color-fiord, 5%);
|
| 344 |
+
cursor: pointer;
|
| 345 |
+
}
|
| 346 |
+
|
| 347 |
+
&--open {
|
| 348 |
+
background-color: darken($color-fiord, 5%);
|
| 349 |
+
|
| 350 |
+
&:after {
|
| 351 |
+
transform: rotate(315deg);
|
| 352 |
+
}
|
| 353 |
+
}
|
| 354 |
+
}
|
| 355 |
+
|
| 356 |
+
.subList {
|
| 357 |
+
padding: 0;
|
| 358 |
+
margin: 0;
|
| 359 |
+
list-style-type: none;
|
| 360 |
+
background-color: darken($color-fiord, 10%);
|
| 361 |
+
visibility: visible;
|
| 362 |
+
overflow: hidden;
|
| 363 |
+
max-height: 200px;
|
| 364 |
+
transition: all .4s ease-in-out;
|
| 365 |
+
|
| 366 |
+
&__item {
|
| 367 |
+
padding: 8px;
|
| 368 |
+
text-transform: capitalize;
|
| 369 |
+
padding: 8px 30px;
|
| 370 |
+
color: $color-alto;
|
| 371 |
+
|
| 372 |
+
&:first-child {
|
| 373 |
+
padding-top: 15px;
|
| 374 |
+
}
|
| 375 |
+
|
| 376 |
+
&:hover {
|
| 377 |
+
background-color: rgba(255, 255, 255, .1);
|
| 378 |
+
cursor: pointer;
|
| 379 |
+
}
|
| 380 |
+
}
|
| 381 |
+
|
| 382 |
+
&--hidden {
|
| 383 |
+
visibility: hidden;
|
| 384 |
+
max-height: 0;
|
| 385 |
+
}
|
| 386 |
+
}
|
| 387 |
+
}
|
| 388 |
+
|
| 389 |
+
// Dashboard content wrapper
|
| 390 |
+
.main {
|
| 391 |
+
grid-area: main;
|
| 392 |
+
background-color: $color-athens-gray;
|
| 393 |
+
color: $color-fiord;
|
| 394 |
+
|
| 395 |
+
&__cards {
|
| 396 |
+
display: block;
|
| 397 |
+
column-count: 1;
|
| 398 |
+
column-gap: 20px;
|
| 399 |
+
margin: 20px;
|
| 400 |
+
}
|
| 401 |
+
}
|
| 402 |
+
|
| 403 |
+
.main-header {
|
| 404 |
+
position: relative;
|
| 405 |
+
display: flex;
|
| 406 |
+
justify-content: space-between;
|
| 407 |
+
height: 250px;
|
| 408 |
+
color: $color-white;
|
| 409 |
+
background-size: cover;
|
| 410 |
+
background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/1609106/lake-shadow-water.jpg");
|
| 411 |
+
margin-bottom: 20px;
|
| 412 |
+
|
| 413 |
+
&__intro-wrapper {
|
| 414 |
+
display: flex;
|
| 415 |
+
flex: 1;
|
| 416 |
+
flex-direction: column; // Mobile-first; break out to row on medium + screens
|
| 417 |
+
align-items: center;
|
| 418 |
+
justify-content: space-between;
|
| 419 |
+
height: 160px;
|
| 420 |
+
padding: 12px 30px;
|
| 421 |
+
background: rgba(255,255,255,.12);
|
| 422 |
+
font-size: 26px;
|
| 423 |
+
letter-spacing: 1px;
|
| 424 |
+
}
|
| 425 |
+
|
| 426 |
+
&__welcome {
|
| 427 |
+
display: flex;
|
| 428 |
+
flex-direction: column;
|
| 429 |
+
align-items: center;
|
| 430 |
+
|
| 431 |
+
&-title {
|
| 432 |
+
margin-bottom: 8px;
|
| 433 |
+
font-size: 26px;
|
| 434 |
+
}
|
| 435 |
+
|
| 436 |
+
&-subtitle {
|
| 437 |
+
font-size: 18px;
|
| 438 |
+
}
|
| 439 |
+
}
|
| 440 |
+
}
|
| 441 |
+
|
| 442 |
+
// Main header quick view update items
|
| 443 |
+
.quickview {
|
| 444 |
+
display: grid;
|
| 445 |
+
grid-auto-flow: column;
|
| 446 |
+
grid-gap: 60px;
|
| 447 |
+
|
| 448 |
+
&__item {
|
| 449 |
+
display: flex;
|
| 450 |
+
align-items: center;
|
| 451 |
+
flex-direction: column;
|
| 452 |
+
|
| 453 |
+
&-total {
|
| 454 |
+
margin-bottom: 2px;
|
| 455 |
+
font-size: 32px;
|
| 456 |
+
}
|
| 457 |
+
|
| 458 |
+
&-description {
|
| 459 |
+
font-size: 16px;
|
| 460 |
+
text-align: center;
|
| 461 |
+
}
|
| 462 |
+
}
|
| 463 |
}
|
| 464 |
|
| 465 |
+
// Overview quicklink cards container
|
| 466 |
+
.main-overview {
|
| 467 |
+
display: grid;
|
| 468 |
+
grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
|
| 469 |
+
grid-auto-rows: 94px;
|
| 470 |
+
grid-gap: 30px;
|
| 471 |
+
margin: 20px;
|
| 472 |
}
|
| 473 |
|
| 474 |
+
.overviewCard {
|
| 475 |
+
display: flex;
|
| 476 |
+
align-items: center;
|
| 477 |
+
justify-content: space-between;
|
| 478 |
+
padding: 12px;
|
| 479 |
+
background-color: $color-white;
|
| 480 |
+
transform: translateY(0);
|
| 481 |
+
transition: all .3s;
|
| 482 |
+
|
| 483 |
+
&-icon {
|
| 484 |
+
display: flex;
|
| 485 |
+
align-items: center;
|
| 486 |
+
justify-content: center;
|
| 487 |
+
height: 60px;
|
| 488 |
+
width: 60px;
|
| 489 |
+
border-radius: 50%;
|
| 490 |
+
font-size: 21px;
|
| 491 |
+
color: #fff;
|
| 492 |
+
|
| 493 |
+
&--document {
|
| 494 |
+
background-color: $color-zest;
|
| 495 |
+
}
|
| 496 |
+
|
| 497 |
+
&--calendar {
|
| 498 |
+
background-color: $color-jungle-green;
|
| 499 |
+
}
|
| 500 |
+
|
| 501 |
+
&--mail {
|
| 502 |
+
background-color: $color-cinnabar;
|
| 503 |
+
}
|
| 504 |
+
|
| 505 |
+
&--photo {
|
| 506 |
+
background-color: $color-amethyst;
|
| 507 |
+
}
|
| 508 |
+
}
|
| 509 |
+
|
| 510 |
+
&-description {
|
| 511 |
+
display: flex;
|
| 512 |
+
flex-direction: column;
|
| 513 |
+
align-items: center;
|
| 514 |
+
}
|
| 515 |
+
|
| 516 |
+
&-title {
|
| 517 |
+
font-size: 18px;
|
| 518 |
+
color: $color-java;
|
| 519 |
+
margin: 0;
|
| 520 |
+
}
|
| 521 |
+
|
| 522 |
+
&-subtitle {
|
| 523 |
+
margin: 2px;
|
| 524 |
+
color: $color-abbey;
|
| 525 |
+
}
|
| 526 |
+
|
| 527 |
+
&:hover {
|
| 528 |
+
transform: translateY(-3px);
|
| 529 |
+
box-shadow: 0 5px 5px rgba(0,0,0,.1);
|
| 530 |
+
cursor: pointer;
|
| 531 |
+
}
|
| 532 |
}
|
| 533 |
|
| 534 |
.card {
|
| 535 |
+
display: flex;
|
| 536 |
+
flex-direction: column;
|
| 537 |
+
width: 100%;
|
| 538 |
+
background-color: #fff;
|
| 539 |
+
margin-bottom: 20px;
|
| 540 |
+
-webkit-column-break-inside: avoid;
|
| 541 |
+
|
| 542 |
+
&__header {
|
| 543 |
+
display: flex;
|
| 544 |
+
align-items: center;
|
| 545 |
+
justify-content: space-between;
|
| 546 |
+
height: 50px;
|
| 547 |
+
background-color: $color-fiord;
|
| 548 |
+
color: $color-white;
|
| 549 |
+
|
| 550 |
+
&-title {
|
| 551 |
+
margin: 0 20px;
|
| 552 |
+
font-size: 20px;
|
| 553 |
+
letter-spacing: 1.2px;
|
| 554 |
+
}
|
| 555 |
+
|
| 556 |
+
&-link {
|
| 557 |
+
font-size: 16px;
|
| 558 |
+
color: $color-java;
|
| 559 |
+
letter-spacing: normal;
|
| 560 |
+
display: inline-block;
|
| 561 |
+
}
|
| 562 |
+
}
|
| 563 |
+
|
| 564 |
+
&__main {
|
| 565 |
+
position: relative;
|
| 566 |
+
padding-right: 20px;
|
| 567 |
+
background-color: $color-white;
|
| 568 |
+
|
| 569 |
+
&:after {
|
| 570 |
+
content: "";
|
| 571 |
+
position: absolute;
|
| 572 |
+
top:0;
|
| 573 |
+
left: 120px;
|
| 574 |
+
bottom: 0;
|
| 575 |
+
width: 2px;
|
| 576 |
+
background-color: #f0f0f0;
|
| 577 |
+
}
|
| 578 |
+
}
|
| 579 |
+
|
| 580 |
+
&__secondary {
|
| 581 |
+
display: grid;
|
| 582 |
+
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
|
| 583 |
+
grid-auto-rows: 100px;
|
| 584 |
+
grid-gap: 25px;
|
| 585 |
+
padding: 20px;
|
| 586 |
+
background-color: $color-white;
|
| 587 |
+
}
|
| 588 |
+
|
| 589 |
+
&__photo {
|
| 590 |
+
background-image: url('../../img/pumpkin-carving.jpg');
|
| 591 |
+
background-size: cover;
|
| 592 |
+
background-repeat: no-repeat;
|
| 593 |
+
background-color: slategray;
|
| 594 |
+
// overflow: hidden;
|
| 595 |
+
transform: scale(1);
|
| 596 |
+
transition: transform .3s ease-in-out;
|
| 597 |
+
width: 100%;
|
| 598 |
+
height: 100%;
|
| 599 |
+
|
| 600 |
+
&:hover {
|
| 601 |
+
transform: scale(1.1);
|
| 602 |
+
cursor: pointer;
|
| 603 |
+
}
|
| 604 |
+
}
|
| 605 |
+
|
| 606 |
+
&__photo-wrapper {
|
| 607 |
+
overflow: hidden;
|
| 608 |
+
}
|
| 609 |
+
|
| 610 |
+
&__row {
|
| 611 |
+
position: relative;
|
| 612 |
+
display: flex;
|
| 613 |
+
flex: 1;
|
| 614 |
+
margin: 15px 0 20px;
|
| 615 |
+
}
|
| 616 |
+
|
| 617 |
+
&__icon {
|
| 618 |
+
position: absolute;
|
| 619 |
+
display: flex;
|
| 620 |
+
align-items: center;
|
| 621 |
+
justify-content: center;
|
| 622 |
+
content: "";
|
| 623 |
+
width: 30px;
|
| 624 |
+
height: 30px;
|
| 625 |
+
top: 0;
|
| 626 |
+
left: 121px;
|
| 627 |
+
transform: translateX(-50%);
|
| 628 |
+
border-radius: 50%;
|
| 629 |
+
color: $color-white;
|
| 630 |
+
background-color: $color-java;
|
| 631 |
+
z-index: 1;
|
| 632 |
+
}
|
| 633 |
+
|
| 634 |
+
&__row:nth-child(even) {
|
| 635 |
+
.card__icon {
|
| 636 |
+
background-color: $color-cinnabar;
|
| 637 |
+
}
|
| 638 |
+
}
|
| 639 |
+
|
| 640 |
+
&__time {
|
| 641 |
+
display: flex;
|
| 642 |
+
flex: 1;
|
| 643 |
+
justify-content: flex-end;
|
| 644 |
+
max-width: 80px;
|
| 645 |
+
margin-left: 15px;
|
| 646 |
+
text-align: right;
|
| 647 |
+
font-size: 14px;
|
| 648 |
+
line-height: 2;
|
| 649 |
+
}
|
| 650 |
+
|
| 651 |
+
&__detail {
|
| 652 |
+
display: flex;
|
| 653 |
+
flex: 1;
|
| 654 |
+
flex-direction: column;
|
| 655 |
+
padding-left: 12px;
|
| 656 |
+
margin-left: 48px;
|
| 657 |
+
transform: translateX(0);
|
| 658 |
+
transition: all .3s;
|
| 659 |
+
|
| 660 |
+
&:hover {
|
| 661 |
+
background-color: #f0f0f0;
|
| 662 |
+
transform: translateX(4px);
|
| 663 |
+
cursor: pointer;
|
| 664 |
+
}
|
| 665 |
+
}
|
| 666 |
+
|
| 667 |
+
&__source {
|
| 668 |
+
line-height: 1.8;
|
| 669 |
+
color: $color-java;
|
| 670 |
+
}
|
| 671 |
+
|
| 672 |
+
&__description {
|
| 673 |
+
|
| 674 |
+
}
|
| 675 |
+
|
| 676 |
+
&__note {
|
| 677 |
+
margin: 10px 0;
|
| 678 |
+
color: $color-abbey;
|
| 679 |
+
}
|
| 680 |
+
|
| 681 |
+
&--finance {
|
| 682 |
+
position: relative;
|
| 683 |
+
}
|
| 684 |
+
}
|
| 685 |
+
|
| 686 |
+
// Card header settings icons
|
| 687 |
+
.settings {
|
| 688 |
+
display: flex;
|
| 689 |
+
margin: 8px;
|
| 690 |
+
align-self: flex-start;
|
| 691 |
+
background-color: $color-transparent;
|
| 692 |
+
border: 1px solid rgba(0,0,0,.1);
|
| 693 |
+
border-radius: 2px;
|
| 694 |
+
|
| 695 |
+
&__block {
|
| 696 |
+
display: flex;
|
| 697 |
+
align-items: center;
|
| 698 |
+
justify-content: center;
|
| 699 |
+
padding: 4px;
|
| 700 |
+
color: $color-fiord;
|
| 701 |
+
font-size: 11px;
|
| 702 |
+
|
| 703 |
+
&:not(:last-child) {
|
| 704 |
+
border-right: 1px solid rgba(0,0,0,.1);
|
| 705 |
+
}
|
| 706 |
+
}
|
| 707 |
+
|
| 708 |
+
&__icon {
|
| 709 |
+
padding: 0px 3px;
|
| 710 |
+
font-size: 12px;
|
| 711 |
+
|
| 712 |
+
&:hover {
|
| 713 |
+
background-color: rgba(255,255,255,.8);
|
| 714 |
+
cursor: pointer;
|
| 715 |
+
}
|
| 716 |
+
}
|
| 717 |
+
|
| 718 |
+
&:hover {
|
| 719 |
+
background-color: #fff;
|
| 720 |
+
cursor: pointer;
|
| 721 |
+
}
|
| 722 |
+
}
|
| 723 |
+
|
| 724 |
+
.documents {
|
| 725 |
+
display: grid;
|
| 726 |
+
grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
|
| 727 |
+
grid-auto-rows: 214px;
|
| 728 |
+
grid-gap: 12px;
|
| 729 |
+
height: auto;
|
| 730 |
+
background-color: $color-white;
|
| 731 |
+
}
|
| 732 |
+
|
| 733 |
+
.document {
|
| 734 |
+
display: flex;
|
| 735 |
+
align-items: center;
|
| 736 |
+
justify-content: center;
|
| 737 |
+
margin: 15px 0 0;
|
| 738 |
+
flex-direction: column;
|
| 739 |
+
|
| 740 |
+
&__img {
|
| 741 |
+
width: 105px;
|
| 742 |
+
height: 136px;
|
| 743 |
+
background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/1609106/doc-1.png");
|
| 744 |
+
background-size: cover;
|
| 745 |
+
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
|
| 746 |
+
cursor: pointer;
|
| 747 |
+
transition: transform .3s ease;
|
| 748 |
+
|
| 749 |
+
&:hover {
|
| 750 |
+
transform: translateY(-4px);
|
| 751 |
+
}
|
| 752 |
+
}
|
| 753 |
+
|
| 754 |
+
&__title {
|
| 755 |
+
margin: 8px 0 2px;
|
| 756 |
+
color: $color-abbey;
|
| 757 |
+
}
|
| 758 |
+
|
| 759 |
+
&__date {
|
| 760 |
+
font-size: 10px;
|
| 761 |
+
}
|
| 762 |
}
|
| 763 |
|
| 764 |
+
// Styles for example chart
|
| 765 |
+
#chartdiv {
|
| 766 |
+
width: 100%;
|
| 767 |
+
height: 300px;
|
| 768 |
+
font-size: 11px;
|
| 769 |
+
min-width: 0;
|
| 770 |
}
|
| 771 |
+
|
| 772 |
+
.footer {
|
| 773 |
+
grid-area: footer;
|
| 774 |
+
display: flex;
|
| 775 |
+
align-items: center;
|
| 776 |
+
justify-content: space-between;
|
| 777 |
+
padding: 0 16px;
|
| 778 |
+
color: $color-abbey;
|
| 779 |
+
background-color: $color-white;
|
| 780 |
+
|
| 781 |
+
&__copyright {
|
| 782 |
+
color: $color-java;
|
| 783 |
+
}
|
| 784 |
+
|
| 785 |
+
&__icon {
|
| 786 |
+
color: $color-cinnabar;
|
| 787 |
+
}
|
| 788 |
+
|
| 789 |
+
&__signature {
|
| 790 |
+
color: $color-java;
|
| 791 |
+
cursor: pointer;
|
| 792 |
+
font-weight: bold;
|
| 793 |
+
}
|
| 794 |
+
}
|
| 795 |
+
|
| 796 |
+
// Mobile screen breakpoints (750px)
|
| 797 |
+
@media only screen and (min-width: 46.875em) {
|
| 798 |
+
// Break out to sidenav grid layout on medium + screens
|
| 799 |
+
.grid {
|
| 800 |
+
display: grid;
|
| 801 |
+
grid-template-columns: $width-sidenav calc(100% - 240px); // Charts responsiveness won't work with fr units
|
| 802 |
+
grid-template-rows: $height-header 1fr $height-footer;
|
| 803 |
+
grid-template-areas:
|
| 804 |
+
'sidenav header'
|
| 805 |
+
'sidenav main'
|
| 806 |
+
'sidenav footer';
|
| 807 |
+
height: 100vh;
|
| 808 |
+
}
|
| 809 |
+
|
| 810 |
+
.sidenav {
|
| 811 |
+
position: relative;
|
| 812 |
+
transform: translateX(0);
|
| 813 |
+
|
| 814 |
+
&__brand-close {
|
| 815 |
+
visibility: hidden;
|
| 816 |
+
}
|
| 817 |
+
}
|
| 818 |
+
|
| 819 |
+
.main-header {
|
| 820 |
+
&__intro-wrapper {
|
| 821 |
+
padding: 0 30px;
|
| 822 |
+
}
|
| 823 |
+
}
|
| 824 |
+
|
| 825 |
+
.header {
|
| 826 |
+
&__menu {
|
| 827 |
+
display: none;
|
| 828 |
+
}
|
| 829 |
+
|
| 830 |
+
&__search {
|
| 831 |
+
margin-left: 20px; // No menu icon; move 'er back over
|
| 832 |
+
}
|
| 833 |
+
|
| 834 |
+
&__avatar {
|
| 835 |
+
width: 40px;
|
| 836 |
+
height: 40px;
|
| 837 |
+
}
|
| 838 |
+
}
|
| 839 |
+
}
|
| 840 |
+
|
| 841 |
+
// Medium screens breakpoint (1050px)
|
| 842 |
+
@media only screen and (min-width: 65.625em) {
|
| 843 |
+
.main {
|
| 844 |
+
&__cards {
|
| 845 |
+
column-count: 2;
|
| 846 |
+
}
|
| 847 |
+
}
|
| 848 |
+
|
| 849 |
+
.main-header {
|
| 850 |
+
&__intro-wrapper {
|
| 851 |
+
flex-direction: row;
|
| 852 |
+
}
|
| 853 |
+
|
| 854 |
+
&__welcome {
|
| 855 |
+
align-items: flex-start;
|
| 856 |
+
}
|
| 857 |
+
}
|
| 858 |
+
}
|