12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- .row {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .row:not(:last-child) {
- margin-bottom: 16px;
- }
- .value {
- font-size: 78px;
- padding-left: 16px;
- padding-right: 16px;
- margin-top: 2px;
- font-family: 'Courier New', Courier, monospace;
- }
- .button {
- appearance: none;
- border: none;
- background: none;
- font-size: 32px;
- padding-left: 12px;
- padding-right: 12px;
- outline: none;
- border: 2px solid transparent;
- color: rgb(112, 76, 182);
- padding-bottom: 4px;
- cursor: pointer;
- background-color: rgba(112, 76, 182, 0.1);
- border-radius: 2px;
- transition: all 0.15s;
- }
- .textbox {
- font-size: 32px;
- padding: 2px;
- width: 64px;
- text-align: center;
- margin-right: 8px;
- }
- .button:hover,
- .button:focus {
- border: 2px solid rgba(112, 76, 182, 0.4);
- }
- .button:active {
- background-color: rgba(112, 76, 182, 0.2);
- }
- .asyncButton {
- composes: button;
- position: relative;
- margin-left: 8px;
- }
- .asyncButton:after {
- content: '';
- background-color: rgba(112, 76, 182, 0.15);
- display: block;
- position: absolute;
- width: 100%;
- height: 100%;
- left: 0;
- top: 0;
- opacity: 0;
- transition: width 1s linear, opacity 0.5s ease 1s;
- }
- .asyncButton:active:after {
- width: 0%;
- opacity: 1;
- transition: 0s;
- }
|