keybinding-resolver.less 987 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. @import "ui-variables";
  2. @import "octicon-mixins";
  3. .key-binding-resolver {
  4. overflow: auto;
  5. .panel-heading {
  6. position: sticky;
  7. top: 0;
  8. z-index: 1;
  9. }
  10. .panel-body {
  11. padding: 0 @component-padding;
  12. }
  13. table {
  14. tr:not(:last-child) {
  15. border-bottom: 1px solid @base-border-color;
  16. }
  17. .used {
  18. color: @text-color-success;
  19. }
  20. .unused {
  21. color: @text-color;
  22. }
  23. .unmatched {
  24. color: @text-color-subtle;
  25. }
  26. // move icon so text is aligned when wrapped
  27. .command {
  28. padding-left: @component-icon-size;
  29. &:before {
  30. position: absolute;
  31. margin-left: -@component-icon-size;
  32. }
  33. }
  34. .used .command,
  35. .unused .command {
  36. .octicon(check);
  37. }
  38. .unmatched .command {
  39. .octicon(x);
  40. }
  41. .command,
  42. .selector,
  43. .source {
  44. min-width: 10em;
  45. word-break: break-word; // wrap long path names
  46. }
  47. .source {
  48. cursor: pointer;
  49. }
  50. }
  51. }