base.css 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) Jupyter Development Team.
  3. | Distributed under the terms of the Modified BSD License.
  4. |----------------------------------------------------------------------------*/
  5. .jp-LogConsoleIcon {
  6. background-image: var(--jp-icon-list);
  7. }
  8. @keyframes flash {
  9. 0% {
  10. background-color: var(--jp-brand-color1);
  11. }
  12. 50% {
  13. color: unset;
  14. background-color: unset;
  15. }
  16. 100% {
  17. background-color: var(--jp-brand-color1);
  18. }
  19. }
  20. .jp-LogConsoleStatusItem.jp-LogConsole-flash {
  21. animation: flash 300ms both;
  22. }
  23. .jp-LogConsoleStatusItem.jp-mod-selected {
  24. background-color: var(--jp-brand-color1);
  25. }
  26. /* Need to be very specific to override the typestyle styles on status bar components */
  27. .jp-LogConsoleStatusItem.jp-mod-selected,
  28. .jp-LogConsoleStatusItem.jp-mod-selected div,
  29. .jp-LogConsoleStatusItem.jp-mod-selected div span {
  30. color: white;
  31. }
  32. .jp-LogConsole .jp-ClearIcon {
  33. transform: rotate(90deg);
  34. margin-top: -1px;
  35. }
  36. .jp-Toolbar-item.jp-LogConsole-toolbarLogLevel {
  37. align-items: center;
  38. padding: 0px 6px;
  39. }
  40. /* Matches the disabled style elsewhere in JupyterLab */
  41. .jp-LogConsole-toolbarLogLevel-disabled {
  42. opacity: 0.4;
  43. cursor: not-allowed;
  44. }
  45. /* Copied from the notebook cell type dropdown styling */
  46. .jp-LogConsole-toolbarLogLevelDropdown select {
  47. height: 24px;
  48. font-size: var(--jp-ui-font-size1);
  49. line-height: 14px;
  50. border-radius: 0;
  51. display: block;
  52. }
  53. /* Copied from the notebook cell type dropdown styling */
  54. .jp-LogConsole-toolbarLogLevelDropdown span {
  55. top: 5px !important;
  56. }