Initial commit
This commit is contained in:
109
styles/demo/Badges.scss
Normal file
109
styles/demo/Badges.scss
Normal file
@@ -0,0 +1,109 @@
|
||||
.product-badge {
|
||||
border-radius: var(--border-radius);
|
||||
padding: .25em .5rem;
|
||||
text-transform: uppercase;
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
letter-spacing: .3px;
|
||||
|
||||
&.status-instock {
|
||||
background: var(--green-200);
|
||||
color: var(--green-800);
|
||||
}
|
||||
|
||||
&.status-outofstock {
|
||||
background: var(--pink-200);
|
||||
color: var(--pink-800);
|
||||
}
|
||||
|
||||
&.status-lowstock {
|
||||
background: var(--yellow-200);
|
||||
color: var(--yellow-800);
|
||||
}
|
||||
}
|
||||
|
||||
.product-badge-text {
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
letter-spacing: .3px;
|
||||
|
||||
&.status-instock {
|
||||
color: var(--green-500);
|
||||
}
|
||||
|
||||
&.status-outofstock {
|
||||
color: var(--pink-500);
|
||||
}
|
||||
|
||||
&.status-lowstock {
|
||||
color: var(--yellow-500);
|
||||
}
|
||||
}
|
||||
|
||||
.customer-badge {
|
||||
border-radius: var(--border-radius);
|
||||
padding: .25em .5rem;
|
||||
text-transform: uppercase;
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
letter-spacing: .3px;
|
||||
|
||||
&.status-qualified {
|
||||
background: var(--green-200);
|
||||
color: var(--green-800);
|
||||
}
|
||||
|
||||
&.status-unqualified {
|
||||
background: var(--pink-200);
|
||||
color: var(--pink-800);
|
||||
}
|
||||
|
||||
&.status-negotiation {
|
||||
background: var(--yellow-200);
|
||||
color: var(--yellow-800);
|
||||
}
|
||||
|
||||
&.status-new {
|
||||
background: var(--blue-200);
|
||||
color: var(--blue-800);
|
||||
}
|
||||
|
||||
&.status-renewal {
|
||||
background: var(--purple-200);
|
||||
color: var(--purple-800);
|
||||
}
|
||||
|
||||
&.status-proposal {
|
||||
background: var(--orange-200);
|
||||
color: var(--orange-800);
|
||||
}
|
||||
}
|
||||
|
||||
.order-badge {
|
||||
border-radius: var(--border-radius);
|
||||
padding: .25em .5rem;
|
||||
text-transform: uppercase;
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
letter-spacing: .3px;
|
||||
|
||||
&.order-delivered {
|
||||
background: #C8E6C9;
|
||||
color: #256029;
|
||||
}
|
||||
|
||||
&.order-cancelled {
|
||||
background: #FFCDD2;
|
||||
color: #C63737;
|
||||
}
|
||||
|
||||
&.order-pending {
|
||||
background: #FEEDAF;
|
||||
color: #8A5340;
|
||||
}
|
||||
|
||||
&.order-returned {
|
||||
background: #ECCFFF;
|
||||
color: #694382;
|
||||
}
|
||||
}
|
||||
142
styles/demo/BlockViewer.scss
Normal file
142
styles/demo/BlockViewer.scss
Normal file
@@ -0,0 +1,142 @@
|
||||
.block-section {
|
||||
margin-bottom: 4rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.block-header {
|
||||
padding: 1rem 2rem;
|
||||
background-color: var(--surface-section);
|
||||
border-top-left-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
border: 1px solid var(--surface-border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
.block-title {
|
||||
font-weight: 700;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
||||
.badge-free {
|
||||
border-radius: 4px;
|
||||
padding: 0.25rem 0.5rem;
|
||||
background-color: var(--orange-500);
|
||||
color: white;
|
||||
margin-left: 1rem;
|
||||
font-weight: 700;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.block-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
user-select: none;
|
||||
margin-left: 1rem;
|
||||
|
||||
a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-right: 0.75rem;
|
||||
padding: 0.5rem 1rem;
|
||||
border-radius: 4px;
|
||||
font-weight: 600;
|
||||
border: 1px solid transparent;
|
||||
transition: background-color 0.2s;
|
||||
cursor: pointer;
|
||||
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
&:not(.block-action-disabled):hover {
|
||||
background-color: var(--surface-c);
|
||||
}
|
||||
|
||||
&.block-action-active {
|
||||
border-color: var(--primary-color);
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
&.block-action-copy {
|
||||
i {
|
||||
color: var(--primary-color);
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.block-action-disabled {
|
||||
opacity: 0.6;
|
||||
cursor: auto !important;
|
||||
}
|
||||
|
||||
i {
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.block-content {
|
||||
padding: 0;
|
||||
border: 1px solid var(--surface-border);
|
||||
border-top: 0 none;
|
||||
}
|
||||
|
||||
pre[class*='language-'] {
|
||||
margin: 0 !important;
|
||||
|
||||
&:before,
|
||||
&:after {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
code {
|
||||
border-left: 0 none !important;
|
||||
box-shadow: none !important;
|
||||
background: var(--surface-e) !important;
|
||||
margin: 0;
|
||||
color: var(--text-color);
|
||||
font-size: 14px;
|
||||
padding: 0 2rem !important;
|
||||
|
||||
.token {
|
||||
&.tag,
|
||||
&.keyword {
|
||||
color: #2196f3 !important;
|
||||
}
|
||||
|
||||
&.attr-name,
|
||||
&.attr-string {
|
||||
color: #2196f3 !important;
|
||||
}
|
||||
|
||||
&.attr-value {
|
||||
color: #4caf50 !important;
|
||||
}
|
||||
|
||||
&.punctuation {
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
&.operator,
|
||||
&.string {
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 575px) {
|
||||
.block-header {
|
||||
flex-direction: column;
|
||||
align-items: start;
|
||||
|
||||
.block-actions {
|
||||
margin-top: 1rem;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
5
styles/demo/Demos.scss
Normal file
5
styles/demo/Demos.scss
Normal file
@@ -0,0 +1,5 @@
|
||||
@use './BlockViewer.scss';
|
||||
@use './code.scss';
|
||||
@use './flags/flags.css';
|
||||
@use './Badges.scss';
|
||||
@use './landing.scss';
|
||||
15
styles/demo/code.scss
Normal file
15
styles/demo/code.scss
Normal file
@@ -0,0 +1,15 @@
|
||||
pre.app-code {
|
||||
background-color: var(--surface-ground);
|
||||
margin: 0 0 1rem 0;
|
||||
padding: 0;
|
||||
border-radius: var(--border-radius);
|
||||
overflow: auto;
|
||||
|
||||
code {
|
||||
color: var(--surface-900);
|
||||
padding: 1rem;
|
||||
line-height: 1.5;
|
||||
display: block;
|
||||
font-family: monaco, Consolas, monospace;
|
||||
}
|
||||
}
|
||||
1
styles/demo/flags/flags.css
Normal file
1
styles/demo/flags/flags.css
Normal file
File diff suppressed because one or more lines are too long
BIN
styles/demo/flags/flags_responsive.png
Normal file
BIN
styles/demo/flags/flags_responsive.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
233
styles/demo/landing.scss
Normal file
233
styles/demo/landing.scss
Normal file
@@ -0,0 +1,233 @@
|
||||
.bg-shape-top {
|
||||
min-height: 520px;
|
||||
background-size: cover;
|
||||
background-position: 0% bottom;
|
||||
background-repeat: no-repeat;
|
||||
overflow: visible;
|
||||
background-image: url('/layout/images/pages/landing/bg-header.svg')
|
||||
}
|
||||
|
||||
.bg-shape-bottom {
|
||||
z-index: -1;
|
||||
min-height: 770px;
|
||||
background-size: cover;
|
||||
background-position: 0 top;
|
||||
background-image: url('/demo/images/landing/bg-contact.svg')
|
||||
}
|
||||
|
||||
.moveinright {
|
||||
animation: moveinright .15s linear;
|
||||
}
|
||||
|
||||
.moveinleft {
|
||||
animation: moveinleft .15s linear;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 992px) {
|
||||
#menu {
|
||||
background-color: var(--surface-overlay) !important;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes moveinright {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: translateX(50px);
|
||||
transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
transform: translateX(0%);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes moveinleft {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: translateX(-50px);
|
||||
transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
transform: translateX(0%);
|
||||
}
|
||||
}
|
||||
|
||||
.landing-container {
|
||||
#header {
|
||||
#menu {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
list-style-type: none;
|
||||
}
|
||||
.header-features {
|
||||
.header-feature-box {
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
border: 1px solid rgba(0, 0, 0, 0.15);
|
||||
box-sizing: border-box;
|
||||
backdrop-filter: blur(40px);
|
||||
border-radius: 20px;
|
||||
padding: 30px 33px 36px 33px;
|
||||
max-width: 370px;
|
||||
|
||||
.title {
|
||||
display: block;
|
||||
font-size: 20px;
|
||||
line-height: 23px;
|
||||
}
|
||||
|
||||
.content {
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.landing-wrapper-back {
|
||||
margin-top: calc(((100vw * 0.09719) * -1) - 300px);
|
||||
padding: calc((100vw * 0.09719) * 4) - ((100vw * 0.09719) - (100vw * 0.09719)) 0 4em;
|
||||
}
|
||||
|
||||
.landing-wrapper {
|
||||
#footer {
|
||||
.newsletter {
|
||||
input {
|
||||
background: #efeffb;
|
||||
mix-blend-mode: multiply;
|
||||
opacity: 0.8;
|
||||
color: #44486d;
|
||||
border-radius: 8px 0 0 8px;
|
||||
border-color: transparent;
|
||||
padding: 0.714rem 1rem;
|
||||
min-width: 400px;
|
||||
|
||||
&::placeholder {
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
line-height: 17px;
|
||||
color: #44486d;
|
||||
mix-blend-mode: multiply;
|
||||
opacity: 0.25;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 991px) {
|
||||
.landing-container {
|
||||
#header {
|
||||
.header-features,
|
||||
.header-text {
|
||||
padding: 100px 0 !important;
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
#meet-atlantis {
|
||||
min-height: 430px !important;
|
||||
|
||||
.ellipsis-1,
|
||||
.ellipsis-2,
|
||||
.ellipsis-3,
|
||||
.ellipsis-4 {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.landing-wrapper-back {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.landing-wrapper {
|
||||
padding: 2.5rem 3rem !important;
|
||||
|
||||
&.clip-path {
|
||||
clip-path: none;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#features {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
|
||||
.feature-boxes {
|
||||
&.feature-boxes-1,
|
||||
&.feature-boxes-2,
|
||||
&.feature-boxes-3 {
|
||||
margin-bottom: 50px !important;
|
||||
margin-left: 0px !important;
|
||||
}
|
||||
|
||||
&.feature-boxes-3 {
|
||||
.feature-widgets {
|
||||
overflow: hidden !important;
|
||||
|
||||
.progressbar-widget {
|
||||
max-width: 350px !important;
|
||||
position: absolute;
|
||||
right: -150px;
|
||||
top: -15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#pricing {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
|
||||
.pricing-content {
|
||||
.card {
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#footer {
|
||||
.newsletter {
|
||||
p,
|
||||
input {
|
||||
min-width: auto;
|
||||
max-width: 300px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.clip-path {
|
||||
position: relative;
|
||||
margin-top: calc(((100vw * 0.09719) * -1) - 300px);
|
||||
padding: calc((100vw * 0.09719) * 4) - ((100vw * 0.09719) - (100vw * 0.09719)) 0 4em;
|
||||
clip-path: none;
|
||||
-webkit-clip-path: none;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1960px) {
|
||||
.landing-container {
|
||||
.header-menu-container,
|
||||
.header-text,
|
||||
.header-features,
|
||||
.landing-back,
|
||||
.features,
|
||||
.pricing,
|
||||
.footer {
|
||||
width: 1504px !important;
|
||||
margin-left: auto !important;
|
||||
margin-right: auto !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.join-button {
|
||||
color: #a0a3ad !important;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user