_shortcuts.scss 1.3 KB

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