Merge branch 'dev_jupyter' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_jupyter

chromesetting
杨树林 5 years ago
commit 08ef4e1739

@ -78,9 +78,13 @@
right: 10px; right: 10px;
top: 14px; top: 14px;
.btn_common{
color: #888;
}
.btn_common:hover{ .btn_common:hover{
// background-color: #29BD8B; // background-color: #29BD8B;
color: #29BD8B; // color: #29BD8B;
color: #1890ff;
} }
} }
} }

@ -1,22 +1,24 @@
.jupyter_data_sets_area{ .jupyter_data_sets_area{
height: 100%; height: 100%;
.jupyter_h2_title{ .jupyter_h2_title{
height: 50px; height: 44px;
line-height: 50px; line-height: 44px;
background-color: #EEEEEE; background-color: #EEEEEE;
padding: 0 30px; padding: 0 30px;
.jupyter_data_icon{ .jupyter_data_icon{
color: #7286ff; // color: #7286ff;
color: #1890ff;
font-size: 24px; font-size: 24px;
position: relative; position: relative;
top: 2px; top: 2px;
transform: scale(1.5); transform: scale(1.5);
margin-right: 5px;
} }
} }
.jupyter_data_list, .jupyter_data_list,
.jupyter_empty{ .jupyter_empty{
height: calc(100vh - 110px); height: calc(100vh - 104px);
overflow-y: auto; overflow-y: auto;
} }

@ -4,7 +4,7 @@
* @Github: * @Github:
* @Date: 2019-12-12 15:04:20 * @Date: 2019-12-12 15:04:20
* @LastEditors: tangjiang * @LastEditors: tangjiang
* @LastEditTime: 2019-12-12 17:41:41 * @LastEditTime: 2019-12-13 11:25:22
*/ */
import './index.scss'; import './index.scss';
import React, { useEffect, useState } from 'react'; import React, { useEffect, useState } from 'react';
@ -32,8 +32,9 @@ function RightPane (props) {
const loadError = ( const loadError = (
<div className="jupyter_load_url_error"> <div className="jupyter_load_url_error">
<span className="iconfont icon-jiazaishibai1 icon-error"></span>
<p className="jupyter_error_txt"> <p className="jupyter_error_txt">
加载实训出错是否 实训加载失败
<span <span
className="jupyter_reload" className="jupyter_reload"
onClick={handleClickReload} onClick={handleClickReload}

@ -28,17 +28,29 @@
} }
.jupyter_load_url_error{ .jupyter_load_url_error{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
// &::before{ // &::before{
// background-color: rgba(0,0,0,.2); // background-color: rgba(0,0,0,.2);
// } // }
.jupyter_error_txt{ .jupyter_error_txt{
position: relative; position: relative;
z-index: 1; z-index: 1;
font-size: 12px;
.jupyter_reload{ .jupyter_reload{
cursor: pointer; cursor: pointer;
color: #1890ff; color: #1890ff;
} }
} }
.icon-error{
position: relative;
color: #DCE0E6;
transform: scale(5);
top: -35px;
}
} }
.jupyter_result{ .jupyter_result{

Loading…
Cancel
Save