mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
app: cosmetic: Rename a CSS style class in app header
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
d99fd41fff
commit
55bee19963
@ -80,7 +80,7 @@ def set_language(browser, language_code):
|
|||||||
|
|
||||||
def check_language(browser, language_code):
|
def check_language(browser, language_code):
|
||||||
nav_to_module(browser, 'config')
|
nav_to_module(browser, 'config')
|
||||||
return browser.find_by_css('.header-bar').first.find_by_tag(
|
return browser.find_by_css('.app-titles').first.find_by_tag(
|
||||||
'h2').first.value == config_page_title_language_map[language_code]
|
'h2').first.value == config_page_title_language_map[language_code]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<section class="app-description" >
|
<section class="app-description" >
|
||||||
<section class='header-bar'>
|
<section class='app-titles'>
|
||||||
{% block pagetitle %}
|
{% block pagetitle %}
|
||||||
{% if setup %}
|
{% if setup %}
|
||||||
<h2>{% trans "Installation" %}: {{ app_info.short_description|default:'' }} ({{ app_info.name }})</h2>
|
<h2>{% trans "Installation" %}: {{ app_info.short_description|default:'' }} ({{ app_info.name }})</h2>
|
||||||
|
|||||||
@ -558,13 +558,13 @@ a.menu_link_active {
|
|||||||
grid-column: 1;
|
grid-column: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-bar {
|
.app-titles {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row;
|
flex-flow: row;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-bar .app-toggle-container,
|
.app-titles .app-toggle-container {
|
||||||
margin: auto 0;
|
margin: auto 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -586,22 +586,22 @@ a.menu_link_active {
|
|||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-bar {
|
.app-titles {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: column-reverse;
|
flex-flow: column-reverse;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-bar h2 {
|
.app-titles h2 {
|
||||||
margin: 0 0 15px 0;
|
margin: 0 0 15px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-bar .app-toggle-container {
|
.app-titles .app-toggle-container {
|
||||||
margin: 30px auto;
|
margin: 30px auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-bar .toggle-button {
|
.app-titles .toggle-button {
|
||||||
transform: scale(1.2);
|
transform: scale(1.2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user