feat: VivesPOS landing on Winter CMS 1.2 — theme + plugin + Dockerfile
Some checks are pending
Module sub-split / Sub-split (push) Waiting to run
Some checks are pending
Module sub-split / Sub-split (push) Waiting to run
- Base: wintercms/winter branch 1.2 (full framework) - Theme vivespos: Canvas 7 + Bootstrap 5 CDN, custom CSS - Layout: deferred GTM/GA4 tracking, JSON-LD SoftwareApplication - Partials: hero (offline-first), features, modes (offline/nube toggle), screenshots, pricing (3 planes), comparison, FAQ, CTA - Plugin VivesPOS.Site with ContactForm - Dockerfile: PHP 8.2 Apache, port 80, healthcheck - Added winter/wn-pages, blog, sitemap, seo plugins - Active theme set to vivespos
This commit is contained in:
98
modules/backend/assets/less/controls/scrollpad.less
Normal file
98
modules/backend/assets/less/controls/scrollpad.less
Normal file
@@ -0,0 +1,98 @@
|
||||
.scrollpad-scrollbar-size-tester {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
overflow-y: scroll;
|
||||
position: absolute;
|
||||
top: -200px;
|
||||
left: -200px;
|
||||
|
||||
div {
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
}
|
||||
|
||||
div.control-scrollpad {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
|
||||
> div {
|
||||
overflow: hidden;
|
||||
overflow-y: scroll;
|
||||
height: 100%;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-direction=horizontal] > div {
|
||||
overflow-x: scroll;
|
||||
overflow-y: hidden;
|
||||
width: 100%;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: auto;
|
||||
height: 0;
|
||||
}
|
||||
}
|
||||
|
||||
> .scrollpad-scrollbar {
|
||||
z-index: 199; // Be careful here
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 11px;
|
||||
background-color: @color-scrollbar-track;
|
||||
opacity: 0;
|
||||
overflow: hidden;
|
||||
.border-radius(5px);
|
||||
.transition(opacity 0.3s);
|
||||
|
||||
.drag-handle {
|
||||
position: absolute;
|
||||
right: 2px;
|
||||
min-height: 10px;
|
||||
width: 7px;
|
||||
background-color: @color-scrollbar-thumb;
|
||||
.border-radius(5px);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.opacity(.7);
|
||||
.transition(opacity 0 linear);
|
||||
}
|
||||
|
||||
&[data-visible] {
|
||||
.opacity(.7);
|
||||
}
|
||||
|
||||
&[data-hidden] {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-direction=horizontal] > .scrollpad-scrollbar {
|
||||
top: auto;
|
||||
left: 0;
|
||||
width: auto;
|
||||
height: 11px;
|
||||
|
||||
.drag-handle {
|
||||
right: auto;
|
||||
top: 2px;
|
||||
height: 7px;
|
||||
min-height: 0;
|
||||
min-width: 10px;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user