aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2015-09-01 01:24:48 +0200
committerAlex Legler <alex@a3li.li>2015-09-01 01:24:48 +0200
commit8879ec87189528a492e6f6650fcf4768b3a9d4f4 (patch)
treeb0205e7722a91a379ff6097e8cda4dfd87ddafb1
parentRemove dependency on glyphicons, new icon for site dropdown (diff)
downloadtyrian-theme-8879ec87189528a492e6f6650fcf4768b3a9d4f4.tar.gz
tyrian-theme-8879ec87189528a492e6f6650fcf4768b3a9d4f4.tar.bz2
tyrian-theme-8879ec87189528a492e6f6650fcf4768b3a9d4f4.zip
Keep gentoo-org-sites dropdown on XS screens (#8)
-rw-r--r--index.html4
-rw-r--r--sources/css/tyrian/less/header.less9
2 files changed, 10 insertions, 3 deletions
diff --git a/index.html b/index.html
index 52e0422..01d2af5 100644
--- a/index.html
+++ b/index.html
@@ -19,9 +19,9 @@
<a href="https://get.gentoo.org/" role="button" class="btn get-gentoo"><span class="fa fa-fw fa-download"></span> <strong>Get Gentoo!</strong></a>
<div class="btn-group btn-group-sm">
<a class="btn gentoo-org-sites dropdown-toggle" data-toggle="dropdown" data-target="#" href="#">
- <span class="fa fa-fw fa-map-o"></span> gentoo.org sites <span class="caret"></span>
+ <span class="fa fa-fw fa-map-o"></span> <span class="hidden-xs">gentoo.org sites</span> <span class="caret"></span>
</a>
- <ul class="dropdown-menu">
+ <ul class="dropdown-menu dropdown-menu-right">
<li><a href="https://www.gentoo.org/" title="Main Gentoo website"><span class="fa fa-home fa-fw"></span> gentoo.org</a></li>
<li><a href="https://wiki.gentoo.org/" title="Find and contribute documentation"><span class="fa fa-file-text fa-fw"></span> Wiki</a></li>
<li><a href="https://bugs.gentoo.org/" title="Report issues and find common issues"><span class="fa fa-bug fa-fw"></span> Bugs</a></li>
diff --git a/sources/css/tyrian/less/header.less b/sources/css/tyrian/less/header.less
index b88d62f..15a42d7 100644
--- a/sources/css/tyrian/less/header.less
+++ b/sources/css/tyrian/less/header.less
@@ -20,7 +20,6 @@
margin-top: 1em;
margin-right: 1em;
.pull-right;
- .hidden-xs;
}
.site-title-button-group {
@@ -33,6 +32,14 @@
.btn;
.btn-primary;
color: white !important;
+ .hidden-xs;
+}
+
+@media (max-width: @screen-xs-max) {
+ .gentoo-org-sites {
+ border-top-left-radius: @border-radius-small !important;
+ border-bottom-left-radius: @border-radius-small !important;
+ }
}
.gentoo-org-sites {