123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- /*-----------------------------------------------------------------------------
- | Copyright (c) 2014-2017, Jupyter Development Team.
- |
- | Distributed under the terms of the Modified BSD License.
- |----------------------------------------------------------------------------*/
- .jp-Dialog {
- position: absolute;
- z-index: 10000;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- top: 0px;
- left: 0px;
- margin: 0;
- padding: 0;
- width: 100%;
- height: 100%;
- background: var(--jp-dialog-background);
- }
- .jp-Dialog-content {
- display: flex;
- flex-direction: column;
- margin-left: auto;
- margin-right: auto;
- background: var(--jp-layout-color1);
- padding: 24px 24px 12px 24px;
- min-width: 300px;
- min-height: 150px;
- max-width: 1000px;
- max-height: 500px;
- box-sizing: border-box;
- box-shadow: var(--jp-elevation-z20);
- word-wrap: break-word;
- border-radius: var(--jp-border-radius);
- /* This is needed so that all font sizing of children done in ems is
- * relative to this base size */
- font-size: var(--jp-ui-font-size1);
- color: var(--jp-ui-font-color1);
- resize: both;
- }
- .jp-Dialog-content.jp-Dialog-content-small {
- max-width: 500px;
- }
- .jp-Dialog-button {
- overflow: visible;
- }
- button.jp-Dialog-button:focus {
- outline: 1px solid var(--jp-brand-color1);
- outline-offset: 4px;
- -moz-outline-radius: 0px;
- }
- button.jp-Dialog-button:focus::-moz-focus-inner {
- border: 0;
- }
- button.jp-Dialog-button.jp-mod-styled.jp-mod-accept:focus,
- button.jp-Dialog-button.jp-mod-styled.jp-mod-warn:focus,
- button.jp-Dialog-button.jp-mod-styled.jp-mod-reject:focus {
- outline-offset: 4px;
- -moz-outline-radius: 0px;
- }
- button.jp-Dialog-button.jp-mod-styled.jp-mod-accept:focus {
- outline: 1px solid var(--md-blue-700);
- }
- button.jp-Dialog-button.jp-mod-styled.jp-mod-warn:focus {
- outline: 1px solid var(--md-red-600);
- }
- button.jp-Dialog-button.jp-mod-styled.jp-mod-reject:focus {
- outline: 1px solid var(--md-grey-700);
- }
- button.jp-Dialog-close-button {
- padding: 0;
- height: 100%;
- min-width: unset;
- min-height: unset;
- }
- .jp-Dialog-header {
- display: flex;
- justify-content: space-between;
- flex: 0 0 auto;
- padding-bottom: 12px;
- font-size: var(--jp-ui-font-size3);
- font-weight: 400;
- color: var(--jp-ui-font-color0);
- }
- .jp-Dialog-body {
- display: flex;
- flex-direction: column;
- flex: 1 1 auto;
- font-size: var(--jp-ui-font-size1);
- background: var(--jp-layout-color1);
- overflow: auto;
- }
- .jp-Dialog-footer {
- display: flex;
- flex-direction: row;
- justify-content: flex-end;
- flex: 0 0 auto;
- margin-left: -12px;
- margin-right: -12px;
- padding: 12px;
- }
- .jp-Dialog-title {
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- .jp-Dialog-body > .jp-select-wrapper {
- width: 100%;
- }
- .jp-Dialog-body > button {
- padding: 0px 16px;
- }
- .jp-Dialog-body > label {
- line-height: 1.4;
- color: var(--jp-ui-font-color0);
- }
- .jp-Dialog-button.jp-mod-styled:not(:last-child) {
- margin-right: 12px;
- }
|