Skip to content

Commit

Permalink
v0.9.0 更新
Browse files Browse the repository at this point in the history
  • Loading branch information
StarDustSheep authored Oct 9, 2023
1 parent 5451edb commit 18aa985
Show file tree
Hide file tree
Showing 13 changed files with 260 additions and 82 deletions.
22 changes: 22 additions & 0 deletions config/绿色系界面.css
Original file line number Diff line number Diff line change
Expand Up @@ -287,4 +287,26 @@

.b3-select{
background-color: #f8e4d654;
}

.protyle-hint.b3-list.b3-list--background .b3-list-item__text {
color: #1b4501;
}

.switch-doc .b3-list:last-child .b3-list-item{
box-shadow: inset 0 -1px 0 #bdcdd2;
}

.layout-tab-container:has(.search__header), .b3-dialog__container:has(.search__header) {
background-color: var(--room-surface-dimcolor);
}
.b3-dialog__container:has(.search__header) {
box-shadow: 0 0 0 0.22em #d9e9d2,0 0 0 0.28em #83ad79,var(--b3-dialog-shadow);
}
.b3-dialog__container:not(:has(.card__main)) {
border: 1px solid #c0d1c2;
}

.search__header .block__icon {
background-color: #f4ffec;
}
28 changes: 28 additions & 0 deletions config/蓝色系界面.css
Original file line number Diff line number Diff line change
Expand Up @@ -288,4 +288,32 @@
}
.b3-text-field, .pcr-app .pcr-interaction .pcr-result {
box-shadow: inset 0 0 0 0.6px #648567c2;
}

.protyle-hint.b3-list.b3-list--background .b3-list-item__text {
color: #011245;
}
.switch-doc .b3-list:last-child .b3-list-item{
box-shadow: inset 0 -1px 0 #bdcdd2;
}

.b3-dialog__container:has(.search__header){
box-shadow: 0 0 0 0.22em #dcf2f9,0 0 0 0.28em #79a8ad,var(--b3-dialog-shadow);
}

.b3-dialog__container:not(:has(.card__main)){
border: 1px solid #c0ccd1;
}

.search__header .block__icon{
background-color: #f3faff;
}

.b3-list--background .b3-list-item--focus{
background-color: #e9ffbd !important;
}

.protyle-hint.b3-list.b3-list--background mark {
background-color: rgb(223 200 255);
color: #17004b;
}
2 changes: 1 addition & 1 deletion theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
@import url("部件修改/加载界面.css");



/* ——————样式修改 针对编辑器内文档内元素进行修改—————— */
@import url("样式修改/多级标题.css");
@import url("样式修改/文档标题.css");
Expand All @@ -64,6 +63,7 @@
@import url("样式修改/块图标.css");
@import url("样式修改/列表块.css");
@import url("样式修改/加载动画.css");
@import url("样式修改/滑块.css");



Expand Down
2 changes: 1 addition & 1 deletion theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pink-room",
"author": "StarDustSheep",
"url": "https://github.com/StarDustSheep/pink-room",
"version": "0.8.9",
"version": "0.9.0",
"displayName": {
"default": "pink-room",
"zh_CN": "粉色小屋"
Expand Down
4 changes: 2 additions & 2 deletions 样式修改/引述块.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}

