base.css 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. }
  33. .jp-Toolbar-item.jp-LogConsole-toolbarLogLevel {
  34. align-items: center;
  35. padding: 0px 6px;
  36. }
  37. /* Matches the disabled style elsewhere in JupyterLab */
  38. .jp-LogConsole-toolbarLogLevel-disabled {
  39. opacity: 0.4;
  40. cursor: not-allowed;
  41. }
  42. /* Copied from the notebook cell type dropdown styling */
  43. .jp-LogConsole-toolbarLogLevelDropdown select {
  44. height: 24px;
  45. font-size: var(--jp-ui-font-size1);
  46. line-height: 14px;
  47. border-radius: 0;
  48. display: block;
  49. }
  50. /* Copied from the notebook cell type dropdown styling */
  51. .jp-LogConsole-toolbarLogLevelDropdown span {
  52. top: 5px !important;
  53. }