omnichannel-next/src/app/globals.css

594 lines
12 KiB
CSS
Raw Normal View History

2024-08-07 08:30:08 +00:00
:root {
--primary: #159B9F;
--success: #50cd89;
--info: #1a98ff;
--warning: #FEB82F;
--danger: #f1416c;
--secondary: #aaa;
--dark: #171717;
--dark-grey: #666;
2024-08-08 08:50:52 +00:00
--primary-light: #d4e8ed;
2024-08-07 08:30:08 +00:00
--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;
2024-08-08 08:50:52 +00:00
--color-step1: #FEB82F;
--color-step2: #C6C851;
--color-step3: #8ED873;
--color-step4: #50cd89;
--color-step5: #429A7B;
--color-step6: #326F71;
--color-step7: #1e5c6b;
2024-08-07 08:30:08 +00:00
2024-08-08 08:50:52 +00:00
--primary-gradient: linear-gradient(to right, #49B1B5, rgba(0, 155, 76, 0.38));
2024-08-07 08:30:08 +00:00
}
::-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 {
2024-08-08 08:50:52 +00:00
/*padding-bottom: 200px;*/
2024-08-07 08:30:08 +00:00
}
2024-08-08 08:50:52 +00:00
button, input {
2024-08-07 08:30:08 +00:00
font-family: var(--font-poppins) !important;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: var(--font-poppins) !important;
}
2024-08-08 08:50:52 +00:00
.layer-bottom {
inset: inherit !important;
position: fixed !important;
bottom: 0 !important;
left: 0 !important;
height: 30px !important;
width: 100% !important;
}
.shadow-bottom {
width: 100%;
2024-08-07 08:30:08 +00:00
position: fixed;
bottom: 0;
left: 0;
2024-08-08 08:50:52 +00:00
height: 150px;
background: linear-gradient(to top, #fff, rgb(255 255 255 / 0%));
2024-08-07 08:30:08 +00:00
}
2024-08-08 08:50:52 +00:00
.button {
2024-08-07 08:30:08 +00:00
background: var(--primary-gradient);
border: none;
border-radius: 15px;
font-weight: 600;
font-size: 12px;
color: #fff;
2024-08-08 08:50:52 +00:00
padding: 5px 10px;
2024-08-07 08:30:08 +00:00
height: 30px;
2024-08-08 08:50:52 +00:00
text-decoration: none;
2024-08-07 08:30:08 +00:00
}
2024-08-08 08:50:52 +00:00
.btn-full {
text-align: center;
display: block;
2024-08-07 08:30:08 +00:00
width: 100%;
height: 40px;
2024-08-08 08:50:52 +00:00
padding: 10px;
2024-08-07 08:30:08 +00:00
}
2024-08-08 08:50:52 +00:00
.title-wrap {
position: relative;
2024-08-07 08:30:08 +00:00
display: flex;
justify-content: space-between;
margin-bottom: 20px;
2024-08-08 08:50:52 +00:00
margin-top: 60px;
2024-08-07 08:30:08 +00:00
2024-08-08 08:50:52 +00:00
.icon-label {
color: rgba(21, 155, 159, 0.10);
font-size: 52px;
position: absolute;
bottom: 7px;
}
.title {
2024-08-07 08:30:08 +00:00
font-size: 15px;
font-weight: 600;
color: var(--primary);
}
2024-08-08 08:50:52 +00:00
.sub-title {
2024-08-07 08:30:08 +00:00
font-size: 11px;
font-weight: 300;
color: var(--text-muted);
}
2024-08-08 08:50:52 +00:00
}
.no-data{
text-align: center;
padding: 30px 20px;
background: #f5f5f5;
width: 100%;
height: 100%;
border-radius: 20px;
2024-08-07 08:30:08 +00:00
2024-08-08 08:50:52 +00:00
.title {
color: var(--primary);
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
}
.icon{
font-size:44px;
color: var(--primary);
}
2024-08-07 08:30:08 +00:00
}
2024-08-08 08:50:52 +00:00
.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: #f5f5f5;
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: #f5f5f5;
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;
2024-08-07 08:30:08 +00:00
width: 100%;
color: #fff;
2024-08-08 08:50:52 +00:00
position: fixed;
top: 0;
z-index: 10;
2024-08-07 08:30:08 +00:00
display: flex;
justify-content: center; /* Horizontally center */
2024-08-08 08:50:52 +00:00
align-items: center; /* Vertically center */
2024-08-07 08:30:08 +00:00
/*border-radius: 0 0 50px 50px;*/
2024-08-08 08:50:52 +00:00
&.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;
2024-08-07 08:30:08 +00:00
}
2024-08-08 08:50:52 +00:00
.group-logo {
2024-08-07 08:30:08 +00:00
position: absolute;
top: 50px;
width: 100%;
left: 0;
z-index: 111;
}
2024-08-08 08:50:52 +00:00
.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: 10px;
top:10px;
z-index: 200;
width: 70%;
.form {
border-radius: 30px;
border: 1px solid #fff;
}
.ant-input-affix-wrapper > input.ant-input,
.ant-input-affix-wrapper > textarea.ant-input {
font-weight: 600 !important;
color: #353535 !important;
}
.anticon svg {
fill: var(--primary);
margin-right: 10px;
}
}
}
.header {
background: linear-gradient(to bottom, #49B1B5, #149A9F);
height: 200px;
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: 200px !important;
border: none !important;
z-index: 1;
height: unset !important;
}
.group-logo {
position: absolute !important;
top: 50px !important;
width: 100% !important;
left: 0 !important;
z-index: 111;
}
.logo {
2024-08-07 08:30:08 +00:00
margin-top: 80px;
2024-08-08 08:50:52 +00:00
img {
2024-08-07 08:30:08 +00:00
width: 300px;
}
2024-08-08 08:50:52 +00:00
.title {
font-weight: 400;
2024-08-07 08:30:08 +00:00
text-transform: capitalize;
}
}
2024-08-08 08:50:52 +00:00
.top-btn {
2024-08-07 08:30:08 +00:00
position: absolute;
top: 10px;
font-size: 14px;
background: rgba(255, 255, 255, 0.15);
border-radius: 50%;
width: 30px;
height: 30px;
text-align: center;
2024-08-08 08:50:52 +00:00
&.notification {
2024-08-07 08:30:08 +00:00
right: 45px;
}
2024-08-08 08:50:52 +00:00
&.close {
2024-08-07 08:30:08 +00:00
right: 10px;
}
}
2024-08-08 08:50:52 +00:00
.location {
2024-08-07 08:30:08 +00:00
margin-top: 10px;
position: absolute;
top: 5px;
left: 20px;
2024-08-08 08:50:52 +00:00
.title {
2024-08-07 08:30:08 +00:00
font-size: 12px;
font-weight: 300;
}
2024-08-08 08:50:52 +00:00
.value {
2024-08-07 08:30:08 +00:00
font-size: 12px;
font-weight: 400;
}
}
.search {
margin-top: 7px;
padding: 0 40px;
z-index: 200;
2024-08-08 08:50:52 +00:00
.form {
2024-08-07 08:30:08 +00:00
border-radius: 15px;
}
2024-08-08 08:50:52 +00:00
.ant-input-affix-wrapper > input.ant-input,
.ant-input-affix-wrapper > textarea.ant-input {
2024-08-07 08:30:08 +00:00
font-weight: 600 !important;
color: #353535 !important;
}
.anticon svg {
fill: var(--primary);
margin-right: 10px;
}
}
}
2024-08-08 08:50:52 +00:00
.omnichannel {
margin-top: 120px;
2024-08-07 08:30:08 +00:00
padding: 0 25px;
}
2024-08-08 08:50:52 +00:00
.card-omni {
2024-08-07 08:30:08 +00:00
/*background: #fff;*/
background: linear-gradient(to bottom, #fff, #f3feff);
border-radius: 20px;
text-align: center;
border: 1px solid #eeeeee;
padding: 10px 10px 20px;
/*box-shadow: 9px 10px 18px #d7d7d7;*/
2024-08-08 08:50:52 +00:00
.icon {
img {
width: 100% !important;
height: 35px !important;
2024-08-07 08:30:08 +00:00
object-fit: contain;
}
}
2024-08-08 08:50:52 +00:00
.title {
2024-08-07 08:30:08 +00:00
font-size: 9px;
font-weight: 500;
color: var(--text-muted);
2024-08-08 08:50:52 +00:00
height: 30px;
overflow: hidden;
2024-08-07 08:30:08 +00:00
}
}
2024-08-08 08:50:52 +00:00
.news {
2024-08-07 08:30:08 +00:00
margin-top: 30px;
padding: 0 25px;
2024-08-08 08:50:52 +00:00
.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;
}
}
2024-08-07 08:30:08 +00:00
.slider {
2024-08-08 08:50:52 +00:00
.berita {
2024-08-07 08:30:08 +00:00
border-radius: 20px;
background: #fff;
position: relative;
2024-08-08 08:50:52 +00:00
.img {
2024-08-07 08:30:08 +00:00
border-radius: 20px;
2024-08-08 08:50:52 +00:00
width: 100% !important;
height: 300px !important;
2024-08-07 08:30:08 +00:00
object-fit: cover;
}
2024-08-08 08:50:52 +00:00
.layer-berita {
2024-08-07 08:30:08 +00:00
background: linear-gradient(to top, #49B1B5, rgba(255, 255, 255, 0.06));
height: 100%;
width: 100%;
position: absolute;
border-radius: 20px;
2024-08-08 08:50:52 +00:00
z-index: 1;
2024-08-07 08:30:08 +00:00
}
2024-08-08 08:50:52 +00:00
.content-berita {
2024-08-07 08:30:08 +00:00
position: absolute;
bottom: 10px;
left: 10px;
padding: 40px 20px;
2024-08-08 08:50:52 +00:00
z-index: 2;
2024-08-07 08:30:08 +00:00
}
2024-08-08 08:50:52 +00:00
.category {
2024-08-07 08:30:08 +00:00
margin-bottom: 5px;
font-weight: 600;
font-size: 12px;
color: var(--dark);
}
2024-08-08 08:50:52 +00:00
.title {
2024-08-07 08:30:08 +00:00
color: #fff;
font-size: 16px;
font-weight: 400;
}
2024-08-08 08:50:52 +00:00
.subtitle {
2024-08-07 08:30:08 +00:00
margin-top: 5px;
color: rgba(255, 255, 255, 0.73);
font-size: 11px;
2024-08-08 08:50:52 +00:00
.sumber {
2024-08-07 08:30:08 +00:00
font-weight: 600;
}
}
}
}
2024-08-08 08:50:52 +00:00
.list-news {
2024-08-07 08:30:08 +00:00
margin-top: 10px;
2024-08-08 08:50:52 +00:00
.content-list-news {
2024-08-07 08:30:08 +00:00
margin-bottom: 10px;
display: flex;
gap: 15px;
background: #f5f5f5;
padding: 10px 10px 5px;
border-radius: 15px;
2024-08-08 08:50:52 +00:00
.image {
2024-08-07 08:30:08 +00:00
border-radius: 10px;
2024-08-08 08:50:52 +00:00
width: 60px !important;
height: 60px !important;
2024-08-07 08:30:08 +00:00
object-fit: cover;
}
.category {
font-weight: 400;
font-size: 11px;
color: var(--primary);
}
2024-08-08 08:50:52 +00:00
.title {
2024-08-07 08:30:08 +00:00
font-size: 13px;
font-weight: 500;
margin-bottom: 5px;
}
2024-08-08 08:50:52 +00:00
.subtitle {
2024-08-07 08:30:08 +00:00
font-size: 10px;
2024-08-08 08:50:52 +00:00
.sumber {
2024-08-07 08:30:08 +00:00
font-weight: 600;
}
}
}
}
2024-08-08 08:50:52 +00:00
}
.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;
}
2024-08-07 08:30:08 +00:00
}