File tree Expand file tree Collapse file tree 8 files changed +102
-0
lines changed
Expand file tree Collapse file tree 8 files changed +102
-0
lines changed Original file line number Diff line number Diff line change 1+ @import ' application' ;
2+ @import ' mods/big-publish' ;
3+ @import ' mods/wide-column' ;
Original file line number Diff line number Diff line change 1+ @import ' application' ;
2+ @import ' mods/big-publish' ;
Original file line number Diff line number Diff line change 1+ @import ' application' ;
2+ @import ' mods/wide-column' ;
Original file line number Diff line number Diff line change 1+ .compose-form__publish {
2+ display : contents ;
3+ }
4+ .compose-form__publish-button-wrapper {
5+ height : 2em ;
6+ width : 100% ;
7+ font-size : 3rem ;
8+ }
9+
10+ .compose-form__publish-button-wrapper > button {
11+ height : 100% ;
12+ width : 100% ;
13+ font-size : 80% ;
14+ }
Original file line number Diff line number Diff line change 1+ // breakpoints
2+ $column-bp-1 : 640px ;
3+ $column-bp-2 : 900px ;
4+ $column-bp-3 : 1366px ;
5+ $column-bp-4 : 1920px ;
6+ $column-bp-5 : 2560px ;
7+
8+ @mixin c1 {
9+ @media screen and (max-width : $column-bp-1 ) {
10+ @content ;
11+ }
12+ }
13+
14+ @mixin c2 {
15+ @media screen and (min-width : $column-bp-1 + 1px ) and (max-width : $column-bp-2 ) {
16+ @content ;
17+ }
18+ }
19+
20+ @mixin c3 {
21+ @media screen and (min-width : $column-bp-2 + 1px ) and (max-width : $column-bp-3 ) {
22+ @content ;
23+ }
24+ }
25+
26+ @mixin c4 {
27+ @media screen and (min-width : $column-bp-3 + 1px ) and (max-width : $column-bp-4 ) {
28+ @content ;
29+ }
30+ }
31+
32+ @mixin c5 {
33+ @media screen and (min-width : $column-bp-4 + 1px ) and (max-width : $column-bp-5 ) {
34+ @content ;
35+ }
36+ }
37+
38+ @mixin c6 {
39+ @media screen and (min-width : $column-bp-5 + 1px ) {
40+ @content ;
41+ }
42+ }
43+
44+ .columns-area > div {
45+ @include c6 {
46+ width : 16.667% ;
47+ max-width : 16.667% ;
48+ }
49+ @include c5 {
50+ width : 20% ;
51+ max-width : 20% ;
52+ }
53+ @include c4 {
54+ width : 25% ;
55+ max-width : 25% ;
56+ }
57+ @include c3 {
58+ width : 33.333% ;
59+ max-width : 33.333% ;
60+ }
61+ @include c2 {
62+ width : 50% ;
63+ max-width : 50% ;
64+ }
65+ }
66+
67+ .columns-area > div > .column ,
68+ .columns-area > div > .mastodon-column-container > .column {
69+ @include c1 {
70+ width : 100% ;
71+ }
72+ }
Original file line number Diff line number Diff line change @@ -1600,6 +1600,9 @@ en:
16001600 contrast : Mastodon (High contrast)
16011601 default : Mastodon (Dark)
16021602 mastodon-light : Mastodon (Light)
1603+ big-publish : Enable big publish-button
1604+ wide-column : Enable wider column (only on Advanced UI)
1605+ big-and-wide : Enable both big publish-button and wider column
16031606 time :
16041607 formats :
16051608 default : " %b %d, %Y, %H:%M"
Original file line number Diff line number Diff line change @@ -1466,6 +1466,9 @@ ja:
14661466 contrast : Mastodon (ハイコントラスト)
14671467 default : Mastodon (ダーク)
14681468 mastodon-light : Mastodon (ライト)
1469+ big-publish : より大きな投稿ボタンを有効化
1470+ wide-column : より幅広なカラムを有効化 (上級者向けUI専用)
1471+ big-and-wide : 投稿ボタンと幅広カラムの両方を有効化
14691472 time :
14701473 formats :
14711474 default : " %Y年%m月%d日 %H:%M"
Original file line number Diff line number Diff line change 11default : styles/application.scss
22contrast : styles/contrast.scss
33mastodon-light : styles/mastodon-light.scss
4+ big-publish : styles/enable-big-publish.scss
5+ wide-column : styles/enable-wide-column.scss
6+ big-and-wide : styles/enable-big-and-wide.scss
You can’t perform that action at this time.
0 commit comments