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:
104
modules/system/assets/ui/less/icon.mixins.less
Normal file
104
modules/system/assets/ui/less/icon.mixins.less
Normal file
@@ -0,0 +1,104 @@
|
||||
// Mixins
|
||||
// --------------------------
|
||||
|
||||
.icon(@icon) {
|
||||
.icon-FontAutumn();
|
||||
content: @icon;
|
||||
}
|
||||
|
||||
.icon-FontAutumn(@weight: 900) {
|
||||
font-family: @fa-style-family;
|
||||
font-weight: @weight;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-style: normal;
|
||||
font-variant: normal;
|
||||
text-rendering: auto;
|
||||
}
|
||||
|
||||
.icon-stack(@width: 2em, @height: 2em, @top-font-size: 1em, @base-font-size: 2em) {
|
||||
.icon-stack {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: @width;
|
||||
height: @height;
|
||||
line-height: @width;
|
||||
vertical-align: -35%;
|
||||
[class^="icon-"],
|
||||
[class*=" icon-"] {
|
||||
display: block;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: @top-font-size;
|
||||
line-height: inherit;
|
||||
*line-height: @height;
|
||||
}
|
||||
.icon-stack-base {
|
||||
font-size: @base-font-size;
|
||||
*line-height: @height / @base-font-size;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Scroll markers
|
||||
// --------------------------------------------------
|
||||
|
||||
.vertical-scroll-marker(@color) {
|
||||
.scroll-marker {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 10px;
|
||||
display: none;
|
||||
|
||||
&:after {
|
||||
.icon(@ellipsis-h);
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
margin-left: -3px;
|
||||
top: 0;
|
||||
height: 9px;
|
||||
font-size: 10px;
|
||||
color: @color;
|
||||
}
|
||||
|
||||
&.before {top: 0;}
|
||||
&.after {
|
||||
bottom: 3px;
|
||||
&:after {
|
||||
top: 2px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.scroll-before .scroll-marker.before { display: block; }
|
||||
&.scroll-after .scroll-marker.after { display: block; }
|
||||
}
|
||||
|
||||
.horizontal-scroll-indicators(@color) {
|
||||
&:after, &:before {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -7px;
|
||||
height: 9px;
|
||||
font-size: 10px;
|
||||
color: @color;
|
||||
}
|
||||
|
||||
&:before {
|
||||
left: -6px;
|
||||
.icon(@angle-left);
|
||||
}
|
||||
|
||||
&:after {
|
||||
right: -8px;
|
||||
.icon(@angle-right);
|
||||
}
|
||||
|
||||
&.scroll-before:before { display: block; }
|
||||
&.scroll-after:after { display: block; }
|
||||
}
|
||||
Reference in New Issue
Block a user