Browse Source

Merge pull request #530 from twbs/jump-nav

Fix positioning of the jump nav
pull/522/head
Connor Sears 11 years ago
parent
commit
d86e5d5b08
  1. 9
      docs/assets/css/docs.css
  2. 2
      docs/assets/css/docs.min.css
  3. 10
      sass/docs.scss

9
docs/assets/css/docs.css

@ -213,7 +213,7 @@ body {
.docs-jump-menu { .docs-jump-menu {
position: absolute; position: absolute;
left: 20px; left: 15px;
display: block; display: block;
color: #777; color: #777;
cursor: pointer; cursor: pointer;
@ -240,7 +240,7 @@ body {
.docs-component-group { .docs-component-group {
position: absolute; position: absolute;
top: 35px; top: 35px;
left: 30px; left: 15px;
padding-top: 10px; padding-top: 10px;
padding-bottom: 10px; padding-bottom: 10px;
background-color: #fff; background-color: #fff;
@ -284,11 +284,6 @@ body {
background-color: #428bca; background-color: #428bca;
} }
} }
@media screen and (min-width: 1200px) {
.docs-jump-menu {
left: 30px;
}
}
.docs-header-content { .docs-header-content {
position: relative; position: relative;
padding: 50px 10px; padding: 50px 10px;

2
docs/assets/css/docs.min.css vendored

File diff suppressed because one or more lines are too long

10
sass/docs.scss

@ -216,7 +216,7 @@ body {
// Component jump menu // Component jump menu
.docs-jump-menu { .docs-jump-menu {
position: absolute; position: absolute;
left: 20px; left: 15px;
display: block; display: block;
color: #777; color: #777;
cursor: pointer; cursor: pointer;
@ -241,7 +241,7 @@ body {
.docs-component-group { .docs-component-group {
position: absolute; position: absolute;
top: 35px; top: 35px;
left: 30px; left: 15px;
padding-top: 10px; padding-top: 10px;
padding-bottom: 10px; padding-bottom: 10px;
background-color: #fff; background-color: #fff;
@ -287,12 +287,6 @@ body {
} }
} }
} }
// Account for extra margin on large screens
@media screen and (min-width: 1200px) {
.docs-jump-menu {
left: 30px;
}
}
// Main homepage header content // Main homepage header content
// "Build mobile apps using simple..." // "Build mobile apps using simple..."

Loading…
Cancel
Save