Skip to content

Commit

Permalink
green buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Annelein committed Apr 18, 2024
1 parent f019235 commit e617879
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build-tools/heroku/tailwind/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ code {
}

.add-language-item {
@apply text-gray-800 bg-orange-300 no-underline hover:bg-orange-400 py-2 px-4 block whitespace-nowrap;
@apply text-gray-800 bg-green-400 no-underline hover:bg-green-500 hover:text-white py-2 px-4 block whitespace-nowrap;
@apply cursor-pointer w-52 font-medium rounded-md;
@apply grow-0;
}
Expand Down Expand Up @@ -678,7 +678,7 @@ p.close-dialog {
}

.profile-section-body {
@apply bg-white shadow-md rounded px-8 py-4 mx-auto w-full lg:w-3/4 hidden;
@apply bg-white shadow-md rounded px-8 py-4 mx-auto w-full lg:w-5/6 hidden;
}

.personal-input {
Expand Down
8 changes: 5 additions & 3 deletions static/css/generated.full.css
Original file line number Diff line number Diff line change
Expand Up @@ -344022,7 +344022,7 @@ code {
display: block;
white-space: nowrap;
--tw-bg-opacity: 1;
background-color: rgb(251 211 141 / var(--tw-bg-opacity));
background-color: rgb(104 211 145 / var(--tw-bg-opacity));
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-left: 1rem;
Expand All @@ -344035,7 +344035,9 @@ code {

.add-language-item:hover {
--tw-bg-opacity: 1;
background-color: rgb(246 173 85 / var(--tw-bg-opacity));
background-color: rgb(72 187 120 / var(--tw-bg-opacity));
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
}

.add-language-item {
Expand Down Expand Up @@ -344504,7 +344506,7 @@ p.close-dialog {

@media (min-width: 1024px) {
.profile-section-body {
width: 75%;
width: 83.333333%;
}
}

Expand Down
2 changes: 1 addition & 1 deletion templates/incl/menubar.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
{% for lang in other_languages() %}
<div class="dropdown-item language" onclick="hedyApp.change_language ('{{lang.lang}}');event.preventDefault();" data-cy="switch-lang-{{lang.lang}}">{{ lang.sym }}</div>
{% endfor %}
<a class="add-language-item language" href="https://hosted.weblate.org/new-lang/hedy/adventures/">{{_('help_us_translate')}}</a>
<a id="help_translate_btn" class="add-language-item language" href="https://hosted.weblate.org/new-lang/hedy/adventures/">{{_('help_us_translate')}}</a>
</div>
</div>
</li>
Expand Down
2 changes: 1 addition & 1 deletion templates/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ <h2 class="profile-section-body-header">{{_('settings')}}</h2>
<option value="{{language.lang}}">{{language.sym}}</option>
{% endfor %}
</select>
<a class="ml-2 px-1 py-1 flex btn-shape green-btn items-center" href="https://hosted.weblate.org/new-lang/hedy/adventures/">{{_('help_us_translate')}}</a>
<a id="help_translate_btn" class=" ml-4 px-1 py-1 flex green-btn items-center" href="https://hosted.weblate.org/new-lang/hedy/adventures/">{{_('help_us_translate')}}</a>
</div>
<div class="flex flex-row items-center mb-2" id="keyword_lang_container"
{% if user_data and 'language' in user_data and (user_data['language'] not in keyword_languages_keys() or user_data['language'] == "en") %}style="display: none;"{% endif %}>
Expand Down
2 changes: 1 addition & 1 deletion translations/nl/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ msgid "hello_logo"
msgstr "hallo"

msgid "help_us_translate"
msgstr ""
msgstr "Help ons met vertalen"

msgid "hidden"
msgstr "Verborgen badges"
Expand Down

0 comments on commit e617879

Please sign in to comment.