123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- /*-----------------------------------------------------------------------------
- | Variables
- |----------------------------------------------------------------------------*/
- :root {
- --jp-flat-button-height: 24px;
- --jp-flat-button-padding: 8px 12px;
- }
- /*-----------------------------------------------------------------------------
- | Copyright (c) Jupyter Development Team.
- | Distributed under the terms of the Modified BSD License.
- |----------------------------------------------------------------------------*/
- button {
- border-radius: var(--jp-border-radius);
- }
- button.jp-mod-styled.jp-mod-accept {
- background: var(--md-blue-500);
- border: 0;
- color: white;
- }
- button.jp-mod-styled.jp-mod-accept:hover {
- background: var(--md-blue-600);
- }
- button.jp-mod-styled.jp-mod-accept:active {
- background: var(--md-blue-700);
- }
- button.jp-mod-styled.jp-mod-reject {
- background: var(--md-grey-500);
- border: 0;
- color: white;
- }
- button.jp-mod-styled.jp-mod-reject:hover {
- background: var(--md-grey-600);
- }
- button.jp-mod-styled.jp-mod-reject:active {
- background: var(--md-grey-700);
- }
- button.jp-mod-styled.jp-mod-warn {
- background: var(--jp-error-color1);
- border: 0;
- color: white;
- }
- button.jp-mod-styled.jp-mod-warn:hover {
- background: var(--md-red-600);
- }
- button.jp-mod-styled.jp-mod-warn:active {
- background: var(--md-red-700);
- }
- .jp-Button-flat {
- text-decoration: none;
- padding: var(--jp-flat-button-padding);
- color: var(--jp-warn-color1);
- font-weight: 500;
- background-color: transparent;
- height: var(--jp-private-running-shutdown-button-height);
- line-height: var(--jp-private-running-shutdown-button-height);
- transition: background-color 0.1s ease;
- border-radius: 2px;
- }
- .jp-Button-flat:hover {
- background-color: rgba(153, 153, 153, 0.1);
- }
- .jp-Button-flat:focus {
- border: none;
- box-shadow: none;
- background-color: rgba(153, 153, 153, 0.2);
- }
|