omnichannel-next/src/app/globals.css

391 lines
7.9 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;
--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));
}
::-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{
position: fixed;
bottom: 0;
left: 0;
}
.button{
background: var(--primary-gradient);
border: none;
border-radius: 15px;
font-weight: 600;
font-size: 12px;
color: #fff;
padding: 1px 10px;
height: 30px;
}
.btn-full{
width: 100%;
height: 40px;
}
.title-wrap{
display: flex;
justify-content: space-between;
margin-bottom: 20px;
.title{
font-size: 15px;
font-weight: 600;
color: var(--primary);
}
.sub-title{
font-size: 11px;
font-weight: 300;
color: var(--text-muted);
}
}
.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;*/
.layer{
position: absolute;
width: 100%;
left: 0;
bottom: 0px;
top: 200px;
border: none;
z-index: 1;
}
.group-logo{
position: absolute;
top: 50px;
width: 100%;
left: 0;
z-index: 111;
}
.logo{
margin-top: 80px;
img{
width: 300px;
}
.title{
font-weight:400;
text-transform: capitalize;
}
}
.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{
margin-top: 10px;
position: absolute;
top: 5px;
left: 20px;
.title{
font-size: 12px;
font-weight: 300;
}
.value{
font-size: 12px;
font-weight: 400;
}
}
.search {
margin-top: 7px;
padding: 0 40px;
z-index: 200;
.form{
border-radius: 15px;
}
.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;
}
}
}
.omnichannel{
margin-top: 110px;
padding: 0 25px;
.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;
}
}
}
.card-omni{
/*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;*/
.icon{
img{
width: 100%;
height: 35px;
object-fit: contain;
}
}
.title{
font-size: 9px;
font-weight: 500;
color: var(--text-muted);
}
}
.news{
margin-top: 30px;
padding: 0 25px;
.slider {
.berita{
border-radius: 20px;
background: #fff;
position: relative;
.img{
border-radius: 20px;
width: 100%;
height: 300px;
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;
}
.content-berita{
position: absolute;
bottom: 10px;
left: 10px;
padding: 40px 20px;
}
.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: #f5f5f5;
padding: 10px 10px 5px;
border-radius: 15px;
.image{
border-radius: 10px;
width: 60px;
height: 60px;
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;
}
}
}
}
}