issues/28440

video_transcode
harry 5 years ago
parent 0efcf52285
commit 998daadeb6

@ -1,58 +1,67 @@
.tab_ctx_area{ .tab_ctx_area {
display: flex; display: flex;
height: 100%; height: 100%;
color: #666; color: #666;
font-size: 14px; font-size: 14px;
&.pos_start{
&.pos_start {
justify-content: flex-start; justify-content: flex-start;
} }
&.pos_center{
&.pos_center {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
&.pos_end{
&.pos_end {
justify-content: flex-end; justify-content: flex-end;
} }
.ctx_default{
.ctx_default {
margin: 10px 20px; margin: 10px 20px;
} }
.ctx_loading, .ctx_loading,
.ctx_loaded{ .ctx_loaded {
display: flex; display: flex;
position: relative; position: relative;
flex-direction: column; flex-direction: column;
top: -20px; top: -20px;
color: #1890ff; color: #1890ff;
.ctx_icon{
.ctx_icon {
font-size: 40px; font-size: 40px;
margin-bottom: 10px; margin-bottom: 10px;
} }
} }
} }
.user_case_form{ .user_case_form {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
margin-top: 20px; padding-top: 20px;
.input_area{
.input_area {
flex: 1; flex: 1;
.ant-form-item-required{
.ant-form-item-required {
color: #fff; color: #fff;
} }
} }
.flex_l{
.flex_l {
padding: 0 10px 0 10px; padding: 0 10px 0 10px;
color: #fff; color: #fff;
} }
.flex_r{
.flex_r {
padding: 0 20px 0 10px; padding: 0 20px 0 10px;
} }
.input_textarea_style{ .input_textarea_style {
// background:rgba(30,30,30,1) !important; background: rgba(7, 15, 25, 1) !important;
background:rgba(7,15,25,1) !important;
color: #fff; color: #fff;
border-color: transparent; border: 0px solid transparent !important;
outline: none; outline: none;
} }
} }

@ -150,7 +150,6 @@ function MyMonacoEditor(props, ref) {
onChange={onChangeHandler} onChange={onChangeHandler}
/> />
</div> </div>
<Drawer <Drawer
className={'setting_drawer'} className={'setting_drawer'}
placement="right" placement="right"
@ -164,6 +163,7 @@ function MyMonacoEditor(props, ref) {
/> />
<SettingDrawer {...opacitySetting} /> <SettingDrawer {...opacitySetting} />
</Drawer> </Drawer>
</React.Fragment> </React.Fragment>
) )
}; };

@ -1,12 +1,19 @@
.user_case_form,
.excute_result_area {
background-color: rgba(7, 15, 25, 1);
}
.monaco_editor_area { .monaco_editor_area {
height: 100%; height: 100%;
background-color: rgba(7, 15, 25, 1);
.code_title { .code_title {
display: flex; display: flex;
align-items: center; align-items: center;
background-color: rgba(18, 28, 36, 1);
color: #fff; color: #fff;
height: 56px; height: 56px;
background-color: rgba(18, 28, 36, 1);
padding: 0 20px; padding: 0 20px;
.flex_strict { .flex_strict {
@ -30,6 +37,17 @@
} }
} }
// .margin,
// .margin-view-overlays,
// .current-line{
// width: 40px !important;
// }
// .monaco-editor .margin-view-overlays .line-numbers{
// text-align: center;
// }
// .monaco-scrollable-element{
// left: 40px !important;
// }
} }
.setting_drawer { .setting_drawer {
@ -71,6 +89,13 @@
animation-iteration-count: 3; animation-iteration-count: 3;
} }
// .monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input,
// .monaco-editor .margin,
// .minimap slider-mouseover,
// .minimap-decorations-layer{
// background:rgba(3,19,40,1) !important;
// }
@keyframes blink { @keyframes blink {
50% { 50% {
color: #fff; color: #fff;

Loading…
Cancel
Save