butter-kanglam-ui/_scss/pages/home.scss

466 lines
7.6 KiB
SCSS
Raw Normal View History

2021-09-17 09:26:31 -05:00
// -------------------------
// Body Styles
// -------------------------
body {
2024-06-07 14:38:54 -05:00
background-color: #F9F9F9;
min-height: 100vh;
2021-09-17 09:26:31 -05:00
}
2024-06-04 22:41:13 -05:00
2021-09-17 16:18:12 -04:00
// -------------------------
// Link Styles
// -------------------------
a:link {
text-decoration: none;
2022-08-22 20:18:13 -05:00
color: black;
2021-09-17 16:18:12 -04:00
}
a:visited {
text-decoration: none;
2022-08-22 20:18:13 -05:00
color: black;
2021-09-17 16:18:12 -04:00
}
a:hover {
text-decoration: underline;
2022-08-22 20:18:13 -05:00
color: black;
2021-09-17 16:18:12 -04:00
}
2021-09-17 09:26:31 -05:00
2021-09-17 16:18:12 -04:00
a:active {
text-decoration: underline;
2022-08-22 20:18:13 -05:00
color: black;
2021-09-17 16:18:12 -04:00
}
.darklink:link {
color: grey;
}
.darklink:hover {
color: grey;
}
.darklink:active {
color: grey;
}
2024-06-04 22:41:13 -05:00
2021-09-17 09:26:31 -05:00
// -------------------------
2024-06-04 22:41:13 -05:00
// Content Styles
2021-09-17 09:26:31 -05:00
// -------------------------
2024-06-04 22:41:13 -05:00
.container {
width: 100%;
2024-06-25 12:37:39 -05:00
max-width: 1144px;
2024-06-04 22:41:13 -05:00
margin: 0 auto;
}
.header {
2024-06-25 12:37:39 -05:00
height: 48px;
// center content vertically
display: flex;
align-items: center;
2024-06-25 18:18:25 -05:00
justify-content: center;
2024-06-04 22:41:13 -05:00
2024-06-25 12:37:39 -05:00
.header-container {
2021-09-17 09:26:31 -05:00
display: flex;
align-items: center;
2024-06-25 12:37:39 -05:00
width: 100%;
2024-06-25 18:18:25 -05:00
max-width: 920px;
2024-06-25 12:37:39 -05:00
padding: 0 20px;
2021-09-17 09:26:31 -05:00
}
2024-06-25 12:37:39 -05:00
.title {
text-align: left;
font-size: 14;
font-weight: 600;
margin: auto;
width: -webkit-fill-available;
}
.language-selector {
align-items: center;
background-color: #F4F3F2;
border-radius: 16px;
display: flex;
height: 32px;
padding: 0 10px;
2021-09-17 09:26:31 -05:00
}
2024-06-25 17:59:04 -05:00
.language-selector:hover {
cursor: pointer;
text-decoration: none;
}
2024-06-04 22:41:13 -05:00
2024-06-25 12:37:39 -05:00
.language-code {
margin: 0 8px;
}
2021-09-17 09:26:31 -05:00
}
2024-06-04 22:41:13 -05:00
.header-content {
position: relative;
}
2021-09-17 09:26:31 -05:00
2024-06-04 22:41:13 -05:00
.header-image {
2024-06-25 12:37:39 -05:00
height: 28px;
width: 28px;
margin-right: 20px;
2024-06-04 22:41:13 -05:00
}
.header-title {
font-size: 1.5em;
color: #333;
margin: 20px 0;
font-weight: bold;
}
2024-06-25 17:59:04 -05:00
.language-selector-container {
h2.modal__title {
text-align: left;
font-size: 18px;
font-weight: 500;
margin: 20px 0;
}
min-width: 300px;
}
.language-selection {
align-items: center;
display: flex;
margin: 15px 0px;
input[type="radio"] {
appearance: none;
width: 18px;
height: 18px;
border: 2px solid #9B9A98;
border-radius: 50%;
position: relative;
cursor: pointer;
}
input[type="radio"]::before {
content: '';
display: block;
width: 10px;
height: 10px;
border-radius: 50%;
background: #333; /* Change this to your desired color */
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
opacity: 0;
transition: opacity 0.2s ease-in-out;
}
label {
font-size: 16px;
margin-left: 20px;
cursor: pointer;
}
}
.language-selection:hover {
text-decoration: none;
}
2024-06-04 22:41:13 -05:00
.content {
padding: 20px;
2024-06-25 12:37:39 -05:00
}
.card-set {
display: grid;
grid-template-columns: repeat(2, 1fr); /* Default to 2 columns */
gap: 10px; /* Adjust the gap between the cards */
}
@media (min-width: 900px) {
.card-set {
grid-template-columns: repeat(4, 1fr); /* 4 columns for larger screens */
}
2024-06-25 18:18:25 -05:00
.drippy {
display: block;
width: 90px;
margin-left: auto;
margin-right: auto;
}
h1.homepage-title {
text-align: center;
}
}
@media (max-width: 900px) {
.drippy {
display: none;
}
.homepage-subtitle {
display: none;
}
2024-06-25 12:37:39 -05:00
}
h1.homepage-title {
margin: 30px 0;
2024-06-04 22:41:13 -05:00
}
2024-06-25 18:18:25 -05:00
.homepage-subtitle {
color: #9b9a98;
font-size: 16px;
font-weight: 400;
margin: 0 auto 50px auto;
max-width: 340px;
text-align: center;
}
2024-06-04 22:41:13 -05:00
.card {
2024-06-25 12:37:39 -05:00
align-items: center;
2022-08-22 20:18:13 -05:00
background-color: white;
2024-06-25 12:37:39 -05:00
border: 1px solid #E1E1DE;
2024-06-04 22:41:13 -05:00
border-radius: 10px;
color: #333;
display: flex;
flex-direction: column;
2024-06-25 12:37:39 -05:00
font-size: 16px;
height: 160px;
justify-content: center;
margin: 10px 0;
padding: 20px;
text-align: center;
2024-06-04 22:41:13 -05:00
}
2024-06-25 18:03:48 -05:00
.card:hover {
cursor: pointer;
text-decoration: none;
}
2024-06-04 22:41:13 -05:00
// Apply/Remove this class to conditionally
// display the card
.hidden-card {
display: none;
}
2024-06-04 22:41:13 -05:00
.card-icon {
2024-06-25 11:50:45 -05:00
width: 60px;
height: 60px;
2024-06-04 22:41:13 -05:00
margin-bottom: 10px;
object-fit: cover;
}
2024-06-07 14:38:54 -05:00
// --------------------------------
// Informational Layout Styles
// --------------------------------
2024-06-07 16:07:53 -05:00
.top-nav {
max-width: 860px;
2024-06-07 18:15:38 -05:00
width: -webkit-fill-available;
2024-06-07 16:07:53 -05:00
margin: 0px auto;
display: flex;
2024-06-07 18:15:38 -05:00
flex-direction: row;
2024-06-07 16:07:53 -05:00
align-items: center;
}
2024-06-07 14:38:54 -05:00
.informational-container {
2024-06-07 18:15:38 -05:00
flex: 1;
2024-06-07 14:38:54 -05:00
width: 100%;
max-width: 680px;
margin: 0 auto;
2024-06-25 11:32:24 -05:00
padding: 0 20px;
2024-06-07 14:38:54 -05:00
img.hero {
width: 100%;
}
img.app-tile {
width: 66px;
height: 66px;
// center within container
display: block;
margin: auto;
// float higher to overlap previous element
position: relative;
top: -33px;
}
h1 {
font-size: 28px;
font-weight: 700;
margin-bottom: 10px;
text-align: center;
}
p.subtitle {
2024-06-07 16:59:23 -05:00
color: #9B9A98;
2024-06-07 14:38:54 -05:00
font-size: 16px;
font-weight: 400;
margin: 0 auto 10px auto;
max-width: 340px;
text-align: center;
}
2024-06-25 11:32:24 -05:00
.step-label {
background-color: #F4F3F2;
border-radius: 6px;
color: #787776;
font-size: 12px;
margin: 40px auto 0 auto;
padding: 10px 20px;
text-transform: uppercase;
font-weight: 600;
width: fit-content;
}
2024-06-07 14:38:54 -05:00
h2 {
font-size: 18px;
2024-06-25 11:32:24 -05:00
font-weight: 700;
2024-06-07 15:53:50 -05:00
margin: 30px 0 15px 0;
2024-06-25 11:32:24 -05:00
text-align: center;
2024-06-07 14:38:54 -05:00
}
2024-06-07 18:04:39 -05:00
p.informational-text {
2024-06-07 14:38:54 -05:00
font-size: 14px;
font-weight: 400;
2024-06-25 11:32:24 -05:00
line-height: 21px;
2024-06-07 14:38:54 -05:00
margin: 10px 0;
}
.filelist {
background-color: white;
border-radius: 20px;
2024-06-07 15:53:50 -05:00
margin-top: 40px;
}
.btn-container {
width: fit-content;
margin: 30px auto;
2024-06-07 14:38:54 -05:00
}
2024-06-07 16:59:23 -05:00
.btn-secondary {
background-color: #F4F3F2;
border-radius: 26px;
height: 52px;
width: fit-content;
padding: 0 20px;
font-size: 16px;
font-weight: 600;
margin: 0 auto;
// center text vertically
display: flex;
align-items: center;
}
}
.push-footer {
font-size: 12px;
text-align: center;
margin: 20px 0;
padding: 0 10px;
width: 100%;
2024-06-07 14:38:54 -05:00
}
// ----------------------------------
// Copied from butter-dir-listing.css
// ----------------------------------
2024-06-07 16:07:53 -05:00
.breadcrumb-name {
display: flex;
align-items: center;
height: 48px;
font-size: 18px;
2024-06-07 16:07:53 -05:00
a {
display: flex;
align-items: center;
height: -webkit-fill-available;
padding: 0 10px;
2024-06-07 16:07:53 -05:00
}
img.back {
width: 18px;
height: 18px;
margin-left: 10px;
2024-06-07 16:07:53 -05:00
margin-right: 10px;
}
}
2024-06-07 14:38:54 -05:00
.filerow {
display: flex;
align-items: center;
height: 44px;
margin: 10px;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
2025-02-18 15:14:36 -06:00
.filerow.template {
display: none;
}
2024-06-07 14:38:54 -05:00
.logo-filerow {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
}
.logo-filerow img {
width: 32px;
height: 32px;
}
.text-filerow {
display: flex;
flex-direction: column;
justify-content: center;
flex-grow: 1;
padding: 0 10px;
box-sizing: border-box;
}
.text-filerow .upper-text {
font-size: 16px;
2024-06-07 14:38:54 -05:00
line-height: 18px;
padding: 2px;
color: black;
}
.text-filerow .lower-text {
font-size: 12px;
padding: 2px;
color: gray;
}
.dl-block {
2024-06-07 14:38:54 -05:00
width: 30px;
height: 30px;
}
2022-10-10 11:18:26 -05:00
// -------------------------
2022-10-10 16:00:01 -05:00
// Button Styles
2022-10-10 11:18:26 -05:00
// -------------------------
.btn-android {
2022-10-10 16:00:01 -05:00
margin: 15px 15px 15px 0px;
height: 30px;
2022-10-10 11:18:26 -05:00
width: auto;
}
2021-09-17 09:26:31 -05:00
// -------------------------
// Footer Styles
// -------------------------
.footer-area {
font-family: $footer-font-family;
padding: 35px 0;
}
// -------------------------
// Slider Styles
// -------------------------
.slick-arrow {
background: $royal-blue;
border-radius: 50%;
color: $white;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
width: 70px;
height: 70px;
font-size: 34px;
position: absolute;
top: 50%;
margin-top: -35px;
transition: all .3s ease;
z-index: 1;
&:hover {
background-color: lighten($royal-blue, 5%);
}
@media (max-width: 768px) {
width: 50px;
height: 50px;
margin-top: -25px;
}
}
.slick-prev {
left: 0;
}
.slick-next {
right: 0;
}