2024-03-21 16:11:54 +00:00
|
|
|
@use "sass/utilities/css-variables" as cv;
|
|
|
|
@use "sass/utilities/mixins" as mx;
|
|
|
|
|
|
|
|
.bd-native {
|
|
|
|
background-color: cv.getVar("background");
|
|
|
|
padding: var(--bulma-block-spacing);
|
|
|
|
padding: 0;
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
2021-01-27 23:30:42 +00:00
|
|
|
.native-js {
|
2024-03-21 16:11:54 +00:00
|
|
|
border-radius: 0;
|
2021-01-27 23:30:42 +00:00
|
|
|
display: none;
|
|
|
|
font-size: 1rem;
|
2024-03-21 16:11:54 +00:00
|
|
|
margin: 0;
|
2021-01-27 23:30:42 +00:00
|
|
|
opacity: 0;
|
|
|
|
position: relative;
|
|
|
|
visibility: hidden;
|
|
|
|
|
|
|
|
&::before {
|
2024-03-21 16:11:54 +00:00
|
|
|
@include mx.overlay;
|
2021-01-27 23:30:42 +00:00
|
|
|
|
|
|
|
background-color: #000;
|
|
|
|
bottom: 0;
|
2024-03-21 16:11:54 +00:00
|
|
|
content: "";
|
2021-01-27 23:30:42 +00:00
|
|
|
display: block;
|
|
|
|
left: 0;
|
|
|
|
opacity: 0.02;
|
|
|
|
pointer-events: none;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.native-show {
|
|
|
|
display: block;
|
|
|
|
opacity: 1;
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
.native-flex {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 2em;
|
|
|
|
position: relative;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.native-cta {
|
2024-03-21 16:11:54 +00:00
|
|
|
box-shadow: 0 1rem 2rem 0 cv.getVar("shadow");
|
2021-01-27 23:30:42 +00:00
|
|
|
transform: translateY(-0.25rem);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.native-img {
|
|
|
|
border-radius: 3px;
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
height: 50px;
|
|
|
|
width: 125px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.native-details {
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.native-main {
|
|
|
|
align-items: center;
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 1;
|
|
|
|
max-width: 640px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.native-company {
|
|
|
|
display: block;
|
|
|
|
font-size: 0.625em;
|
|
|
|
letter-spacing: 2px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.native-desc {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.native-cta {
|
|
|
|
border: none;
|
2024-03-21 16:11:54 +00:00
|
|
|
box-shadow: 0 0.5rem 1rem 0 cv.getVar("shadow");
|
2021-01-27 23:30:42 +00:00
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
2024-03-21 16:11:54 +00:00
|
|
|
font-weight: cv.getVar("weight-semibold");
|
2021-01-27 23:30:42 +00:00
|
|
|
height: auto;
|
|
|
|
padding: 0.5em 1em;
|
2024-03-21 16:11:54 +00:00
|
|
|
transition-duration: calc(var(--bulma-duration) * 2);
|
2021-01-27 23:30:42 +00:00
|
|
|
transition-property: box-shadow, transform;
|
|
|
|
will-change: box-shadow, transform;
|
|
|
|
}
|
|
|
|
|
|
|
|
$native-bp: 600px;
|
|
|
|
|
2024-03-21 16:11:54 +00:00
|
|
|
@include mx.until($native-bp) {
|
2021-01-27 23:30:42 +00:00
|
|
|
.native-flex {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.native-main {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.native-details {
|
|
|
|
margin: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-03-21 16:11:54 +00:00
|
|
|
@include mx.from($native-bp) {
|
2021-01-27 23:30:42 +00:00
|
|
|
.native-flex {
|
|
|
|
display: flex;
|
|
|
|
padding: 4em;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.native-main {
|
|
|
|
display: flex;
|
|
|
|
margin-right: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.native-details {
|
|
|
|
margin-left: 2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-03-21 16:11:54 +00:00
|
|
|
@include mx.widescreen {
|
2021-01-27 23:30:42 +00:00
|
|
|
.native-js {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
}
|
|
|
|
}
|