105 lines
3.3 KiB
Plaintext
105 lines
3.3 KiB
Plaintext
// out: false, sourceMap: false, main: ../style.less
|
|
@import "colors.less";
|
|
.keypad {
|
|
width: 320px;
|
|
height: 416px;
|
|
border-radius: 2px;
|
|
background-color: @color-silver;
|
|
box-shadow: 2px 10px 15px 0 @color-black-40;
|
|
position: relative;
|
|
header {
|
|
height: 64px;
|
|
width: 100%;
|
|
background-color: #fff;
|
|
box-shadow: 0 1px 2px 0 @color-black-40;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
&>i {
|
|
width: 20px;
|
|
font-size: 32px;
|
|
margin: 0 5px;
|
|
color: @color-blue;
|
|
text-align: center;
|
|
}
|
|
span {
|
|
text-align: left;
|
|
flex-grow: 2;
|
|
text-transform: capitalize;
|
|
color: @color-greyish-brown;
|
|
font-weight: 600;
|
|
}
|
|
button {
|
|
background: none;
|
|
border: none;
|
|
margin-right: 8px;
|
|
i {
|
|
font-size: 32px;
|
|
color: @color-blue;
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
.body {
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: center;
|
|
height: calc(~"100% - 64px");
|
|
.display {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-top: 23px;
|
|
margin-bottom: 25px;
|
|
height: 48px;
|
|
button {
|
|
width: 48px;
|
|
height: 48px;
|
|
margin: 0 !important;
|
|
border: none;
|
|
padding: 0 !important;
|
|
font-size: 18px !important;
|
|
font-weight: normal !important;
|
|
line-height: 48px;
|
|
}
|
|
input {
|
|
width: calc(~"144px - 40px");
|
|
height: 48px;
|
|
border-radius: 2px;
|
|
background-color: @color-whitetwo;
|
|
box-shadow: inset 0 1px 3px 0 @color-black-50;
|
|
border: solid 1px @color-white3;
|
|
padding: 0 20px;
|
|
text-align: right;
|
|
font-size: 18px;
|
|
color: @color-greyish-brown;
|
|
}
|
|
}
|
|
.buttons {
|
|
height: calc(~"100% - 96px");
|
|
width: 256px;
|
|
border-spacing: 8px;
|
|
margin: -8px;
|
|
td {
|
|
width: 25%;
|
|
}
|
|
button {
|
|
padding: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
margin: 0 !important;
|
|
font-size: 18px !important;
|
|
font-weight: normal !important;
|
|
&.blue {
|
|
background-image: linear-gradient(to bottom, @color-nice-blue, @color-darkish-blue);
|
|
color: #ffffff;
|
|
}
|
|
&.rotate-90 i {
|
|
transform: rotate(90deg);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|