update stuyle

chromesetting
tangjiang 5 years ago
parent 02b5e0b7b0
commit 42f7297459

Binary file not shown.

@ -4,7 +4,7 @@
* @Github:
* @Date: 2019-11-27 15:02:52
* @LastEditors: tangjiang
* @LastEditTime: 2019-12-19 19:36:24
* @LastEditTime: 2019-12-20 17:33:21
*/
import './index.scss';
import React, { useState, useRef, useEffect } from 'react';
@ -137,7 +137,7 @@ function MyMonacoEditor (props, ref) {
<div className="code_title">
{/* 未保存时 ? '学员初始代码文件' : main.x */}
<span className='flex_strict' style={{ color: '#ddd'}}>{identifier ? language ? maps[language.toLowerCase()] : '' : '学员初始代码文件'}</span>
<span className={_classnames}>{identifier ? '已保存' : ''}</span>
<span className={_classnames}>{hadCodeUpdate ? '已保存' : ''}</span>
<Badge
className="flex_normal"
style={{ color: '#666'}}

@ -4,10 +4,10 @@
* @Github:
* @Date: 2019-11-21 09:19:38
* @LastEditors: tangjiang
* @LastEditTime: 2019-12-20 09:23:07
* @LastEditTime: 2019-12-20 17:32:10
*/
import './index.scss';
import React, { useState } from 'react';
import React from 'react';
import { Collapse, Icon, Input, Form } from 'antd';
import { connect } from 'react-redux';
import actions from '../../../../../redux/actions';
@ -68,6 +68,7 @@ const AddTestDemo = (props) => {
const genExtra = () => (
<Icon
type="close"
className="collapse_close_icon"
onClick={handleDeletePanel}
/>
)

@ -82,4 +82,22 @@
margin-bottom: 0px;
}
}
}
.collapse_close_icon{
position: relative;
background: rgba(235, 235, 235, 1);
border-radius: 50%;
font-size: 12px;
padding: 5px 5px;
color: rgb(142, 142, 142);
transition: all .3s;
&:hover{
color: #fff;
background: rgb(231, 81, 79);
}
// &:hover{
// color: red;
// }
}
Loading…
Cancel
Save