2
0

_shortcuts.scss 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. #shortcuts-modal {
  2. h3 {
  3. margin-bottom: 1em;
  4. }
  5. table {
  6. th {
  7. vertical-align: middle;
  8. }
  9. td {
  10. min-width: 170px;
  11. }
  12. }
  13. @include media-breakpoint-up(sm) {
  14. table {
  15. table-layout: fixed;
  16. th {
  17. width: 170px;
  18. }
  19. }
  20. }
  21. // see http://coliss.com/articles/build-websites/operation/css/css-apple-keyboard-style-by-nrjmadan.html
  22. .key {
  23. /*Box Properties*/
  24. display: inline-block;
  25. width: 36px;
  26. height: 36px;
  27. margin: 0px 4px;
  28. /*Text Properties*/
  29. font: 18px/36px Helvetica, serif;
  30. color: $secondary;
  31. text-align: center;
  32. text-transform: uppercase;
  33. background: white;
  34. border-radius: 4px;
  35. box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.5);
  36. /* SVG Properties*/
  37. polygon {
  38. fill: $secondary;
  39. }
  40. &.key-longer {
  41. width: 64px;
  42. }
  43. &.key-long {
  44. width: 72px;
  45. }
  46. &.key-small {
  47. width: 24px;
  48. height: 24px;
  49. margin: 4px 2px;
  50. font-size: 18px;
  51. line-height: 22px;
  52. }
  53. }
  54. .dl-horizontal {
  55. dt {
  56. display: flex;
  57. align-items: center;
  58. justify-content: flex-end;
  59. // width: 180px;
  60. height: 41px;
  61. }
  62. // dd {
  63. // margin-left: 190px;
  64. // }
  65. }
  66. }