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/block/PizzaCard_20220615045903.scss

94 lines
2.2 KiB

.modal_product{
height: 533px;
width: 900px;
}
.modal_body_left{
margin: 0 auto;
float: left;
position: static;
display: flex;
justify-content: center; /*Центрирование по горизонтали*/
align-items: center; /*Центрирование по вертикали */
width: 400px;
}
.modal_body_right{
background: #F7F7F7;
width: 450px;
display: table;
float: left;
position: static;
}
.modal_header{
height: 450px;
}
.position_product{
padding-top: 100px;
margin: 0 auto;
}
.pizza-block {
display: block ruby;
margin-bottom: 15px;
margin-left: 15px;
border-spacing: 0;
border-collapse: separate;
&__selector {
display: table-cell;
height: 26px;
vertical-align: middle;
text-align: center;
position: relative;
padding-left: 8px;
padding-right: 8px;
border-radius: 32px;
-moz-transition: border 250ms, color 250ms;
-o-transition: border 250ms, color 250ms;
-webkit-transition: border 250ms, color 250ms;
transition: border 250ms, color 250ms;
cursor: pointer;
ul {
content: " ";
display: block;
position: absolute;
top: -1px;
width: 100%;
height: 100%;
border-radius: 12px;
transform: translate3d(-103%, 0, 0);
transition: all 250ms;
color: #fff;
&:first-of-type {
margin-bottom: 6px;
}
li {
padding: 8px;
flex: 1;
cursor: pointer;
font-weight: 600;
font-size: 14px;
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome, Opera and Firefox */
&.active {
background: #FED11E;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.04);
border-radius: 5px;
cursor: auto;
}
}
}
}
}