You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
pizza.krasnikov.pro/.history/styles/components/UX/Button_20220616185837.scss

90 lines
1.5 KiB

$color_melon: #F5F1E1;
$color_hover: #ac9437;
$color_yellow: #FED11E;
$color_none: #dad9d8;
.melon{
background-color: $color_melon;
height: 50px;
padding: 14px 22px;
min-width: 150px;
margin-right: 15px;
}
.button_size_32{
height: 48px;
}
.button_size_48{
height: 48px;
width: 255px;
font-size: 18px;
}
.yellow{
background-color: $color_yellow;
padding: 5px 15px 5px 15px;
}
.none{
background-color: $color_none;
height: 32px;
padding: 5px 15px 5px 15px;
}
.button_align_right{
text-align: right;
}
.button_align_center{
text-align: center;
}
.button_box{
/*margin-bottom: 10px;*/
}
.button {
border-radius: 8px;
border-style: none;
box-shadow: none;
box-sizing: border-box;
color: rgb(0, 0, 0);
cursor: pointer;
display: inline-block;
font-weight: 500;
letter-spacing: normal;
line-height: 1.5;
outline: none;
overflow: hidden;
position: relative;
text-align: center;
text-decoration: none;
transform: translate3d(0, 0, 0);
touch-action: manipulation;
vertical-align: top;
white-space: nowrap;
padding: 10px;
}
.button:hover {
background-color: $color_hover;
box-shadow: rgba(0, 0, 0, .05) 0 5px 30px, rgba(0, 0, 0, .05) 0 1px 4px;
opacity: 1;
transform: translateY(0);
transition-duration: .35s;
}
.button:hover:after {
opacity: .5;
}
.button:active {
box-shadow: rgba(0, 0, 0, .1) 0 3px 6px 0, rgba(0, 0, 0, .1) 0 0 10px 0, rgba(0, 0, 0, .1) 0 1px 4px -1px;
transform: translateY(2px);
transition-duration: .35s;
}
.button:active:after {
opacity: 1;
}