-
Notifications
You must be signed in to change notification settings - Fork 14
物理プロパティを論理プロパティに変換しRTLサポートを改善 #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -24,6 +24,10 @@ h1, h2, h3, h4 { | |||||||||||||||||||
| text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.3); | ||||||||||||||||||||
| } | ||||||||||||||||||||
|
|
||||||||||||||||||||
| [dir="rtl"] #header h1 { | ||||||||||||||||||||
| text-shadow: 1px -1px 1px rgba(0, 0, 0, 0.3); | ||||||||||||||||||||
| } | ||||||||||||||||||||
|
|
||||||||||||||||||||
| #content h1, h2, h3, h4 { | ||||||||||||||||||||
| color: var(--oc-gray-9, #212529); /* Initial value is fallbak for Redmine < 7.0 */ | ||||||||||||||||||||
| } | ||||||||||||||||||||
|
|
@@ -33,6 +37,10 @@ h1, h2, h3, h4 { | |||||||||||||||||||
| box-shadow: 3px -2px 2px rgba(0, 0, 0, 0.1); | ||||||||||||||||||||
| } | ||||||||||||||||||||
|
|
||||||||||||||||||||
| [dir="rtl"] #main-menu li :is(a.selected, a.selected:hover) { | ||||||||||||||||||||
| box-shadow: -3px -2px 2px rgba(0, 0, 0, 0.1); | ||||||||||||||||||||
| } | ||||||||||||||||||||
|
|
||||||||||||||||||||
|
|
||||||||||||||||||||
| /***** Links *****/ | ||||||||||||||||||||
|
|
||||||||||||||||||||
|
|
@@ -47,17 +55,18 @@ a#toggle-completed-versions { | |||||||||||||||||||
| /***** Tables *****/ | ||||||||||||||||||||
|
|
||||||||||||||||||||
| table.list th { | ||||||||||||||||||||
| padding: 4px 2px | ||||||||||||||||||||
| padding-block: 4px; | ||||||||||||||||||||
| padding-inline: 2px; | ||||||||||||||||||||
| } | ||||||||||||||||||||
|
|
||||||||||||||||||||
| tr.changeset td.author { | ||||||||||||||||||||
| text-align: center; | ||||||||||||||||||||
| width: 15%; | ||||||||||||||||||||
| inline-size: 15%; | ||||||||||||||||||||
| } | ||||||||||||||||||||
|
|
||||||||||||||||||||
| tr.changeset td.committed_on { | ||||||||||||||||||||
| text-align: center; | ||||||||||||||||||||
| width: 15%; | ||||||||||||||||||||
| inline-size: 15%; | ||||||||||||||||||||
| } | ||||||||||||||||||||
|
|
||||||||||||||||||||
| /* assinged to me, created by me */ | ||||||||||||||||||||
|
|
@@ -72,7 +81,7 @@ table.list.issues tr.closed td { | |||||||||||||||||||
|
|
||||||||||||||||||||
| td.parent { | ||||||||||||||||||||
| white-space: normal; | ||||||||||||||||||||
| text-align: left; | ||||||||||||||||||||
| text-align: start; | ||||||||||||||||||||
| } | ||||||||||||||||||||
|
|
||||||||||||||||||||
| /* overdue */ | ||||||||||||||||||||
|
|
@@ -197,7 +206,8 @@ tr.priority-lowest a { | |||||||||||||||||||
|
|
||||||||||||||||||||
| .issue .contextual { | ||||||||||||||||||||
| margin: 0; | ||||||||||||||||||||
| padding: 2px 3px; | ||||||||||||||||||||
| padding-block: 2px; | ||||||||||||||||||||
| padding-inline: 3px; | ||||||||||||||||||||
| border-radius: 3px; | ||||||||||||||||||||
| background: rgba(var(--oc-white-rgb, 255, 255, 255), 0.8); | ||||||||||||||||||||
| border: 1px solid var(--oc-gray-4, #ced4da); | ||||||||||||||||||||
|
|
@@ -225,12 +235,11 @@ div#activity dd span.description, #search-results dd span.description { | |||||||||||||||||||
| } | ||||||||||||||||||||
|
|
||||||||||||||||||||
| form .attributes { | ||||||||||||||||||||
| margin-bottom: 8px | ||||||||||||||||||||
| margin-block-end: 8px | ||||||||||||||||||||
| } | ||||||||||||||||||||
|
|
||||||||||||||||||||
| form .attributes p { | ||||||||||||||||||||
| padding-top: 1px; | ||||||||||||||||||||
| padding-bottom: 2px; | ||||||||||||||||||||
| padding-block: 1px 2px; | ||||||||||||||||||||
| } | ||||||||||||||||||||
|
|
||||||||||||||||||||
| div.wiki-page .contextual a { | ||||||||||||||||||||
|
|
@@ -257,7 +266,7 @@ div.wiki p { | |||||||||||||||||||
| } | ||||||||||||||||||||
|
|
||||||||||||||||||||
| div.wiki li { | ||||||||||||||||||||
| margin-bottom: 4px; | ||||||||||||||||||||
| margin-block-end: 4px; | ||||||||||||||||||||
| } | ||||||||||||||||||||
|
|
||||||||||||||||||||
| /***** My page layout *****/ | ||||||||||||||||||||
|
|
@@ -275,7 +284,10 @@ div.wiki li { | |||||||||||||||||||
| } | ||||||||||||||||||||
|
|
||||||||||||||||||||
| div.attributes[id="attributes"] { | ||||||||||||||||||||
| border: 1px 0 0 0 0 solid #f00; | ||||||||||||||||||||
| border-block-width: 1px 0; | ||||||||||||||||||||
| border-inline-width: 0; | ||||||||||||||||||||
| border-style: solid; | ||||||||||||||||||||
| border-color: #f00; | ||||||||||||||||||||
| } | ||||||||||||||||||||
|
|
||||||||||||||||||||
|
Comment on lines
+287
to
292
|
||||||||||||||||||||
| border-block-width: 1px 0; | |
| border-inline-width: 0; | |
| border-style: solid; | |
| border-color: #f00; | |
| } | |
| border-block-start: 1px solid #f00; | |
| border-block-end: 0; | |
| border-inline: 0; | |
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vividtone
今まではborderに対する値の数が不正で実際には適用されていなかったCSSが、記法が修正されたことで機能するようになっています。
このスタイルの影響で赤い線が表示されるようになっているのですが、恐らく赤い線はレイアウトとしても不自然で、不要だと思います。
div.attributes[id="attributes"] {
border-block-width: 1px 0;
border-inline-width: 0;
border-style: solid;
border-color: #f00;
}
の部分ごと消しても良いと思うのですが、どうでしょうか?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon at end of CSS declaration.