/* 内边框线 */
.bq::after {
.bq::after,blockquote::after{
content: "";
height: calc(100% - 8px);
width: calc(100% - 8px);
Expand All @@ -30,7 +30,7 @@
pointer-events: none;
}

.bq{
.bq,blockquote{
position:relative
}

Expand Down
8 changes: 8 additions & 0 deletions 样式修改/滑块.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.b3-switch:checked {
background-color: #37b3c7;
}

.b3-switch:checked:after {
background-color: #26f1cd;
border-color: #2a9dd4bd;
}
1 change: 1 addition & 0 deletions 部件修改/工具条.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* 防止此问题:https://github.com/StarDustSheep/pink-room/issues/31 */
/* 必须是4级 */
.protyle-toolbar{
z-index: 4;
}
70 changes: 70 additions & 0 deletions 部件修改/弹出框.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/* 此文件修改设置面板、页签切换面板 */

.config__tab-wrap{
border-radius: 0;
}

.b3-dialog__container{
border-radius: 0;
}

.b3-dialog__container:not(:has(.card__main)) {
border-radius: 0.8em;
border: 1px solid #d1c0c0;
box-shadow: 0 0 0 0.22em #f3ebdd,0 0 0 0.28em #a3968c,var(--b3-dialog-shadow);
background-color: #fbf9f1;;
}



.config__tab-wrap {
border-radius: 0.8em;
padding: 0.3em 0.3em 0.3em 0;
background-color: #fcf9f0;
}

.config__tab-container {
overflow: auto;
box-sizing: border-box;
height: 100%;
box-shadow: inset 0 0 0.15em 0.04em #a19893;
border-radius: 0.8em;
background-color: #fafafa;
}

.config__panel>.b3-tab-bar .config__tab-hr{
background: #c3adad55;
}



/* 页签切换菜单 */
.switch-doc .b3-list:last-child {
border: none;
background-color: #fbf7f5;
box-shadow: inset 0 0 3px 1px #a3968c;
border-radius: 0.3em;
padding: 0.6em;
min-width: 20em;
}
.switch-doc .b3-list:first-child{
margin-right: 0.5em;
}
.switch-doc>:nth-child(1){
height: 2px;
background-color: #fdf9f0;
}

.switch-doc>:nth-child(2){
background-color: #fdf9f0;
padding: 0.3em;
}

.switch-doc .b3-list--background .b3-list-item {
margin-bottom: 8px !important;
}


.b3-dialog__container:has(.search__header){
box-shadow: 0 0 0 0.22em #f9dcdc,0 0 0 0.28em #ad7979,var(--b3-dialog-shadow);
}
7 changes: 7 additions & 0 deletions 部件修改/搜索面板.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,11 @@
#criteria.fn__flex{
min-height: 30px !important;
background-color: transparent !important;
}


.search__header .block__icon {
opacity: 1;
background-color: #ffecec;
border-radius: 0.3em;
}
93 changes: 26 additions & 67 deletions 部件修改/文档树列表.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
}

