mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
css: Merge responsive.css into main style file
- Eliminate issue with collapsed navbar's drop-down menu text color when the width is exactly 768px or less than 320px. - Remove redundant footer's position: relative rule. Tests performed: - Change the browser width to 768px, the navbar is not collapsed and drop down menu text color is black on white background. - Change the browser width to 767px, the navbar is collapsed and drop down menu text color is white on blue background. - Change the browser width to less than 320px, the navbar is collapsed and drop down menu text color is white on blue background. - Footer on the main page and remaining pages is unchanged at <320px, =767px and >= 768px. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
4e24eca25d
commit
b51ccff743
@ -56,7 +56,6 @@
|
|||||||
<link rel="stylesheet" href="{% static '/javascript/bootstrap/css/bootstrap.min.css' %}"/>
|
<link rel="stylesheet" href="{% static '/javascript/bootstrap/css/bootstrap.min.css' %}"/>
|
||||||
<link rel="stylesheet" href="{% static '/javascript/fork-awesome/css/fork-awesome.css' %}"/>
|
<link rel="stylesheet" href="{% static '/javascript/fork-awesome/css/fork-awesome.css' %}"/>
|
||||||
<link rel="stylesheet" href="{% static 'theme/css/plinth.css' %}"/>
|
<link rel="stylesheet" href="{% static 'theme/css/plinth.css' %}"/>
|
||||||
<link rel="stylesheet" href="{% static 'theme/css/responsive.css' %}"/>
|
|
||||||
<!-- Local link to system Turbolinks JS -->
|
<!-- Local link to system Turbolinks JS -->
|
||||||
<script type="text/javascript" src="{% static '/javascript/turbolinks/turbolinks.js' %}" defer></script>
|
<script type="text/javascript" src="{% static '/javascript/turbolinks/turbolinks.js' %}" defer></script>
|
||||||
<!-- Local link to system Modernizr (includes HTML5 Shiv) -->
|
<!-- Local link to system Modernizr (includes HTML5 Shiv) -->
|
||||||
|
|||||||
@ -293,6 +293,13 @@ footer {
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 767px) {
|
||||||
|
.main-header.navbar-default .navbar-nav>.open .dropdown-menu > li > a,
|
||||||
|
.main-header.navbar-default .navbar-nav>.open .dropdown-menu > li > a:hover {
|
||||||
|
color: #FFF;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.navbar-default .navbar-toggle .icon-bar {
|
.navbar-default .navbar-toggle .icon-bar {
|
||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,17 +0,0 @@
|
|||||||
/*
|
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
||||||
*/
|
|
||||||
/* Responsive queries */
|
|
||||||
/* Smartphone */
|
|
||||||
|
|
||||||
@media only screen and (min-width: 320px) and (max-width: 768px) {
|
|
||||||
footer{
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar-default .navbar-nav .open .dropdown-menu > li > a,
|
|
||||||
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user