base.css 1.5 KB

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