Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin'
Browse files Browse the repository at this point in the history
  • Loading branch information
helgihg committed Jul 3, 2018
2 parents 943b5d0 + 4ca44a2 commit d9f1134
Show file tree
Hide file tree
Showing 16 changed files with 72 additions and 334 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.10.10
0.10.11
1 change: 0 additions & 1 deletion core/static/README

This file was deleted.

91 changes: 0 additions & 91 deletions core/static/SIL Open Font License 1.1.txt

This file was deleted.

2 changes: 2 additions & 0 deletions core/static/css/_constants.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ $secondary-family: $font-text;

$color-btn-light: #eee;
$color-btn-primary: lighten($piratepurple, 10%);

$sidebar-width: 290px;
1 change: 1 addition & 0 deletions core/static/css/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
.navbar-brand { margin: 0px; padding: 0px; color: #fff; }
.navbar-brand img { max-height: 70px; }
.nav > .li, .navbar .nav > li > a:hover, .navbar-nav li > a {
background: transparent;
color: #fff;
font-family: $font-heading;
font-size: 18px;
Expand Down
75 changes: 25 additions & 50 deletions core/static/css/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,13 @@
transition: all 0.5s ease;
}

#wrapper.toggled {
padding-left: 0px;
}

#sidebar-wrapper {
z-index: 1000;
position: fixed;
left: 250px;
left: $sidebar-width;
width: 0;
height: 100%;
margin-left: -250px;
margin-left: -$sidebar-width;
overflow-y: auto;
background: $background-lightgray;
-webkit-transition: all 0.5s ease;
Expand All @@ -26,32 +22,34 @@
}

#wrapper.toggled #sidebar-wrapper {
width: 250px;
}

#page-content-wrapper {
width: 100%;
position: absolute;
padding: 15px;
}

#wrapper.toggled #page-content-wrapper {
position: absolute;
margin-right: -250px;
width: $sidebar-width;
}


.sidebar-nav {
position: absolute;
top: 0;
width: 250px;
width: $sidebar-width;
margin: 0;
padding: 0;
list-style: none;
}

.sidebar-nav .dropdown-menu {
width: $sidebar-width;
}

.sidebar-nav .dropdown-menu li {
text-indent: 0px;
border-bottom: 1px solid $background-lightgray;
}

.sidebar-nav .dropdown-menu li > a {
white-space: normal;
padding-left: 10px;
}

.sidebar-nav li {
text-indent: 20px;
text-indent: 10px;
line-height: 40px;
}

Expand All @@ -68,30 +66,15 @@
}

.sidebar-nav li a:hover, .sidebar-nav li.active a {
text-decoration: none;
color: #000;
background: #ddd;
}

.sidebar-nav li a:active, .sidebar-nav li a:focus {
text-decoration: none;
color: #000;
background: #ddd;
}

.sidebar-nav>.sidebar-brand {
height: 65px;
font-size: 18px;
line-height: 60px;
}

.sidebar-nav>.sidebar-brand a {
color: #999999;
}

.sidebar-nav>.sidebar-brand a:hover {
color: #fff;
background: none;
.sidebar-nav li > span.label {
margin-left: 10px;
}

.navbar-toggle {
Expand All @@ -108,23 +91,15 @@

@media(min-width:768px) {
#wrapper {
padding-left: 250px;
padding-left: $sidebar-width;
}
#wrapper.toggled {
padding-left: 250px;
padding-left: $sidebar-width;
}
#sidebar-wrapper {
width: 250px;
width: $sidebar-width;
}
#wrapper.toggled #sidebar-wrapper {
width: 250px;
}
#page-content-wrapper {
padding: 20px;
position: relative;
}
#wrapper.toggled #page-content-wrapper {
position: relative;
margin-right: 0;
width: $sidebar-width;
}
}
71 changes: 23 additions & 48 deletions core/static/css/application.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d9f1134

Please sign in to comment.