ShortcutsModal.module.scss 1.3 KB

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