diff --git a/css/main.css b/css/main.css
index ee3b56d..52b284e 100644
--- a/css/main.css
+++ b/css/main.css
@@ -465,16 +465,14 @@ ul {
}
.floor__button {
- position: relative;
- padding: 0.5rem 1rem;
+ padding: 0.5rem 0;
flex-direction: column;
text-align: left;
align-items: flex-start;
- justify-self: flex-start;
border-radius: 0.2rem;
font-size: 1.5rem;
font-weight: 900;
- background: rgba(var(--text-color), 0.06);
+ background: rgba(var(--foreground-color), 1);
}
.floor__button--active {
background: rgba(var(--text-color), 0.2);
@@ -872,13 +870,10 @@ sm-carousel {
}
scroll-tab-header {
- position: sticky;
- top: 0;
--padding: 0.5rem 0;
--border-radius: 0.3rem;
- --background: var(--background-color);
+ --background: transparent;
--grid-auto-flow: column;
- z-index: 1;
}
scroll-tab-panels {
@@ -886,8 +881,8 @@ scroll-tab-panels {
}
scroll-tab-panels > * {
opacity: 0.4;
- padding-top: 4rem;
- min-height: 100vh;
+ flex-shrink: 0;
+ min-width: 100%;
transition: opacity 0.6s;
}
scroll-tab-panels > [active] {
@@ -903,15 +898,52 @@ scroll-tab-panels > [active] {
grid-template-columns: auto 1fr;
}
+.rooms__header {
+ position: sticky;
+ top: 0;
+ z-index: 1;
+ display: flex;
+ align-items: center;
+ margin-bottom: 1.5rem;
+ background: var(--background-color);
+ box-shadow: 0 1rem 1rem -1rem rgba(0, 0, 0, 0.2);
+}
+
+.room__label {
+ position: relative;
+ display: flex;
+ align-items: center;
+ font-weight: 500;
+ margin-right: 0.5rem;
+ padding-right: 1.5rem;
+}
+.room__label::after {
+ content: "";
+ position: absolute;
+ height: 150%;
+ width: 0.1rem;
+ right: 0;
+ background-color: rgba(var(--text-color), 0.5);
+}
+
.room-button {
position: relative;
opacity: 0.6;
+ flex-shrink: 0;
border-radius: 0;
font-weight: 500;
font-size: 1.1rem;
transition: opacity 0.3s, background-color 0.3s;
padding: 0.6rem 0.8rem;
}
+.room-button:not(:last-of-type)::after {
+ content: "";
+ height: 0.1rem;
+ width: 4rem;
+ margin-left: 1rem;
+ align-self: center;
+ background: var(--accent-color);
+}
.room-button[active] {
opacity: 1;
color: var(--accent-color);
@@ -919,16 +951,6 @@ scroll-tab-panels > [active] {
.room-button[active] .icon {
fill: var(--accent-color);
}
-.room-button[active]::after {
- content: "";
- position: absolute;
- height: 0.1rem;
- width: 100%;
- bottom: 0;
- left: 0;
- border-radius: 0.2rem 0.2rem 0 0;
- background: var(--accent-color);
-}
table {
border-collapse: collapse;
@@ -1162,6 +1184,6 @@ table {
}
.floor__button:hover {
- background: rgba(var(--text-color), 0.2);
+ background: var(--background-color);
}
}
\ No newline at end of file
diff --git a/css/main.min.css b/css/main.min.css
index 2082ed7..0331cc3 100644
--- a/css/main.min.css
+++ b/css/main.min.css
@@ -1 +1 @@
-.floor__header,body{background:var(--background-color)}a,button{color:inherit}.pos-relative,button{position:relative}.floor-title,.overflow-ellipsis,.td{white-space:nowrap}.hide,.ripple{pointer-events:none}.interact,.theme-switcher,button{cursor:pointer;-webkit-tap-highlight-color:transparent}*{padding:0;margin:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Roboto Slab",serif}.button__icon--left,.margin-right-0-5{margin-right:.5rem}body{--accent-color:#e72c45;--light-shade:rgba(var(--text-color), 0.06);--text-color:17,17,17;--text-color-light:100,100,100;--foreground-color:255,255,255;--background-color:#F6f6f6;--error-color:red;color:rgba(var(--text-color),1);height:calc(100%);font-size:clamp(1rem,1.2vmax,3rem)}body[data-theme=dark]{--accent-color:#ff3949;--text-color:240,240,240;--text-color-light:170,170,170;--foreground-color:20,20,20;--background-color:#0a0a0a;--error-color:rgb(255, 106, 106)}body[data-theme=dark] #outlet_switcher{background:linear-gradient(rgba(var(--text-color),.06),rgba(var(--text-color),.06)),rgba(var(--foreground-color),1)}body[data-theme=dark] .outlet__title{font-weight:800}.full-bleed{grid-column:1/4}.h1{font-size:2.5rem}.h2{font-size:2rem}.h3{font-size:1.4rem}.h4{font-size:1rem}.h5{font-size:.8rem}.uppercase{text-transform:uppercase}.capitalize,.outlet__title{text-transform:capitalize}p{max-width:60ch;line-height:1.7}img{object-fit:cover}a{text-decoration:none}a:focus-visible{box-shadow:0 0 0 .1rem rgba(var(--text-color),1) inset}button{overflow:hidden;display:inline-flex;align-items:center;border:none;background:0 0;outline:0;font-weight:500}.button--primary,.outlet-number{color:rgba(var(--foreground-color),1)}.button{border-radius:.2rem;padding:.5rem .6rem}.button--primary{background:var(--accent-color)}.button--primary .icon{fill:rgba(var(--foreground-color),1)}button:focus-visible{outline:solid rgba(var(--text-color),1)}sm-input,sm-textarea{--border-radius:0.2rem;--background:rgba(var(--text-color), 0.06)}sm-button{--border-radius:0.2rem}sm-tab-header{align-self:flex-start}ul{list-style:none}.flex{display:flex}.grid{display:grid}.grid-3{grid-template-columns:repeat(auto-fill,minmax(8rem,1fr))}.flow-column{grid-auto-flow:column}.gap-0-5{gap:.5rem}.gap-1{gap:1rem}.gap-1-5{gap:1.5rem}.gap-2{gap:2rem}.gap-3{gap:3rem}.elevator__header,.popup__header{gap:.5rem;grid-template-columns:auto 1fr}.align-start{align-items:flex-start}.align-center,.popup__header{align-items:center}.text-center{text-align:center}.justify-start{justify-content:start}.justify-center{justify-content:center}.justify-right{margin-left:auto}.button__icon--right,.margin-left-0-5{margin-left:.5rem}.align-self-center{align-self:center}.justify-self-center{justify-self:center}.justify-self-start{justify-self:start}.direction-column{flex-direction:column}.space-between{justify-content:space-between}.w-100{width:100%}.margin-top-1-5{margin-top:1.5rem}.margin-bottom-0-5r{margin-bottom:.5rem}.margin-bottom-1r{margin-bottom:1rem}.margin-bottom-1-5r{margin-bottom:1.5rem}.margin-bottom-2r{margin-bottom:2rem}.margin-bottom-3r{margin-bottom:3rem}.margin-bottom-4r{margin-bottom:4rem}.hide{opacity:0}.hide-completely{display:none!important}.no-transformations{transform:none!important}.overflow-ellipsis{width:100%;overflow:hidden;text-overflow:ellipsis}.ripple{position:absolute;border-radius:50%;transform:scale(0);background:rgba(var(--text-color),.16)}.interact{position:relative;overflow:hidden}.observe-empty-state:empty{display:none}.observe-empty-state:not(:empty)~.empty-state{display:none}.icon{width:1.5rem;height:1.5rem;fill:rgba(var(--text-color),.9)}.icon-only{height:2.6rem;width:2.6rem;padding:.6rem}.close-icon{padding:.3rem}.close-button{left:-.5rem}.button__label{font-size:1rem}.button__icon{height:1.1rem;width:1.1rem}.color-0-9{color:rgba(var(--text-color),.9)}.color-0-8{color:rgba(var(--text-color),.8)}.color-0-7{color:rgba(var(--text-color),.7)}.weight-400{font-weight:400}.weight-500{font-weight:500}.weight-700{font-weight:700}.weight-900{font-weight:900}.popup__header{padding:.5rem 1.5rem 0 1rem;display:grid;width:100%}.elevator__header,.floor-label,.outlet-preview,.outlet_switcher__button{align-items:center}#elevator_popup{position:absolute;width:100%;height:100%;top:0;left:0;right:0;bottom:0;z-index:15;grid-template-rows:auto 1fr;background:rgba(var(--foreground-color),1)}.elevator__header,.floor_list__header{position:sticky;top:0;background:rgba(var(--foreground-color),1)}.elevator__header{padding:1.2rem 1.5rem;display:grid;justify-content:flex-start;width:100%;z-index:1}#floor_list{align-content:flex-start;padding:0 1.5rem 4rem;gap:2rem;overflow-y:auto;transform-origin:top}.floor_list__item{display:grid;gap:1.5rem;transform-origin:top}.floor_list__item:last-of-type{padding-bottom:25vh}.floor_list__header{padding-bottom:.5rem;z-index:1}.outlet-list{gap:2rem;padding:0 0 1rem 2rem;border-left:.15rem solid var(--accent-color);counter-reset:outlet-counter}.outlet-list__item{display:grid;user-select:none;width:min(50ch,100%);counter-increment:outlet-counter}.outlet-list__item .outlet-title::before{content:counter(outlet-counter) ". "}.outlet-title{font-size:1.2rem;font-weight:700;margin-bottom:.5rem}.outlet-brief{color:rgba(var(--text-color),.8)}.popup__header__close{padding:.5rem;cursor:pointer}.floor__button{position:relative;padding:.5rem 1rem;flex-direction:column;text-align:left;align-items:flex-start;justify-self:flex-start;border-radius:.2rem;font-size:1.5rem;font-weight:900;background:rgba(var(--text-color),.06)}.floor__button--active{background:rgba(var(--text-color),.2);box-shadow:0 0 0 .4rem rgba(var(--text-color),1) inset}.floor-name{margin-top:.2rem;font-size:.8rem}.elevator__floor-line{flex:1;height:.1rem;margin-left:2rem;background-color:var(--accent-color)}#main_header{position:relative;padding:1rem;grid-template-columns:repeat(3,1fr)}#elevator_button{justify-self:flex-start;margin-left:-1rem}#elevator_button .icon{width:1.7rem;height:1.7rem}#main_header__logo{height:1.8rem;width:1.8rem}.theme-switcher{position:relative;justify-self:flex-end;width:1.5rem;height:1.5rem}.theme-switcher .icon{position:absolute;transition:transform .6s}.theme-switcher__checkbox{display:none}.theme-switcher__checkbox:checked~.moon-icon{transform:scale(0) rotate(90deg)}.theme-switcher__checkbox:not(:checked)~.sun-icon{transform:scale(0) rotate(-90deg)}.page{position:relative;display:grid;grid-template-columns:1rem 1fr 1rem}#floor_line_map,#home_page{grid-template-columns:2rem 1fr}.page>*{grid-column:2/3}.tag{background:var(--accent-color);padding:.4rem .6rem}#home_page{will-change:scroll-position;overflow-y:auto;max-height:calc(100vh - 5.2rem);scroll-behavior:smooth}#floor_line_map{position:sticky;top:1rem;height:40vh;z-index:10;grid-column:1/2}.line-map{height:100%}.line-map__circle{position:absolute;border-radius:1rem;width:1rem;height:1rem;margin-top:-.7rem;background:rgba(var(--foreground-color),1);border:.2rem solid var(--accent-color);transition:transform .1s linear;z-index:5}.line-map__bar{width:.1rem;height:100%;border-radius:1rem;background:var(--accent-color)}.floor-label{position:absolute;display:flex;left:.2rem;margin-top:-1rem;user-select:none;transition:transform .3s}.outlet-number,.outlet-preview{display:grid;position:relative}.floor-circle{position:relative;border-radius:1rem;padding:.8rem}.floor-circle::after{content:"";position:absolute;padding:.3rem;top:50%;left:50%;transform:translate(-50%,-50%);background:rgba(var(--text-color),1);border-radius:1rem}.floor-title{opacity:.5;font-size:.9rem;padding:.4rem .6rem;margin-left:1rem;border-radius:.2rem;background:rgba(var(--foreground-color),1);transition:box-shadow .3s,opacity .3s}#floor_container{width:calc(100% - 1rem)}.floor{padding-bottom:3rem;width:100%}.floor__header{position:sticky;top:0;transform:translateY(-.1rem);z-index:8;padding:.5rem 0}.floor__header::before{content:"";position:absolute;left:-1%;width:1%;height:100%;background:var(--background-color)}.floor__header::after{content:"";position:absolute;right:-1%;width:1%;height:100%;background:var(--background-color)}.big-icon,.outlet-number{width:2rem;height:2rem}.outlets-container{margin:1.5rem 0;gap:1.5rem}.outlet-number{aspect-ratio:1/1;font-size:1.3rem;font-weight:900;margin-bottom:.5rem;border-radius:.2rem;place-content:center;justify-self:flex-start;background:rgba(var(--text-color),1);box-shadow:.2rem .2rem 0 var(--accent-color)}.outlet-preview__info{position:relative;padding:1rem;border-radius:.5rem}.outlet__title{font-weight:900;font-size:1.8rem;margin-bottom:.8rem}.outlet__description{color:rgba(var(--text-color),.8)}.outlet-preview__border{position:absolute;height:100%;width:100%;z-index:-1;border-radius:.5rem;background:var(--background-color);box-shadow:0 0 0 1px rgba(var(--text-color),.2) inset,0 2rem 3rem -2rem rgba(0,0,0,.1)}.outlet-preview__button{justify-self:flex-start;border-radius:.2rem;padding:.3rem 1rem;color:#fff;background-color:var(--accent-color)}#outlet_switcher,sm-carousel{background:rgba(var(--foreground-color),1)}.label{position:relative;font-size:.8rem;margin-bottom:.3rem}.value{font-size:1.3rem}#bit_bond_series__container{background:url(../assets/bg/bitbonds-bg.png) bottom right no-repeat,rgba(var(--foreground-color),1);background-size:60%}#bob_fund_investors__container{background:url(../assets/bg/bobsfund-bg.png) bottom left no-repeat,rgba(var(--foreground-color),1);background-size:60%}#ico_investors__container{background:url(../assets/bg/ico-bg.png) top right no-repeat,rgba(var(--foreground-color),1);background-size:60%}sm-carousel{position:relative;height:100%;border-radius:.5rem;padding:1.5rem 1.5rem 4rem;--arrow-left:1.5rem;--arrow-right:1.5rem;--arrow-fill:rgba(var(--text-color), 1);--arrow-background:transparent;--arrow-box-shadow:none;--arrow-bottom:-3.5rem;--indicator-bottom:-2.5rem;--active-indicator-color:var(--accent-color)}.bit-bond-series__row,.bob-fund__row,.investor-card{min-width:100%}.investor-card{align-items:flex-start;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr}.investor-card--small{grid-template-areas:"img ." "para para"}.investor-card--small .investor__image{width:4rem;height:4rem;border-radius:50%}.investor-card--big{grid-template-areas:"img ." "img para"}.investor__image{grid-area:img;width:5rem;border-radius:.5rem}.investor__bio{font-size:.9rem;margin-top:.5rem}.investor__contribution-container{grid-area:para}#outlet_switcher{position:absolute;top:0;padding:1rem;border-radius:.3rem;box-shadow:0 2rem 4rem -1rem rgba(0,0,0,.2);z-index:2}.outlet_switcher__floor{overflow-x:auto}.outlet_switcher__button{display:flex;font-size:1rem;padding:.4rem 0;flex-shrink:0;font-weight:500}.outlet_switcher__button--active{color:var(--accent-color)!important}.outlet_switcher__button:not(:last-of-type)::after{content:"";position:relative;width:4vw;height:.1rem;margin:0 .5rem;background:var(--accent-color)}.outlet-label{display:flex;align-items:center;justify-self:flex-start;color:var(--accent-color);margin-bottom:.5rem;font-size:1rem}.outlet-label .icon{fill:var(--accent-color);margin-right:.5rem}scroll-tab-header{position:sticky;top:0;--padding:0.5rem 0;--border-radius:0.3rem;--background:var(--background-color);--grid-auto-flow:column;z-index:1}scroll-tab-panels{--background:transparent}scroll-tab-panels>*{opacity:.4;padding-top:4rem;min-height:100vh;transition:opacity .6s}.room-button,.td{padding:.6rem .8rem}scroll-tab-panels>[active]{opacity:1}.auto-grid-layout{justify-content:flex-start;overflow-x:auto}.grid-2{grid-template-columns:auto 1fr}.room-button{position:relative;opacity:.6;border-radius:0;font-weight:500;font-size:1.1rem;transition:opacity .3s,background-color .3s}.room-button[active]{opacity:1;color:var(--accent-color)}.room-button[active] .icon{fill:var(--accent-color)}.room-button[active]::after{content:"";position:absolute;height:.1rem;width:100%;bottom:0;left:0;border-radius:.2rem .2rem 0 0;background:var(--accent-color)}table{border-collapse:collapse;width:max-content}.tr{margin:.5rem}.tr:nth-of-type(even){background:rgba(var(--text-color),.1)}#ico_page__carousel{width:min(36rem,100%);height:max-content}.phase{grid-template-columns:4rem 1fr}.phase:not(:last-of-type) .phase__description{padding-bottom:1.5rem}.phase:last-of-type .progress-bar__line{height:0}.progress-bar__circle,.progress-bar__line{position:absolute;margin-top:1rem;left:50%;transform:translateX(-50%)}.progress-bar__circle{padding:.4rem;background:rgba(var(--foreground-color),1);border:rgba(var(--text-color),1) solid;border-radius:50%;z-index:1}.progress-bar__line{height:100%;width:.1rem;background:rgba(var(--text-color),.9)}.phase__date{margin-top:.3rem}.phase__description{margin-top:1rem}@media only screen and (max-width:640px){.hide-on-mobile{display:none}#outlet_switcher{width:calc(100% - 2rem)}.outlet-hero-section{margin-top:2rem}}@media only screen and (min-width:640px){.page{grid-template-columns:1fr 90vw 1fr}.h1{font-size:4rem}.h2{font-size:2.5rem}.h3{font-size:1.5rem}.h4{font-size:1.1rem}#main_header{padding:1.2rem 2rem}#floor_list{padding:0 3rem 4rem 4.6rem}#home_page{grid-template-columns:1fr 80vw 1fr}.floor__header::before{left:-10%;width:10%}.floor__header::after{right:-10%;width:10%}.outlets-container{gap:5rem}.outlet-preview{gap:1rem;grid-template-columns:repeat(2,1fr)}.outlet-preview:nth-of-type(even) .outlet-preview__info{grid-column:2/3}.outlet-preview:nth-of-type(even) .outlet-preview__border{right:0}.carousel-holder{align-self:flex-start;transform:translateY(-2rem);z-index:1;border-radius:.5rem}.carousel-holder--left{grid-row:1/2;grid-column:1/2;box-shadow:1px .1rem .1rem rgba(0,0,0,.06),-2rem 5rem 4rem -2rem rgba(0,0,0,.2)}.carousel-holder--left~.outlet-preview__border{justify-self:flex-end}.carousel-holder--right{box-shadow:1px .1rem .1rem rgba(0,0,0,.06),2rem 5rem 4rem -2rem rgba(0,0,0,.2)}.outlet-preview__border{width:66%}.outlet-preview__info{padding:2rem}.outlet-preview__carousel{padding:2rem 2rem 5rem}#outlet_switcher{padding:1rem 1.5rem}.outlet-hero-section{margin-top:4rem}.auto-grid-layout{grid-template-columns:auto 1fr}.investor__image{width:8rem}}@media only screen and (min-width:1280px){.page{grid-template-columns:1fr 80vw 1fr}.grid-3{justify-content:center}.grid-3>.grid{width:100%}}@media only screen and (min-width:1920px){#home_page,.page{grid-template-columns:1fr 60vw 1fr}}@media (any-hover:hover){::-webkit-scrollbar{width:.5rem;height:.5rem}::-webkit-scrollbar-thumb{background:rgba(var(--text-color),.3);border-radius:1rem}::-webkit-scrollbar-thumb:hover{background:rgba(var(--text-color),.5)}.page-link{cursor:pointer;transition:color .3s}.page-link:hover{color:var(--accent-color)}.page-link:hover .icon{fill:var(--accent-color)}.floor__button:hover{background:rgba(var(--text-color),.2)}}
\ No newline at end of file
+.floor__header,body{background:var(--background-color)}a,button{color:inherit}.interact,.theme-switcher,button{cursor:pointer;-webkit-tap-highlight-color:transparent}.hide,.ripple{pointer-events:none}.pos-relative,button{position:relative}.floor-title,.overflow-ellipsis,.td{white-space:nowrap}*{padding:0;margin:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Roboto Slab",serif}.button__icon--left,.margin-right-0-5{margin-right:.5rem}body{--accent-color:#e72c45;--light-shade:rgba(var(--text-color), 0.06);--text-color:17,17,17;--text-color-light:100,100,100;--foreground-color:255,255,255;--background-color:#F6f6f6;--error-color:red;color:rgba(var(--text-color),1);height:calc(100%);font-size:clamp(1rem,1.2vmax,3rem)}body[data-theme=dark]{--accent-color:#ff3949;--text-color:240,240,240;--text-color-light:170,170,170;--foreground-color:20,20,20;--background-color:#0a0a0a;--error-color:rgb(255, 106, 106)}body[data-theme=dark] #outlet_switcher{background:linear-gradient(rgba(var(--text-color),.06),rgba(var(--text-color),.06)),rgba(var(--foreground-color),1)}body[data-theme=dark] .outlet__title{font-weight:800}.full-bleed{grid-column:1/4}.h1{font-size:2.5rem}.h2{font-size:2rem}.h3{font-size:1.4rem}.h4{font-size:1rem}.h5{font-size:.8rem}.uppercase{text-transform:uppercase}.capitalize,.outlet__title{text-transform:capitalize}p{max-width:60ch;line-height:1.7}img{object-fit:cover}a{text-decoration:none}a:focus-visible{box-shadow:0 0 0 .1rem rgba(var(--text-color),1) inset}button{overflow:hidden;display:inline-flex;align-items:center;border:none;background:0 0;outline:0;font-weight:500}.button--primary,.outlet-number{color:rgba(var(--foreground-color),1)}.button{border-radius:.2rem;padding:.5rem .6rem}.button--primary{background:var(--accent-color)}.button--primary .icon{fill:rgba(var(--foreground-color),1)}button:focus-visible{outline:solid rgba(var(--text-color),1)}sm-input,sm-textarea{--border-radius:0.2rem;--background:rgba(var(--text-color), 0.06)}sm-button{--border-radius:0.2rem}sm-tab-header{align-self:flex-start}ul{list-style:none}.flex{display:flex}.grid{display:grid}.grid-3{grid-template-columns:repeat(auto-fill,minmax(8rem,1fr))}.flow-column{grid-auto-flow:column}.gap-0-5{gap:.5rem}.gap-1{gap:1rem}.gap-1-5{gap:1.5rem}.gap-2{gap:2rem}.gap-3{gap:3rem}.elevator__header,.popup__header{gap:.5rem;grid-template-columns:auto 1fr}.align-start{align-items:flex-start}.align-center,.popup__header{align-items:center}.text-center{text-align:center}.justify-start{justify-content:start}.justify-center{justify-content:center}.justify-right{margin-left:auto}.button__icon--right,.margin-left-0-5{margin-left:.5rem}.align-self-center{align-self:center}.justify-self-center{justify-self:center}.justify-self-start{justify-self:start}.direction-column{flex-direction:column}.space-between{justify-content:space-between}.w-100{width:100%}.margin-top-1-5{margin-top:1.5rem}.margin-bottom-0-5r{margin-bottom:.5rem}.margin-bottom-1r{margin-bottom:1rem}.margin-bottom-1-5r{margin-bottom:1.5rem}.margin-bottom-2r{margin-bottom:2rem}.margin-bottom-3r{margin-bottom:3rem}.margin-bottom-4r{margin-bottom:4rem}.hide{opacity:0}.hide-completely{display:none!important}.no-transformations{transform:none!important}.overflow-ellipsis{width:100%;overflow:hidden;text-overflow:ellipsis}.ripple{position:absolute;border-radius:50%;transform:scale(0);background:rgba(var(--text-color),.16)}.interact{position:relative;overflow:hidden}.observe-empty-state:empty{display:none}.observe-empty-state:not(:empty)~.empty-state{display:none}.icon{width:1.5rem;height:1.5rem;fill:rgba(var(--text-color),.9)}.icon-only{height:2.6rem;width:2.6rem;padding:.6rem}.close-icon{padding:.3rem}.close-button{left:-.5rem}.button__label{font-size:1rem}.button__icon{height:1.1rem;width:1.1rem}.color-0-9{color:rgba(var(--text-color),.9)}.color-0-8{color:rgba(var(--text-color),.8)}.color-0-7{color:rgba(var(--text-color),.7)}.weight-400{font-weight:400}.weight-500{font-weight:500}.weight-700{font-weight:700}.weight-900{font-weight:900}.popup__header{padding:.5rem 1.5rem 0 1rem;display:grid;width:100%}.elevator__header,.floor-label,.outlet-preview,.outlet_switcher__button{align-items:center}#elevator_popup{position:absolute;width:100%;height:100%;top:0;left:0;right:0;bottom:0;z-index:15;grid-template-rows:auto 1fr;background:rgba(var(--foreground-color),1)}.elevator__header,.floor_list__header{position:sticky;z-index:1;background:rgba(var(--foreground-color),1)}.elevator__header{top:0;padding:1.2rem 1.5rem;display:grid;justify-content:flex-start;width:100%}#floor_list{align-content:flex-start;padding:0 1.5rem 4rem;gap:2rem;overflow-y:auto;transform-origin:top}.floor_list__item{display:grid;gap:1.5rem;transform-origin:top}.floor_list__item:last-of-type{padding-bottom:25vh}.floor_list__header{top:0;padding-bottom:.5rem}.outlet-list{gap:2rem;padding:0 0 1rem 2rem;border-left:.15rem solid var(--accent-color);counter-reset:outlet-counter}.outlet-list__item{display:grid;user-select:none;width:min(50ch,100%);counter-increment:outlet-counter}.outlet-list__item .outlet-title::before{content:counter(outlet-counter) ". "}.outlet-title{font-size:1.2rem;font-weight:700;margin-bottom:.5rem}.outlet-brief{color:rgba(var(--text-color),.8)}.popup__header__close{padding:.5rem;cursor:pointer}.floor__button{padding:.5rem 0;flex-direction:column;text-align:left;align-items:flex-start;border-radius:.2rem;font-size:1.5rem;font-weight:900;background:rgba(var(--foreground-color),1)}.floor__button--active{background:rgba(var(--text-color),.2);box-shadow:0 0 0 .4rem rgba(var(--text-color),1) inset}.floor-name{margin-top:.2rem;font-size:.8rem}.elevator__floor-line{flex:1;height:.1rem;margin-left:2rem;background-color:var(--accent-color)}#main_header{position:relative;padding:1rem;grid-template-columns:repeat(3,1fr)}#elevator_button{justify-self:flex-start;margin-left:-1rem}#elevator_button .icon{width:1.7rem;height:1.7rem}#main_header__logo{height:1.8rem;width:1.8rem}.theme-switcher{position:relative;justify-self:flex-end;width:1.5rem;height:1.5rem}.theme-switcher .icon{position:absolute;transition:transform .6s}.theme-switcher__checkbox{display:none}.theme-switcher__checkbox:checked~.moon-icon{transform:scale(0) rotate(90deg)}.theme-switcher__checkbox:not(:checked)~.sun-icon{transform:scale(0) rotate(-90deg)}.page{position:relative;display:grid;grid-template-columns:1rem 1fr 1rem}#floor_line_map,#home_page{grid-template-columns:2rem 1fr}.page>*{grid-column:2/3}.tag{background:var(--accent-color);padding:.4rem .6rem}#home_page{will-change:scroll-position;overflow-y:auto;max-height:calc(100vh - 5.2rem);scroll-behavior:smooth}#floor_line_map{position:sticky;top:1rem;height:40vh;z-index:10;grid-column:1/2}.line-map{height:100%}.line-map__circle{position:absolute;border-radius:1rem;width:1rem;height:1rem;margin-top:-.7rem;background:rgba(var(--foreground-color),1);border:.2rem solid var(--accent-color);transition:transform .1s linear;z-index:5}.line-map__bar{width:.1rem;height:100%;border-radius:1rem;background:var(--accent-color)}.floor-label{position:absolute;display:flex;left:.2rem;margin-top:-1rem;user-select:none;transition:transform .3s}.outlet-number,.outlet-preview{display:grid;position:relative}.floor-circle{position:relative;border-radius:1rem;padding:.8rem}.floor-circle::after{content:"";position:absolute;padding:.3rem;top:50%;left:50%;transform:translate(-50%,-50%);background:rgba(var(--text-color),1);border-radius:1rem}.floor-title{opacity:.5;font-size:.9rem;padding:.4rem .6rem;margin-left:1rem;border-radius:.2rem;background:rgba(var(--foreground-color),1);transition:box-shadow .3s,opacity .3s}#floor_container{width:calc(100% - 1rem)}.floor{padding-bottom:3rem;width:100%}.floor__header{position:sticky;top:0;transform:translateY(-.1rem);z-index:8;padding:.5rem 0}.floor__header::before{content:"";position:absolute;left:-1%;width:1%;height:100%;background:var(--background-color)}.floor__header::after{content:"";position:absolute;right:-1%;width:1%;height:100%;background:var(--background-color)}.big-icon,.outlet-number{width:2rem;height:2rem}.outlets-container{margin:1.5rem 0;gap:1.5rem}.outlet-number{aspect-ratio:1/1;font-size:1.3rem;font-weight:900;margin-bottom:.5rem;border-radius:.2rem;place-content:center;justify-self:flex-start;background:rgba(var(--text-color),1);box-shadow:.2rem .2rem 0 var(--accent-color)}.outlet-preview__info{position:relative;padding:1rem;border-radius:.5rem}.outlet__title{font-weight:900;font-size:1.8rem;margin-bottom:.8rem}.outlet__description{color:rgba(var(--text-color),.8)}.outlet-preview__border{position:absolute;height:100%;width:100%;z-index:-1;border-radius:.5rem;background:var(--background-color);box-shadow:0 0 0 1px rgba(var(--text-color),.2) inset,0 2rem 3rem -2rem rgba(0,0,0,.1)}.outlet-preview__button{justify-self:flex-start;border-radius:.2rem;padding:.3rem 1rem;color:#fff;background-color:var(--accent-color)}#outlet_switcher,sm-carousel{background:rgba(var(--foreground-color),1)}.label{position:relative;font-size:.8rem;margin-bottom:.3rem}.value{font-size:1.3rem}#bit_bond_series__container{background:url(../assets/bg/bitbonds-bg.png) bottom right no-repeat,rgba(var(--foreground-color),1);background-size:60%}#bob_fund_investors__container{background:url(../assets/bg/bobsfund-bg.png) bottom left no-repeat,rgba(var(--foreground-color),1);background-size:60%}#ico_investors__container{background:url(../assets/bg/ico-bg.png) top right no-repeat,rgba(var(--foreground-color),1);background-size:60%}sm-carousel{position:relative;height:100%;border-radius:.5rem;padding:1.5rem 1.5rem 4rem;--arrow-left:1.5rem;--arrow-right:1.5rem;--arrow-fill:rgba(var(--text-color), 1);--arrow-background:transparent;--arrow-box-shadow:none;--arrow-bottom:-3.5rem;--indicator-bottom:-2.5rem;--active-indicator-color:var(--accent-color)}.bit-bond-series__row,.bob-fund__row,.investor-card{min-width:100%}.investor-card{align-items:flex-start;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr}.investor-card--small{grid-template-areas:"img ." "para para"}.investor-card--small .investor__image{width:4rem;height:4rem;border-radius:50%}.investor-card--big{grid-template-areas:"img ." "img para"}.investor__image{grid-area:img;width:5rem;border-radius:.5rem}.investor__bio{font-size:.9rem;margin-top:.5rem}.investor__contribution-container{grid-area:para}#outlet_switcher{position:absolute;top:0;padding:1rem;border-radius:.3rem;box-shadow:0 2rem 4rem -1rem rgba(0,0,0,.2);z-index:2}.outlet_switcher__floor{overflow-x:auto}.outlet_switcher__button{display:flex;font-size:1rem;padding:.4rem 0;flex-shrink:0;font-weight:500}.outlet-label,.rooms__header{align-items:center;display:flex}.outlet_switcher__button--active{color:var(--accent-color)!important}.outlet_switcher__button:not(:last-of-type)::after{content:"";position:relative;width:4vw;height:.1rem;margin:0 .5rem;background:var(--accent-color)}.outlet-label{justify-self:flex-start;color:var(--accent-color);margin-bottom:.5rem;font-size:1rem}.outlet-label .icon{fill:var(--accent-color);margin-right:.5rem}scroll-tab-header{--padding:0.5rem 0;--border-radius:0.3rem;--background:transparent;--grid-auto-flow:column}scroll-tab-panels{--background:transparent}scroll-tab-panels>*{opacity:.4;flex-shrink:0;min-width:100%;transition:opacity .6s}scroll-tab-panels>[active]{opacity:1}.auto-grid-layout{justify-content:flex-start;overflow-x:auto}.grid-2{grid-template-columns:auto 1fr}.rooms__header{position:sticky;top:0;z-index:1;margin-bottom:1.5rem;background:var(--background-color);box-shadow:0 1rem 1rem -1rem rgba(0,0,0,.2)}.room__label{position:relative;display:flex;align-items:center;font-weight:500;margin-right:.5rem;padding-right:1.5rem}.room-button,.td{padding:.6rem .8rem}.room__label::after{content:"";position:absolute;height:150%;width:.1rem;right:0;background-color:rgba(var(--text-color),.5)}.room-button{position:relative;opacity:.6;flex-shrink:0;border-radius:0;font-weight:500;font-size:1.1rem;transition:opacity .3s,background-color .3s}.room-button:not(:last-of-type)::after{content:"";height:.1rem;width:4rem;margin-left:1rem;align-self:center;background:var(--accent-color)}.room-button[active]{opacity:1;color:var(--accent-color)}.room-button[active] .icon{fill:var(--accent-color)}table{border-collapse:collapse;width:max-content}.tr{margin:.5rem}.tr:nth-of-type(even){background:rgba(var(--text-color),.1)}#ico_page__carousel{width:min(36rem,100%);height:max-content}.phase{grid-template-columns:4rem 1fr}.phase:not(:last-of-type) .phase__description{padding-bottom:1.5rem}.phase:last-of-type .progress-bar__line{height:0}.progress-bar__circle,.progress-bar__line{position:absolute;margin-top:1rem;left:50%;transform:translateX(-50%)}.progress-bar__circle{padding:.4rem;background:rgba(var(--foreground-color),1);border:rgba(var(--text-color),1) solid;border-radius:50%;z-index:1}.progress-bar__line{height:100%;width:.1rem;background:rgba(var(--text-color),.9)}.phase__date{margin-top:.3rem}.phase__description{margin-top:1rem}@media only screen and (max-width:640px){.hide-on-mobile{display:none}#outlet_switcher{width:calc(100% - 2rem)}.outlet-hero-section{margin-top:2rem}}@media only screen and (min-width:640px){.page{grid-template-columns:1fr 90vw 1fr}.h1{font-size:4rem}.h2{font-size:2.5rem}.h3{font-size:1.5rem}.h4{font-size:1.1rem}#main_header{padding:1.2rem 2rem}#floor_list{padding:0 3rem 4rem 4.6rem}#home_page{grid-template-columns:1fr 80vw 1fr}.floor__header::before{left:-10%;width:10%}.floor__header::after{right:-10%;width:10%}.outlets-container{gap:5rem}.outlet-preview{gap:1rem;grid-template-columns:repeat(2,1fr)}.outlet-preview:nth-of-type(even) .outlet-preview__info{grid-column:2/3}.outlet-preview:nth-of-type(even) .outlet-preview__border{right:0}.carousel-holder{align-self:flex-start;transform:translateY(-2rem);z-index:1;border-radius:.5rem}.carousel-holder--left{grid-row:1/2;grid-column:1/2;box-shadow:1px .1rem .1rem rgba(0,0,0,.06),-2rem 5rem 4rem -2rem rgba(0,0,0,.2)}.carousel-holder--left~.outlet-preview__border{justify-self:flex-end}.carousel-holder--right{box-shadow:1px .1rem .1rem rgba(0,0,0,.06),2rem 5rem 4rem -2rem rgba(0,0,0,.2)}.outlet-preview__border{width:66%}.outlet-preview__info{padding:2rem}.outlet-preview__carousel{padding:2rem 2rem 5rem}#outlet_switcher{padding:1rem 1.5rem}.outlet-hero-section{margin-top:4rem}.auto-grid-layout{grid-template-columns:auto 1fr}.investor__image{width:8rem}}@media only screen and (min-width:1280px){.page{grid-template-columns:1fr 80vw 1fr}.grid-3{justify-content:center}.grid-3>.grid{width:100%}}@media only screen and (min-width:1920px){#home_page,.page{grid-template-columns:1fr 60vw 1fr}}@media (any-hover:hover){::-webkit-scrollbar{width:.5rem;height:.5rem}::-webkit-scrollbar-thumb{background:rgba(var(--text-color),.3);border-radius:1rem}::-webkit-scrollbar-thumb:hover{background:rgba(var(--text-color),.5)}.page-link{cursor:pointer;transition:color .3s}.page-link:hover{color:var(--accent-color)}.page-link:hover .icon{fill:var(--accent-color)}.floor__button:hover{background:var(--background-color)}}
\ No newline at end of file
diff --git a/css/main.scss b/css/main.scss
index 6da09af..8a57342 100644
--- a/css/main.scss
+++ b/css/main.scss
@@ -396,16 +396,14 @@ ul{
.floor__button{
- position: relative;
- padding: 0.5rem 1rem;
+ padding: 0.5rem 0;
flex-direction: column;
text-align: left;
align-items: flex-start;
- justify-self: flex-start;
border-radius: 0.2rem;
font-size: 1.5rem;
font-weight: 900;
- background: rgba(var(--text-color), 0.06);
+ background: rgba(var(--foreground-color), 1);
&--active{
background: rgba(var(--text-color), 0.2);
box-shadow: 0 0 0 0.4rem rgba(var(--text-color), 1) inset;
@@ -780,20 +778,17 @@ sm-carousel{
}
scroll-tab-header{
- position: sticky;
- top: 0;
--padding: 0.5rem 0;
--border-radius: 0.3rem;
- --background: var(--background-color);
+ --background: transparent;
--grid-auto-flow: column;
- z-index: 1;
}
scroll-tab-panels{
--background: transparent;
& > *{
opacity: 0.4;
- padding-top: 4rem;
- min-height: 100vh;
+ flex-shrink: 0;
+ min-width: 100%;
transition: opacity 0.6s;
}
& > [active]{
@@ -807,30 +802,56 @@ scroll-tab-panels{
.grid-2{
grid-template-columns: auto 1fr;
}
+
+.rooms__header{
+ position: sticky;
+ top: 0;
+ z-index: 1;
+ display: flex;
+ align-items: center;
+ margin-bottom: 1.5rem;
+ background: var(--background-color);
+ box-shadow: 0 1rem 1rem -1rem rgba(0, 0, 0, 0.2);
+}
+.room__label{
+ position: relative;
+ display: flex;
+ align-items: center;
+ font-weight: 500;
+ margin-right: 0.5rem;
+ padding-right: 1.5rem;
+ &::after{
+ content: '';
+ position: absolute;
+ height: 150%;
+ width: 0.1rem;
+ right: 0;
+ background-color: rgba(var(--text-color), 0.5);
+ }
+}
.room-button{
position: relative;
opacity: 0.6;
+ flex-shrink: 0;
border-radius: 0;
font-weight: 500;
font-size: 1.1rem;
transition: opacity 0.3s, background-color 0.3s;
padding: 0.6rem 0.8rem;
+ &:not(:last-of-type)::after{
+ content: '';
+ height: 0.1rem;
+ width: 4rem;
+ margin-left: 1rem;
+ align-self: center;
+ background: var(--accent-color);
+ }
&[active]{
opacity: 1;
color: var(--accent-color);
.icon{
fill: var(--accent-color);
}
- &::after{
- content: '';
- position: absolute;
- height: 0.1rem;
- width: 100%;
- bottom: 0;
- left: 0;
- border-radius: 0.2rem 0.2rem 0 0;
- background: var(--accent-color);
- }
}
}
@@ -1047,6 +1068,6 @@ table{
}
}
.floor__button:hover{
- background: rgba(var(--text-color), 0.2);
+ background: var(--background-color);
}
}
\ No newline at end of file
diff --git a/ico.html b/ico.html
index e5f1adc..59a0fe4 100644
--- a/ico.html
+++ b/ico.html
@@ -101,21 +101,23 @@
ICO
Lorem ipsum dolor sit amet consectetur adipisicing elit. Harum cumque aut illum soluta. Inventore nihil quisquam harum quo mollitia sunt!
-
Rooms
-
-
-
-
+
diff --git a/js/components.js b/js/components.js
index 329c54a..4ae132a 100644
--- a/js/components.js
+++ b/js/components.js
@@ -3743,15 +3743,13 @@ scrollTabPanels.innerHTML = `
}
.tab-panels{
display: grid;
+ grid-auto-flow: column;
+ grid-auto-columns: 100%;
gap: var(--gap);
- // height: var(--height);
- overflow-y: auto;
border-radius: var(--border-radius);
background: var(--background);
- scroll-snap-type: y proximity;
+ scroll-snap-type: x proximity;
scroll-behavior: smooth;
- -ms-scroll-chaining: none;
- overscroll-behavior: contain;
}
slot::slotted(*){
scroll-snap-align: start;
@@ -3765,6 +3763,10 @@ scrollTabPanels.innerHTML = `
height: 0;
background-color: transparent;
}
+ .tab-panels{
+ scrollbar-height: none;
+ overflow-x: auto;
+ }
}
@media (any-hover: hover){
::-webkit-scrollbar{
@@ -3779,6 +3781,9 @@ scrollTabPanels.innerHTML = `
background: rgba(var(--text-color), 0.5);
}
}
+ .tab-panels{
+ overflow-x: hidden;
+ }
}
@@ -3797,6 +3802,7 @@ customElements.define('scroll-tab-panels', class extends HTMLElement {
this._assignedElements
this.activePanel
this.debounceTimeout
+ this.timerId;
}
fireEvent = (tabIndex) => {
@@ -3811,13 +3817,41 @@ customElements.define('scroll-tab-panels', class extends HTMLElement {
handlePanelChange = (e) => {
if (e.detail.targetPanelGroup === this.id) {
-/* this.tabPanels.scrollTo({
- top: (this._assignedElements[e.detail.panelIndex].getBoundingClientRect().top - this.tabPanels.getBoundingClientRect().top + this.tabPanels.scrollTop),
+ this.tabPanels.scrollTo({
+ left: (this._assignedElements[e.detail.panelIndex].getBoundingClientRect().left - this.tabPanels.getBoundingClientRect().left + this.tabPanels.scrollLeft),
behavior: 'smooth'
- }) */
- this._assignedElements[e.detail.panelIndex].scrollIntoView({block: "nearest", inline: 'start', behavior: 'smooth'})
+ })
+ // this._assignedElements[e.detail.panelIndex].scrollIntoView({block: "nearest", inline: 'start', behavior: 'smooth'})
}
}
+
+ scrollHorizontally = e => {
+ e.preventDefault()
+ this.throttle(() => {
+ const width = this.tabPanels.getBoundingClientRect().width
+ const scrollBy = e.deltaY > 0 ? width : -width
+ this.tabPanels.scrollBy({
+ left: scrollBy,
+ behavior: 'smooth'
+ })
+ }, 100)
+ }
+
+ throttle = (func, delay) => {
+ // If setTimeout is already scheduled, no need to do anything
+ if (timerId) {
+ return;
+ }
+
+ // Schedule a setTimeout after delay seconds
+ timerId = setTimeout(function () {
+ func();
+
+ // Once setTimeout function execution is finished, timerId = undefined so that in
+ // the next scroll event function execution can be scheduled by the setTimeout
+ timerId = undefined;
+ }, delay);
+ }
connectedCallback() {
const panelObserver = new IntersectionObserver(entries => {
@@ -3837,8 +3871,8 @@ customElements.define('scroll-tab-panels', class extends HTMLElement {
})
},
{
- threshold: 0.2,
- // root: this.tabPanels
+ threshold: 0.8,
+ root: this.tabPanels
})
this.tabPanels.addEventListener('slotchange', e => {
this._assignedElements = this.tabPanelsSlot.assignedElements()
@@ -3851,6 +3885,7 @@ customElements.define('scroll-tab-panels', class extends HTMLElement {
panelObserver.observe(elem)
})
})
+ this.tabPanels.addEventListener('wheel', this.scrollHorizontally)
document.addEventListener('changePanel', this.handlePanelChange)
}
diff --git a/js/index.js b/js/index.js
index 5936ba1..e1df7ee 100644
--- a/js/index.js
+++ b/js/index.js
@@ -691,9 +691,7 @@ function showSiteMap() {
document.body.style.overflow = "hidden";
document.body.style.top = `-${window.scrollY}px`;
getRef("elevator_popup").classList.remove("hide-completely");
- setTimeout(() => {
- siteMapTimeline.duration(0.9).play();
- }, 0);
+ siteMapTimeline.duration(0.9).play();
}
function hideSiteMap() {