Skip to content

Commit b905c1d

Browse files
committed
style: different appearance tweaks
1 parent f03448b commit b905c1d

File tree

6 files changed

+18
-3
lines changed

6 files changed

+18
-3
lines changed

apps/client/src/stylesheets/style.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2559,5 +2559,4 @@ iframe.print-iframe {
25592559
position: relative;
25602560
flex-grow: 1;
25612561
width: 100%;
2562-
height: 100%;
25632562
}

apps/client/src/stylesheets/theme-next/notes/text.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,4 +674,17 @@ html .note-detail-editable-text :not(figure, .include-note, hr):first-child {
674674

675675
.ck-content a.reference-link > span {
676676
text-decoration: underline;
677+
}
678+
679+
/*
680+
* Read-only text content
681+
*/
682+
683+
.note-detail-readonly-text:focus-visible {
684+
outline: 2px solid var(--input-focus-outline-color);
685+
border-radius: 4px;
686+
}
687+
688+
.note-list-widget {
689+
outline: 0 !important;
677690
}

apps/client/src/widgets/ReadOnlyNoteInfoBar.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ body.zen div.read-only-note-info-bar-widget {
33
max-width: var(--max-content-width);
44
border-radius: 8px;
55
border: unset;
6-
margin: 0 auto;
6+
margin: 0 auto 10px auto;
77
}
88

99
.read-only-note-info-bar-widget-content {

apps/client/src/widgets/collections/calendar/index.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.calendar-view {
22
overflow: hidden;
33
position: relative;
4+
outline: 0;
45
height: 100%;
56
user-select: none;
67
padding: 10px;
@@ -67,6 +68,7 @@
6768
}
6869

6970
body.desktop:not(.zen) .calendar-view .calendar-header {
71+
padding-block-start: 4px;
7072
padding-inline-end: 5em;
7173
}
7274

apps/client/src/widgets/react/InfoBar.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.info-bar {
2-
--link-color: var(--main-text-color);
2+
--link-color: currentColor;
33

44
margin-top: 4px;
55
contain: unset !important;

apps/client/src/widgets/type_widgets/read_only_text.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const TPL = /*html*/`
3333
body.heading-style-underline .note-detail-readonly-text h6 { border-bottom: 1px solid var(--main-border-color); }
3434
3535
.note-detail-readonly-text {
36+
3637
padding-inline-start: 24px;
3738
padding-top: 10px;
3839
font-family: var(--detail-font-family);

0 commit comments

Comments
 (0)