Commit Graph

2570 Commits

Author SHA1 Message Date
88aaa9b332 add inline code colour
Reference : 31579d45aa/resources/assets/less/bem/osu-md.less (L12-L17)
2021-05-02 22:35:30 +07:00
fc4fa4f696 use ListBlock IsOrdered to determine ordered or unordered list 2021-04-30 11:48:37 +07:00
11d0f12455 change create text marker to virtual 2021-04-30 11:36:51 +07:00
cf53a05dfd change marker size and position for ordered list 2021-04-30 10:59:23 +07:00
e6579352f9 add left padding for ordered list
In osu-md.less, this rule style[1] removes padding left in ordered list.
But in this rule style[2], pseudo element `::before` is used as marker
or counter and has minimal width 30px. So we use this as left padding
size.

[1] 5b0e3ac3ff/resources/assets/less/bem/osu-md.less (L196-L200)
[2] 5b0e3ac3ff/resources/assets/less/bem/osu-md.less (L210-L219)
2021-04-30 10:56:41 +07:00
c0d9f9f8c6 use order number as marker for ordered list 2021-04-30 10:48:12 +07:00
2a3479f30d add order in OsuMarkdownListItem for ordered list 2021-04-30 10:47:51 +07:00
781064ba96 create list marker based on its level 2021-04-30 10:40:06 +07:00
f676526cf4 add level in OsuMarkdownListItem 2021-04-30 10:39:48 +07:00
e3cc4561ab add bullet marker in OsuMarkdownListItem 2021-04-30 10:35:40 +07:00
010c51e6ed change OsuMarkdownListItem to composite drawable 2021-04-30 10:12:43 +07:00
1e8b3f3a8c handle list padding in OsuMarkdownListItem
Reference : 5b0e3ac3ff/resources/assets/less/bem/osu-md.less (L193-L194)
2021-04-30 09:47:25 +07:00
a24a279404 use OsuMarkdownListItem for ListItemBlock 2021-04-30 09:43:21 +07:00
820408757a add OsuMarkdownListItem 2021-04-30 09:43:05 +07:00
141d3af302 Add the ability to temporarily disable user scaling on a ScalingContainer 2021-04-29 17:19:47 +09:00
c09067c3d5 add OsuMarkdownTable 2021-04-28 10:53:12 +07:00
2252d308c8 add OsuMarkdownTableCell
Reference :
d56352aeef/resources/assets/less/bem/osu-md.less (L254-L277)
2021-04-28 10:53:00 +07:00
736eace00a add OsuMarkdownQuoteBlock
Reference:
d56352aeef/resources/assets/less/base.less (L7-L10)
2021-04-28 10:11:29 +07:00
6a921af085 add OsuMarkdownSeparator
Reference
d56352aeef/resources/assets/less/bem/osu-md.less (L19-L21)
2021-04-28 09:23:05 +07:00
6959f2a8cc add OsuMarkdownFencedCodeBlock
Reference :
d56352aeef/resources/assets/less/bem/osu-md.less (L41-L45)
2021-04-27 16:01:32 +07:00
6cccbabad8 override CreateTextFlow in OsuMarkdownContainer 2021-04-27 14:19:16 +07:00
c686c5224b add OsuMarkdownTextFlowContainer 2021-04-27 14:17:51 +07:00
aa07482cbb Add OsuMarkdownLinkText
Color from
d56352aeef/resources/assets/less/functions.less (L159-L165)
2021-04-27 14:15:19 +07:00
b75b9a97ed add OsuMarkdownContainer
All of the markdown file in osu-wiki have YAML frontmatter. This YAML is
parsed as common markdown paragraph. So we add `UseYamlFrontMatter()` in
markdown pipeline builder to parse YAML as `YamlFrontMatterBlock`.
2021-04-27 14:09:58 +07:00
db524e2395 Add localisation support to DialogButton's text 2021-04-20 17:06:12 +09:00
2a7ef1f80f Use more general type 2021-04-19 19:27:35 +02:00
d5829fe638 Merge branch 'master' into playlist-unicode 2021-04-19 19:24:04 +02:00
0825fc57a9 Move foreground colour helper into OsuColour 2021-04-19 18:24:48 +02:00
97573fb11d Merge branch 'master' into combo-colours-display 2021-04-19 18:21:57 +02:00
ef3801b5dd Add helper method supporting RomanisableString 2021-04-19 15:29:26 +09:00
f9f514ffec Add basic xmldoc to show how the two colour classes interact 2021-04-19 12:37:56 +09:00
89940e7bb9 Fix download button check icon not scaling on mouse down 2021-04-18 19:05:33 -07:00
577755ee19 Add placeholder when no colours are visible
Will be removed once combo colours are mutable.
2021-04-18 20:46:42 +02:00
0cd1aa8c1c Add support for custom colour prefixes 2021-04-18 20:44:55 +02:00
a8027d87b6 Fix unreadable colour hex code text due to low contrast
Logic is shared with the timeline blueprints which also have the same
problem of displaying text on top of a combo colour.

Slightly modified the formula. Seems to yield better results on a
subjective check.
2021-04-18 20:44:55 +02:00
1b2c43b92c Add basic structure of colour palette 2021-04-18 19:29:04 +02:00
488001d570 Support SpriteText for LinkFlowContainer 2021-04-18 20:58:08 +08:00
ff2a37b7f4 Add new colours for editor designs 2021-04-14 20:10:50 +09:00
7654df94f6 Merge pull request #12395 from frenzibyte/fix-cinema-ignore-settings
Fix beatmap background displayed if storyboard is hidden on "Cinema" mod
2021-04-14 14:31:03 +09:00
2c1f20a38f Merge branch 'master' into fix-editor-alt-scroll 2021-04-13 19:36:25 +09:00
36510309d1 Merge EnableUserDim and IgnoreUserSettings to one bindable 2021-04-13 10:58:56 +03:00
b5954a55ad Remove empty <returns> xmldoc 2021-04-12 17:46:14 +09:00
0eab9daf13 Update existing overlay containers to not block scroll input 2021-04-12 16:41:36 +09:00
dfe3240b45 Merge pull request #12353 from nekodex/songselect-hoversamples
Add a hover sample type for SongSelect buttons
2021-04-10 01:45:47 +09:00
ffacd38e57 Reduce the randomised pitch range of hover sounds 2021-04-09 23:03:14 +09:00
8a0da06e89 Add a hover sample type for SongSelect buttons 2021-04-09 23:00:40 +09:00
26d6f96c4e Fix LabelledTextBox not correctly forwarding focus to its underlying TextBox component 2021-03-17 16:56:58 +09:00
b1cd01ceb8 Apply ConfigureAwait changes to game side 2021-03-08 14:36:35 +09:00
8004652d27 Merge branch 'master' into optimised-has-flag-checks 2021-02-25 21:24:39 +09:00
dff1d80f39 Update HasFlag usages to HasFlagFast 2021-02-25 15:38:56 +09:00