Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
v0.2.4
Browse files Browse the repository at this point in the history
Fix #14 and fix #16
  • Loading branch information
RainEggplant committed Feb 27, 2020
1 parent b432ca5 commit b83c98e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@

## 更新记录

### v0.2.4
- 增加了对长江雨课堂的支持
- 优化了对高分屏的适应
- 减小了左边栏的字体和图片大小,留出更多空间

### v0.2.3
- 修正了雨课堂右边栏本身列表项样式错误的问题

Expand Down
23 changes: 14 additions & 9 deletions rain-classroom-helper.user.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
// ==UserScript==
// @name Rain Classroom Helper
// @namespace https://raineggplant.com/
// @version 0.2.3
// @version 0.2.4
// @description 优化雨课堂使用体验
// @author RainEggplant
// @match *://www.yuketang.cn/web*
// @match *://pro.yuketang.cn/web*
// @match *://changjiang.yuketang.cn/web*
// @grant GM_addStyle
// @require https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js
// @updateURL https://raw.githubusercontent.com/RainEggplant/rain-classroom-helper/master/rain-classroom-helper.user.js
Expand All @@ -19,18 +20,23 @@

// 调整左边栏样式
GM_addStyle(`
.panel {
.left .panel {
padding-top: 34px !important;
max-height: unset !important;
}
.nav-list {
font-size: 18px !important;
}
.nav-item {
height: 50px !important;
height: 45px !important;
line-height: 32px !important;
padding-top: 6px !important;
}
.kecheng, .kejian, .shiti, .geren, .addlink {
width: 32px !important;
width: 30px !important;
}
.left .panel .nav-list .nav-item .name {
padding-left: 18px !important;
}
.left .contact-us {
bottom: 10px !important;
Expand All @@ -43,8 +49,9 @@
.right {
width: 320px !important;
}
.control-panel {
.right .control-panel {
padding-top: 32px !important;
max-height: unset !important;
}
.title {
font-size: 22px !important;
Expand All @@ -62,9 +69,6 @@
padding: unset !important;
font-size: 18px !important;
}
.kecheng, .kejian, .shiti, .geren, .addlink {
width: 32px !important;
}
.print-preview-box {
margin: 0px 0 0 !important;
}
Expand All @@ -87,8 +91,9 @@
margin-right: 320px !important;
float: none !important;
}
.rain-iframe {
.center .rain-iframe {
width: calc(95% - 40px) !important;
height: 95% !important;
}
.student__timeline-wrapper {
top: 2.33rem !important;
Expand Down

1 comment on commit b83c98e

@Niuxiaojie-BNU
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

给大佬点赞!

Please sign in to comment.