Berkarar/themes/berkarar/assets/css/components/3-page/bills.scss

198 lines
4.3 KiB
SCSS
Raw Normal View History

2022-08-28 19:50:26 +00:00
// Bills ========================
.bill {
2023-08-11 11:34:25 +00:00
padding: 40px 0 80px;
2022-08-28 19:50:26 +00:00
&_box {
display: flex;
align-items: flex-start;
}
&_aside {
background: $black;
padding: 32px;
border-radius: 5px;
width: 390px;
margin-right: 40px;
&-title {
cursor: pointer;
font-weight: 700;
font-size: 24px;
line-height: 29px;
color: #FFFFFF;
2023-08-11 11:34:25 +00:00
margin-bottom: 50px;
2022-08-28 19:50:26 +00:00
position: relative;
display: block;
@include transition;
2023-08-11 11:34:25 +00:00
&:last-child {
margin-bottom: 0;
2022-08-28 19:50:26 +00:00
2023-08-11 11:34:25 +00:00
}
2022-08-28 19:50:26 +00:00
&:hover {
color: $yellow;
}
&.active {
color: $yellow;
&::after {
content: '';
position: absolute;
2023-08-11 11:34:25 +00:00
bottom: -25px;
2022-08-28 19:50:26 +00:00
left: 0;
width: 100%;
height: 1px;
background: $yellow;
}
}
}
}
&_info {
width: calc(100% - 430px);
max-width: 870px;
}
&_item {
display: flex;
align-items: center;
justify-content: space-between;
border-top: 1px solid rgba(23, 23, 23, 0.5);
border-radius: 5px;
background: rgba(23, 23, 23, 0.05);
padding: 15px;
@include transition;
&:hover {
box-shadow: 3px 3px 5px 5px rgb(90 90 90 / 10%), -3px -3px 5px 5px rgb(90 90 90 / 10%);
// transform: translateY(-0.6px);
background: $yellow;
}
&.downloaded {
background: #fff;
}
&>div {
display: flex;
align-items: center;
max-width: calc(100% - 220px);
p {
font-weight: 700;
font-size: 18px;
line-height: 22px;
color: $black;
margin-right: 24px;
&:last-child {
margin-right: 0;
}
}
}
&-link {
display: flex;
align-items: center;
font-weight: 400;
font-size: 18px;
line-height: 22px;
color: $black;
text-decoration: underline;
@include transition;
&:hover {
color: RoyalBlue;
span {
path {
fill: RoyalBlue;
}
}
}
span {
width: 24px;
height: 24px;
margin-right: 10px;
display: block;
svg {
@include ImgCon;
path {
@include transition;
}
}
}
}
}
&_form {
display: flex;
flex-wrap: wrap;
margin: -15px -20px;
}
&_input {
width: calc(50% - 40px);
margin: 15px 20px;
display: block;
position: relative;
label {
display: block;
font-weight: 700;
font-size: 18px;
line-height: 22px;
margin-bottom: 10px;
}
input {
font-weight: 400;
font-size: 18px;
line-height: 22px;
border: 1px solid rgba(23, 23, 23, 0.5);
border-radius: 5px;
padding: 14px 16px;
width: calc(100% - 34px);
&::placeholder {
color: rgba(23, 23, 23, 0.5);
}
}
}
&_btn {
width: 100%;
margin: 15px 20px;
button {
display: inline-block;
padding: 15px 10px;
font-weight: 700;
font-size: 18px;
line-height: 22px;
color: $black;
background: $yellow;
max-width: 240px;
width: calc(100% - 20px);
border-radius: 5px;
cursor: pointer;
@include transition;
&:hover {
background: $gray;
color: $yellow;
}
}
}
}
// Bills end ====================