$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: 32px; margin-left: 5px; } .button_size_h_48{ height: 48px; margin-left: 5px; } .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_8{ border-radius: 8px; } .button_border_radius_30{ border-radius: 30px; } .button { 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; margin-left: 5px; -webkit-border-radius: 8px; -moz-border-radius: 8px; -ms-border-radius: 8px; -o-border-radius: 8px; } .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; }