omnichannel-next/public/css/globals.scss
2024-08-14 17:04:10 +07:00

791 lines
15 KiB
SCSS

:root {
--primary: #159B9F;
--success: #50cd89;
--info: #1a98ff;
--warning: #FEB82F;
--danger: #f1416c;
--secondary: #aaa;
--dark: #171717;
--dark-grey: #666;
--primary-light: #d4e8ed;
--secondary-light: #f9f9f9;
--success-light: #e8fff3;
--info-light: #dbe8ff;
--warning-light: #fff8dd;
--danger-light: #fff5f8;
--dark-light: #e4e6e7;
--white: #fff;
--text-muted: #9A9A9A;
--success-inverse: #ffffff;
--info-inverse: #ffffff;
--warning-inverse: #ffffff;
--danger-inverse: #ffffff;
--dark-inverse: #ffffff;
--primary-inverse: #ffffff;
--white-inverse: #ffffff;
--white-light: #ffffff;
--grey: #a6a6a6;
--color-step1: #FEB82F;
--color-step2: #C6C851;
--color-step3: #8ED873;
--color-step4: #50cd89;
--color-step5: #429A7B;
--color-step6: #326F71;
--color-step7: #1e5c6b;
--primary-gradient: linear-gradient(to right, #49B1B5, rgba(0, 155, 76, 0.38));
}
@import "form.css";
::-webkit-scrollbar {
width: 5px;
height: 14px;
}
::-webkit-scrollbar-thumb {
background: #ababab;
border: none;
}
::-webkit-scrollbar-track {
background: #dedede;
}
html {
font-family: var(--font-poppins) !important;
background: url("/image/sports.webp");
}
main {
/*padding-bottom: 200px;*/
}
button, input {
font-family: var(--font-poppins) !important;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: var(--font-poppins) !important;
}
.layer-bottom {
inset: inherit !important;
position: fixed !important;
bottom: 0 !important;
left: 0 !important;
height: 30px !important;
width: 100% !important;
}
.shadow-bottom {
width: 100%;
position: fixed;
bottom: 0;
left: 0;
height: 150px;
background: linear-gradient(to top, #fff, rgb(255 255 255 / 0%));
}
.button {
background: var(--primary-gradient);
border: none;
border-radius: 15px;
font-weight: 600;
font-size: 12px;
color: #fff;
padding: 5px 10px;
height: 30px;
text-decoration: none;
}
.btn-full {
text-align: center;
display: block;
width: 100%;
height: 40px;
padding: 10px;
}
.btn-dark{
background: #ffffff;
color: #59b8b6;
border: 1px solid #59b8b6;
}
.title-wrap {
position: relative;
display: flex;
justify-content: space-between;
margin-bottom: 20px;
margin-top: 60px;
.icon-label {
color: rgba(21, 155, 159, 0.10);
font-size: 52px;
position: absolute;
bottom: 7px;
}
.title {
font-size: 15px;
font-weight: 600;
color: var(--primary);
}
.sub-title {
font-size: 11px;
font-weight: 300;
color: var(--text-muted);
}
}
.no-data{
text-align: center;
padding: 30px 20px;
background: #f5f5f58f;
width: 100%;
height: 100%;
border-radius: 20px;
.title {
color: var(--primary);
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
}
.icon{
font-size:44px;
color: var(--primary);
}
}
.image-export{
width: 100%;
position: inherit !important;
inset: inherit !important;
}
.list {
.ant-tabs .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
/*color: #fff;*/
/*background: var(--primary-gradient);*/
color: var(--primary);
background: #f5f5f58f;
padding: 10px 15px;
margin-bottom: -12px;
border-radius: 20px 20px 0 0;
}
.ant-tabs .ant-tabs-tab {
font-size: 13px;
font-weight: 500;
color: var(--text-muted);
}
.ant-tabs-top > .ant-tabs-nav,
.ant-tabs-bottom > .ant-tabs-nav,
.ant-tabs-top > div > .ant-tabs-nav,
.ant-tabs-bottom > div > .ant-tabs-nav {
margin: 0;
}
.ant-tabs-top > .ant-tabs-nav::before,
.ant-tabs-bottom > .ant-tabs-nav::before,
.ant-tabs-top > div > .ant-tabs-nav::before,
.ant-tabs-bottom > div > .ant-tabs-nav::before {
border-bottom: none;
}
.ant-tabs-content-holder {
/*background: var(--primary-gradient);*/
background: #f5f5f58f;
padding: 20px;
border-radius: 0 20px 20px 20px;
}
.ant-tabs .ant-tabs-ink-bar {
position: absolute;
background: none;
/*background: var(--primary);*/
pointer-events: none;
}
}
.header-small {
background: #159b9f;
height: 50px;
width: 100%;
color: #fff;
position: fixed;
top: 0;
z-index: 10;
display: flex;
justify-content: center; /* Horizontally center */
align-items: center; /* Vertically center */
/*border-radius: 0 0 50px 50px;*/
&.hidden {
opacity: 0;
transition: opacity 0.5s ease-out;
}
&.visible {
opacity: 1;
transition: opacity 0.5s ease-in;
}
.layer {
position: absolute !important;
width: 100% !important;
left: 0 !important;
bottom: 0px !important;
top: 40px !important;
border: none !important;
z-index: 1 !important;
height: 60px !important;
}
.group-logo {
position: absolute;
top: 50px;
width: 100%;
left: 0;
z-index: 111;
}
.top-btn {
position: absolute;
top: 10px;
font-size: 14px;
background: rgba(255, 255, 255, 0.15);
border-radius: 50%;
width: 30px;
height: 30px;
text-align: center;
z-index: 2;
&.notification {
right: 45px;
}
&.close {
right: 10px;
}
&.back{
left: 10px;
}
}
.search {
position: absolute;
left: 15px;
top:10px;
z-index: 200;
width: 61%;
.form {
border-radius: 30px;
border: 1px solid #fff;
}
.ant-input-affix-wrapper >
input.ant-input,
.ant-input-affix-wrapper > textarea.ant-input {
font-weight: 400 !important;
color: #353535 !important;
font-size: 12px;
}
.anticon
svg {
fill: var(--primary);
margin-right: 10px;
}
}
}
.header {
background: linear-gradient(to bottom, #49B1B5, #149A9F);
height: 160px;
width: 100%;
color: #fff;
position: relative;
display: flex;
justify-content: center; /* Horizontally center */
align-items: center; /* Vertically center */
/*border-radius: 0 0 50px 50px;*/
&.hidden {
opacity: 0;
transition: opacity 0.5s ease-out;
}
&.visible {
opacity: 1;
transition: opacity 0.5s ease-in;
}
.layer {
position: absolute !important;
width: 100% !important;
left: 0 !important;
bottom: 0px !important;
top: 145px !important;
border: none !important;
z-index: 1;
height: 90px !important;
}
.group-logo {
position: absolute !important;
top: 50px !important;
width: 100% !important;
left: 0 !important;
z-index: 111;
}
.logo {
text-align: center;
img {
width: 30px !important;
margin-bottom: -30px;
margin-right: -99px;
}
.title {
font-weight: 400;
text-transform: capitalize;
}
;
position: absolute;
left: 0;
right: 0;
top: 66px;
/* background: #00000033; */
/* padding: 8px 0 0 15px; */
/* border-radius: 20px; */
.title{
font-size: 16px;
font-weight: 600;
text-transform: uppercase;
}
.sub-title{
font-size: 10px;
font-weight: 300;
margin-top: -3px;
}
}
.top-btn {
position: absolute;
top: 10px;
font-size: 14px;
background: rgba(255, 255, 255, 0.15);
border-radius: 50%;
width: 30px;
height: 30px;
text-align: center;
&.notification {
right: 45px;
}
&.close {
right: 10px;
}
}
.location {
position: absolute;
z-index: 111;
.title {
font-size: 12px;
font-weight: 300;
}
.value {
font-size: 11px;
font-weight: 400;
}
;
left: 15px;
bottom: 35px;
top: 12px;
height: 26px;
background: #ffffff26;
padding: 4px 20px;
border-radius: 28px;
}
.ant-input-affix-wrapper >
input.ant-input:hover + .search{
background: red;
}
.search {
padding: 0px 79px;
position: absolute;
z-index: 200;
.form {
border-radius: 40px;
padding: 10px 25px;
border: none;
box-shadow: 0 6px 15px #00000026;
text-align: center;
}
.ant-input-affix-wrapper >
input.ant-input,
.ant-input-affix-wrapper > textarea.ant-input {
font-weight: 500 !important;
color: #353535 !important;
font-size: 12px;
}
.anticon
svg {
fill: var(--primary);
margin-right: 10px;
}
;
bottom: -23px;
width: 100%;
left: 0;
right: 0;
}
}
.omnichannel {
margin-top: 100px;
padding: 0 25px;
}
.card-omni {
/* background: #fff; */
background: linear-gradient(to bottom, #fff, #f3feff);
border-radius: 15px;
text-align: center;
/*border: 1px solid #eeeeee;*/
padding: 10px 10px 15px;
box-shadow: 9px 10px 18px #d7d7d75e;
.icon {
img {
width: 100% !important;
height: 35px !important;
object-fit: contain;
}
}
.title {
font-size: 9px;
font-weight: 500;
color: var(--text-muted);
height: 30px;
overflow: hidden;
}
;
display: block;
text-decoration: none;
}
.news {
margin-top: 30px;
padding: 0 25px;
.list {
.ant-tabs-content-holder {
padding: 5px;
background: #fff;
}
.ant-tabs .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
color: #fff;
background: var(--primary-gradient);
padding: 5px 15px;
margin-bottom: -12px;
border-radius: 20px;
}
}
.slider {
.berita {
border-radius: 20px;
background: #fff;
position: relative;
.img {
border-radius: 20px;
width: 100% !important;
height: 300px !important;
object-fit: cover;
}
.layer-berita {
background: linear-gradient(to top, #49B1B5, rgba(255, 255, 255, 0.06));
height: 100%;
width: 100%;
position: absolute;
border-radius: 20px;
z-index: 1;
}
.content-berita {
position: absolute;
bottom: 10px;
left: 10px;
padding: 40px 20px;
z-index: 2;
}
.category {
margin-bottom: 5px;
font-weight: 600;
font-size: 12px;
color: var(--dark);
}
.title {
color: #fff;
font-size: 16px;
font-weight: 400;
}
.subtitle {
margin-top: 5px;
color: rgba(255, 255, 255, 0.73);
font-size: 11px;
.sumber {
font-weight: 600;
}
}
}
}
.list-news {
margin-top: 10px;
.content-list-news {
margin-bottom: 10px;
display: flex;
gap: 15px;
background: #f5f5f58f;
padding: 10px 10px 5px;
border-radius: 15px;
text-decoration: none;
color: inherit;
.image {
border-radius: 10px;
width: 60px !important;
height: 60px !important;
object-fit: cover;
}
.category {
font-weight: 400;
font-size: 11px;
color: var(--primary);
}
.title {
font-size: 13px;
font-weight: 500;
margin-bottom: 5px;
}
.subtitle {
font-size: 10px;
.sumber {
font-weight: 600;
}
}
}
}
}
.footer {
margin-top: 150px;
background: var(--primary-gradient);
padding: 60px 20px 100px;
text-align: center;
border-radius: 40px 40px 0 0;
.title {
font-size: 13px;
color: #fff;
}
}
.detail-berita{
width: 100%;
height: 100vh;
padding-top: 48px;
.content-detail{
padding: 30px;
}
.img img{
width: 100%;
height: 200px;
object-fit: cover;
}
.title{
font-size: 13px;
font-weight: 600;
text-align: justify;
}
.description{
font-size: 12px;
font-weight: 400;
margin-top: 20px;
margin-bottom: 40px;
text-align: justify;
}
}
.detail-va{
table {
font-size: 12px;
width: 100%;
.title{
font-weight: 400;
width: 40% !important;
}
.value{
font-weight: 600;
}
}
.ant-checkbox-wrapper-disabled {
cursor: not-allowed;
display: none;
}
.ant-table-wrapper .ant-table-thead >tr>th,
.ant-table-wrapper .ant-table-thead >tr>td {
//color: #fff;
//background: #4fb4b5;
color: #51b5b5;
background: #51b5b536;
}
.ant-table-wrapper .ant-table-tbody .ant-table-row.ant-table-row-selected >.ant-table-cell {
background: #daefef57;
}
.notes{
margin: 50px 0 10px;
font-size: 10px;
font-weight: 400;
color: var(--text-muted);
text-align: justify;
}
}
hr.border{
border: 1px dashed #e5e5e5;
margin: 20px 0;
}
.ant-checkbox-checked .ant-checkbox-inner {
background-color: #58b8b6 !important;
border-color: #58b8b6 !important;
}
.zn-table {
width: 100%;
border-collapse: collapse;
font-size: 12px;
background: #fff;
tr th{
padding: 10px 30px;
color: #51b5b5;
background: #51b5b536;
text-align: left;
}
tr td {
text-align: left;
padding: 10px 30px;
border-top: 1px solid #ededed;
font-weight: 500;
}
tfoot tr td{
background: #e2ffe3;
font-weight: 600;
}
}
.modal-payment{
.title{
font-size: 14px;
font-weight: 600;
color: var(--primary);
text-transform: uppercase;
}
.sub-title {
font-size: 12px;
font-weight: 400;
color: var(--text-muted);
}
}
.ant-modal .ant-modal-content {
border-radius: 15px;
}