/* 设置文档树前面的>符号颜色为灰色以不抢夺笔记本标题文字的视觉吸引力 */
.fn__flex-1.fn__flex-column.file-tree .b3-list-item__arrow {
/* .fn__flex-1.fn__flex-column.file-tree .b3-list-item__arrow {
color: #8080804d;
}
} */

/* 点击文档树emoji不弹出修改窗口(防止误触) */
/* 有人需要此功能,加回来 */
Expand Down Expand Up @@ -57,14 +57,34 @@
.b3-list--background .b3-list-item--focus .b3-list-item__text,
.b3-list--background .b3-list-item--focus .b3-list-item__graphic,
.b3-list--background .b3-list-item--focus .b3-list-item__icon svg {
color: var(--b3-theme-on-background);
/* color: var(--b3-theme-on-background); */
color: #287b00;
}


/* 页签切换面板中不用绿色,绿色太亮了 */
.switch-doc .b3-list-item.b3-list-item--focus{
background-color: #beeb8a !important;
}

/* 缩小页签列表中的间距 */
.switch-doc .b3-list:last-child .b3-list-item{
border-radius:0;
margin-bottom:0 !important;
padding: 0.1em 0 0.1em 0;
box-shadow: inset 0 -1px 0 #d2bdbd;
}








/* 背景色 */
.b3-list--background .b3-list-item--focus {
background-color: #d7f4ffb0 !important;
background-color: #e9ffbd !important;
}
.sy__backlink .b3-list--background .b3-list-item--focus {
background-color: #ffbdb4b0 !important;
Expand All @@ -84,67 +104,6 @@

/* 背景 */

/* 文档树辅助线(来自于Rem Craft主题) */
.b3-list:not(.b3-list--border) .b3-list-item+ul {
box-shadow: 13px 0px var(--b3-list-item-background-color) inset, 14px 0 rgba(231, 231, 231, 1) inset;
}

.b3-list:not(.b3-list--border) .b3-list-item+ul>.b3-list-item {
margin-left: 6px
}

.b3-list:not(.b3-list--border) .b3-list-item+ul>.b3-list-item+ul {
box-shadow: 13px 0 var(--b3-list-item-background-color) inset, 14px 0 rgba(231, 231, 231, 1) inset, 35px 0 var(--b3-list-item-background-color) inset, 36px 0 rgba(231, 231, 231, 1) inset
}

.b3-list:not(.b3-list--border) .b3-list-item+ul>.b3-list-item+ul>.b3-list-item {
margin-left: 12px
}

.b3-list:not(.b3-list--border) .b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul {
box-shadow: 13px 0 var(--b3-list-item-background-color) inset, 14px 0 rgba(231, 231, 231, 1) inset, 35px 0 var(--b3-list-item-background-color) inset, 36px 0 rgba(231, 231, 231, 1) inset, 57px 0 var(--b3-list-item-background-color) inset, 58px 0 rgba(231, 231, 231, 1) inset
}

.b3-list:not(.b3-list--border) .b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item {
margin-left: 18px
}

.b3-list:not(.b3-list--border) .b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul {
box-shadow: 13px 0 var(--b3-list-item-background-color) inset, 14px 0 rgba(231, 231, 231, 1) inset, 35px 0 var(--b3-list-item-background-color) inset, 36px 0 rgba(231, 231, 231, 1) inset, 57px 0 var(--b3-list-item-background-color) inset, 58px 0 rgba(231, 231, 231, 1) inset, 79px 0 var(--b3-list-item-background-color) inset, 80px 0 rgba(231, 231, 231, 1) inset
}

.b3-list:not(.b3-list--border) .b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item {
margin-left: 24px
}

.b3-list:not(.b3-list--border) .b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul {
box-shadow: 13px 0 var(--b3-list-item-background-color) inset, 14px 0 rgba(231, 231, 231, 1) inset, 35px 0 var(--b3-list-item-background-color) inset, 36px 0 rgba(231, 231, 231, 1) inset, 57px 0 var(--b3-list-item-background-color) inset, 58px 0 rgba(231, 231, 231, 1) inset, 79px 0 var(--b3-list-item-background-color) inset, 80px 0 rgba(231, 231, 231, 1) inset, 101px 0 var(--b3-list-item-background-color) inset, 102px 0 rgba(231, 231, 231, 1) inset
}

.b3-list:not(.b3-list--border) .b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item {
margin-left: 30px
}

.b3-list:not(.b3-list--border) .b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul {
box-shadow: 13px 0 var(--b3-list-item-background-color) inset, 14px 0 rgba(231, 231, 231, 1) inset, 35px 0 var(--b3-list-item-background-color) inset, 36px 0 rgba(231, 231, 231, 1) inset, 57px 0 var(--b3-list-item-background-color) inset, 58px 0 rgba(231, 231, 231, 1) inset, 79px 0 var(--b3-list-item-background-color) inset, 80px 0 rgba(231, 231, 231, 1) inset, 101px 0 var(--b3-list-item-background-color) inset, 102px 0 rgba(231, 231, 231, 1) inset, 123px 0 var(--b3-list-item-background-color) inset, 124px 0 rgba(231, 231, 231, 1) inset
}

.b3-list:not(.b3-list--border) .b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item {
margin-left: 36px
}

.b3-list:not(.b3-list--border) .b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul {
box-shadow: 13px 0 var(--b3-list-item-background-color) inset, 14px 0 rgba(231, 231, 231, 1) inset, 35px 0 var(--b3-list-item-background-color) inset, 36px 0 rgba(231, 231, 231, 1) inset, 57px 0 var(--b3-list-item-background-color) inset, 58px 0 rgba(231, 231, 231, 1) inset, 79px 0 var(--b3-list-item-background-color) inset, 80px 0 rgba(231, 231, 231, 1) inset, 101px 0 var(--b3-list-item-background-color) inset, 102px 0 rgba(231, 231, 231, 1) inset, 123px 0 var(--b3-list-item-background-color) inset, 124px 0 rgba(231, 231, 231, 1) inset, 145px 0 var(--b3-list-item-background-color) inset, 146px 0 rgba(231, 231, 231, 1) inset
}

.b3-list:not(.b3-list--border) .b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item+ul>.b3-list-item {
margin-left: 42px
}






/* 将鼠标放置在文档树中笔记本右侧的引用数字上能打开一个窗口,下方代码将其中的元素正常放置而不是居中放置 */
.block__edit.fn__flex-1.protyle{
Expand Down Expand Up @@ -188,7 +147,7 @@

/* 鼠标划过列表项时的底色 */
.b3-list--background .b3-list-item:hover:not(.b3-list-item--focus){
background-color: #ffd9d6;
background-color: #94f7ed;
}


Expand All @@ -207,7 +166,7 @@

/* 颜色用蓝的*/
.b3-list--background .b3-list-item:hover .b3-list-item__text, .b3-list--background .b3-list-item:hover .b3-list-item__graphic, .b3-list--background .b3-list-item:hover .b3-list-item__icon svg{
color: var(--b3-theme-primary);
color: inherit;
}


Expand Down
Loading

0 comments on commit 18aa985

Please sign in to comment.