Skip to content

Commit 94fb987

Browse files
committed
Style the confirmation box and make code snippet panel scrollable
1 parent ceabd92 commit 94fb987

File tree

1 file changed

+60
-4
lines changed

1 file changed

+60
-4
lines changed

style/index.css

Lines changed: 60 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
* limitations under the License.
1515
*/
1616

17-
/* #elyra-code-snippet-extension {
18-
background-color: #fff;
19-
} */
17+
#code-snippet-extension {
18+
overflow: scroll;
19+
}
2020

2121
.elyra-codeSnippetsHeader {
2222
font-weight: bold;
@@ -46,4 +46,60 @@
4646
word-wrap: normal;
4747
overflow-x: scroll;
4848
}
49-
49+
50+
.jp-confirm {
51+
position: absolute;
52+
z-index: 10000;
53+
display: flex;
54+
flex-direction: column;
55+
align-items: center;
56+
justify-content: center;
57+
top: 0px;
58+
left: 0px;
59+
margin: 0;
60+
padding: 0;
61+
width: 100%;
62+
height: 100%;
63+
background: var(--jp-dialog-background);
64+
65+
}
66+
67+
.jp-Dialog-content {
68+
resize: both;
69+
}
70+
71+
.jp-Dialog-content {
72+
max-width: 100vw;
73+
max-height: 100vh;
74+
}
75+
76+
.jp-Message-content {
77+
display: flex;
78+
flex-direction: column;
79+
background: var(--jp-layout-color1);
80+
padding: 10px;
81+
border: 3px solid #388E3C;
82+
min-width: 250px;
83+
max-width: 1000px;
84+
box-sizing: border-box;
85+
box-shadow: var(--jp-elevation-z20);
86+
word-wrap: break-word;
87+
border-radius: var(--jp-border-radius);
88+
font-size: var(--jp-ui-font-size1);
89+
color: var(--jp-ui-font-color1);
90+
margin: auto 6px 30px auto;
91+
}
92+
93+
.jp-Message-body {
94+
display: flex;
95+
align-items: center;
96+
}
97+
98+
.jp-confirm-text{
99+
width: 183px;
100+
font-family: helvetica;
101+
font-style: normal;
102+
font-weight: normal;
103+
font-size: 13px;
104+
text-align: center;
105+
}

0 commit comments

Comments
 (0)