update style

chromesetting
tangjiang 5 years ago
parent cf7e8173a2
commit 42d4207f05

@ -4,7 +4,7 @@
* @Github: * @Github:
* @Date: 2019-11-27 16:02:36 * @Date: 2019-11-27 16:02:36
* @LastEditors: tangjiang * @LastEditors: tangjiang
* @LastEditTime: 2019-12-10 09:30:27 * @LastEditTime: 2019-12-13 17:32:33
*/ */
import './index.scss'; import './index.scss';
import React, { useState, useRef } from 'react'; import React, { useState, useRef } from 'react';
@ -84,7 +84,7 @@ const ControlSetting = (props) => {
<Tabs <Tabs
className={classNames} className={classNames}
activeKey={defaultActiveKey} activeKey={defaultActiveKey}
tabBarStyle={{ backgroundColor: '#000', color: '#fff' }} tabBarStyle={{ backgroundColor: 'rgba(48,48,48,1)', color: '#fff' }}
onChange={handleTabChange} onChange={handleTabChange}
> >
<TabPane tab={'自定义测试用例'} key={'1'} style={{ height: '280px', overflowY: 'auto' }}> <TabPane tab={'自定义测试用例'} key={'1'} style={{ height: '280px', overflowY: 'auto' }}>

@ -2,6 +2,7 @@
position: absolute; position: absolute;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
background:rgba(30,30,30,1);
// height: 56px; // height: 56px;
.control_tab{ .control_tab{
position: absolute; position: absolute;
@ -51,7 +52,8 @@
height: 56px; height: 56px;
padding-right: 30px; padding-right: 30px;
padding-left: 10px; padding-left: 10px;
background: #000; // background: #000;
background:rgba(48,48,48,1);
} }
.setting_drawer{ .setting_drawer{

@ -4,7 +4,7 @@
* @Github: * @Github:
* @Date: 2019-11-27 19:46:14 * @Date: 2019-11-27 19:46:14
* @LastEditors: tangjiang * @LastEditors: tangjiang
* @LastEditTime: 2019-12-10 09:31:00 * @LastEditTime: 2019-12-13 17:38:42
*/ */
import './index.scss'; import './index.scss';
import React, { useState, useEffect, useRef, useImperativeHandle, forwardRef } from 'react'; import React, { useState, useEffect, useRef, useImperativeHandle, forwardRef } from 'react';
@ -50,6 +50,7 @@ function InitTabCtx (props, ref) {
], ],
initialValue: inputValue initialValue: inputValue
})(<TextArea })(<TextArea
className="input_textarea_style"
rows={8} rows={8}
placeholder="请填写测试用例的输入值,点击“调试代码”" placeholder="请填写测试用例的输入值,点击“调试代码”"
/>) />)

@ -47,4 +47,11 @@
.flex_r{ .flex_r{
padding: 0 20px 0 10px; padding: 0 20px 0 10px;
} }
.input_textarea_style{
background:rgba(30,30,30,1) !important;
color: #fff;
border-color: transparent;
outline: none;
}
} }

@ -1,11 +1,13 @@
.monaco_editor_area{ .monaco_editor_area{
height: 100%; height: 100%;
background-color: rgba(30,30,30,1);
.code_title{ .code_title{
display: flex; display: flex;
align-items: center; align-items: center;
// justify-content: space-between; // justify-content: space-between;
// background: #000; // background: #000;
background: #333333; // background: #333333;
background-color: rgba(48,48,48,1);
color: #fff; color: #fff;
height: 56px; height: 56px;
padding: 0 30px; padding: 0 30px;

Loading…
Cancel
Save