Commit 9127911099bdabac1bf94b9c928fa8806b16b2fb
1 parent
e1555fb8e9
Exists in
master
and in
1 other branch
Primera versión estable
Showing
3 changed files
with
2 additions
and
4 deletions
Show diff stats
src/sass/_teclado.scss
| 1 | |||
| 2 | .keyboard { | 1 | .keyboard { |
| 3 | -webkit-touch-callout: none; | 2 | -webkit-touch-callout: none; |
| 4 | -webkit-user-select: none; | 3 | -webkit-user-select: none; |
| 5 | -khtml-user-select: none; | 4 | -khtml-user-select: none; |
| 6 | -moz-user-select: none; | 5 | -moz-user-select: none; |
| 7 | -ms-user-select: none; | 6 | -ms-user-select: none; |
| 8 | user-select: none; | 7 | user-select: none; |
| 9 | 8 | ||
| 10 | table { | 9 | table { |
| 11 | border-spacing: 10px; | 10 | border-spacing: 10px; |
| 12 | border-collapse: separate; | 11 | border-collapse: separate; |
| 13 | background-color: #F1F1F1; | 12 | background-color: #F1F1F1; |
| 14 | 13 | ||
| 15 | td{ | 14 | td{ |
| 16 | touch-action: none; | 15 | touch-action: none; |
| 17 | } | 16 | } |
| 18 | } | 17 | } |
| 19 | 18 | ||
| 20 | .letter { | 19 | .letter { |
| 21 | background-color: #bdbdbd; | 20 | background-color: #bdbdbd; |
| 22 | box-shadow: 2px 2px 3px #555555; | 21 | box-shadow: 2px 2px 3px #555555; |
| 23 | width: 47px; | 22 | width: 47px; |
| 24 | height: 50px; | 23 | height: 50px; |
| 25 | text-align: center; | 24 | text-align: center; |
| 26 | font-family: "arial"; | 25 | font-family: "arial"; |
| 27 | cursor: pointer; | 26 | cursor: pointer; |
| 28 | color: #000; | 27 | color: #000; |
| 29 | font-size: 22px; | 28 | font-size: 22px; |
| 30 | 29 | ||
| 31 | &:hover{ | 30 | &:hover{ |
| 32 | background-color: #fafafa; | 31 | background-color: #fafafa; |
| 33 | } | 32 | } |
| 34 | &:active { | 33 | &:active { |
| 35 | background-color: #999; | 34 | background-color: #999; |
| 36 | color: #fff; | 35 | color: #fff; |
| 37 | } | 36 | } |
| 38 | } | 37 | } |
| 39 | .number { | 38 | .number { |
| 40 | background-color: #bdbdbd; | 39 | background-color: #bdbdbd; |
| 41 | box-shadow: 2px 2px 3px #555555; | 40 | box-shadow: 2px 2px 3px #555555; |
| 42 | width: 47px; | 41 | width: 47px; |
| 43 | height: 35px; | 42 | height: 35px; |
| 44 | text-align: center; | 43 | text-align: center; |
| 45 | font-family: "arial"; | 44 | font-family: "arial"; |
| 46 | cursor: pointer; | 45 | cursor: pointer; |
| 47 | color: #000; | 46 | color: #000; |
| 48 | font-size: 22px; | 47 | font-size: 22px; |
| 49 | 48 | ||
| 50 | &:hover{ | 49 | &:hover{ |
| 51 | background-color: #fafafa; | 50 | background-color: #fafafa; |
| 52 | } | 51 | } |
| 53 | &:active { | 52 | &:active { |
| 54 | background-color: #999; | 53 | background-color: #999; |
| 55 | color: #fff; | 54 | color: #fff; |
| 56 | } | 55 | } |
| 57 | } | 56 | } |
| 58 | 57 | ||
| 59 | .margin { | 58 | .margin { |
| 60 | width: 40px; | 59 | width: 40px; |
| 61 | height: 50px; | 60 | height: 50px; |
| 62 | } | 61 | } |
| 63 | } |
src/sass/general.scss
| 1 | @import 'teclado'; | ||
| 1 | @import 'teclado'; |
src/views/teclado.html
| 1 | |||
| 2 | <on-screen-keyboard rows="rows" alfanumeric="$ctrl.alfanumeric" numeric="$ctrl.numeric"></on-screen-keyboard> | 1 | <on-screen-keyboard rows="rows" alfanumeric="$ctrl.alfanumeric" numeric="$ctrl.numeric"></on-screen-keyboard> |
| 3 | 2 |