From ffdf63c482ab3e343c93ac054af6244fb9acf039 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Tue, 16 Aug 2022 03:56:56 +0000 Subject: [PATCH] Update the 2.9.5 blog post with a message about the bug --- ...ase-openlp-30-rc2-295-helpful-hadassah.rst | 11 ++- themes/openlp2v2/assets/css/custom.css | 89 +++++++++++++++++++ themes/openlp2v2/templates/front_page.html | 2 +- 3 files changed, 98 insertions(+), 4 deletions(-) diff --git a/blog/new-release-openlp-30-rc2-295-helpful-hadassah.rst b/blog/new-release-openlp-30-rc2-295-helpful-hadassah.rst index 0c80878..5e321b0 100644 --- a/blog/new-release-openlp-30-rc2-295-helpful-hadassah.rst +++ b/blog/new-release-openlp-30-rc2-295-helpful-hadassah.rst @@ -12,11 +12,16 @@ Today we are announcing the release of OpenLP 2.9.5. This is the second release .. warning:: + Unfortunately there is a bug in this release which causes an error when you edit a song. A + temporary workaround for this is to enable chords in Settings -> Songs -> Enable Chords. In the + light of this, we are working on a new release. + +.. caution:: + Installing this version of OpenLP will override any other installation of OpenLP you already have. Please make a backup of your data! - -.. warning:: +.. note:: macOS may report OpenLP as damaged. If you encounter this problem, you can try the following solution. From Applications / Utilities run Terminal. In Terminal, type in the following command:: @@ -25,7 +30,7 @@ Today we are announcing the release of OpenLP 2.9.5. This is the second release We are working on a remedy for this problem, but this command should tie you over till we get it sorted out. -.. warning:: +.. note:: For Linux users, due to the immaturity of Wayland, OpenLP does not behave well and it is recommended that X11 is used as the display manager. diff --git a/themes/openlp2v2/assets/css/custom.css b/themes/openlp2v2/assets/css/custom.css index 521a0ba..6ab689a 100644 --- a/themes/openlp2v2/assets/css/custom.css +++ b/themes/openlp2v2/assets/css/custom.css @@ -369,3 +369,92 @@ div.screenshot { border: 4px solid #efefef; margin: 0 10px; } + +aside.admonition, aside.attention, aside.caution, aside.danger, aside.error, +aside.hint, aside.important, aside.note, aside.tip, aside.warning, aside.sidebar, +aside.system-message, +div.admonition, div.attention, div.caution, div.danger, div.error, +div.hint, div.important, div.note, div.tip, div.warning, div.sidebar, +div.system-message { +/* stolen from Boostrap 4 (.card) */ + margin-bottom: 2rem; + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + min-width: 0; + word-wrap: break-word; + background-color: #fff; + color: #212529; + background-clip: border-box; + border: 1px solid rgba(0,0,0,.125); + border-radius: .25rem; + padding: 0; +} + +/* aside.admonition { + padding: 0; + border-radius: 3px; +} */ + +aside.attention, aside.caution, aside.danger, aside.error { + border-color: #dc3545!important; +} + +aside.admonition p, aside.hint p, +aside.important p, aside.note p, +aside.tip p, aside.sidebar p, +aside.attention p, aside.caution p, +aside.danger p, aside.error p, +aside.warning p, aside.system-message p { + padding-left: 1rem; + padding-right: 1rem; +} + +aside.admonition p.admonition-title, aside.hint p.admonition-title, +aside.important p.admonition-title, aside.note p.admonition-title, +aside.tip p.admonition-title, aside.sidebar p.sidebar-title, +aside.attention p.admonition-title, aside.caution p.admonition-title, +aside.danger p.admonition-title, aside.error p.admonition-title, +aside.warning p.admonition-title, aside.system-message p.system-message-title { + font-weight: 400; + padding: .75rem 1.25rem; + margin-bottom: 1rem; + background-color: rgba(0,0,0,.03); +} + +aside.attention p.admonition-title, aside.caution p.admonition-title, +aside.danger p.admonition-title, aside.error p.admonition-title, +aside.system-message p.system-message-title { + background-color: #dc3545; + color: white; +} + +aside.important, +aside.warning { + border-color: #ffc107 !important +} + +aside.important p.admonition-title, +aside.warning p.admonition-title { + background-color: #ffc107 !important; + color: white; +} + +aside.information, +aside.hint, +aside.tip, +aside.note { + border-color: #17a2b8 !important +} + +aside.hint p.admonition-title, +aside.note p.admonition-title, +aside.tip p.admonition-title { + background-color: #17a2b8 !important; + color: white; +} diff --git a/themes/openlp2v2/templates/front_page.html b/themes/openlp2v2/templates/front_page.html index 40b1b6e..5a9ffd2 100644 --- a/themes/openlp2v2/templates/front_page.html +++ b/themes/openlp2v2/templates/front_page.html @@ -378,7 +378,7 @@