Skip to content

Commit

Permalink
merged master
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Cuy committed Oct 5, 2015
2 parents 4206661 + eba063b commit 748185b
Show file tree
Hide file tree
Showing 3 changed files with 190 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/css/bootstrap-theme.min.css

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

188 changes: 188 additions & 0 deletions src/css/bootstrap-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,171 @@
*/
@import url(////fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,400italic,700italic&subset=latin,latin-ext);

.navbar-default .navbar-collapse, .navbar-default .navbar-form {

border: none;
}

.navbar-form {

box-shadow: none;
}

.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {

color: #fff;
}

@media (max-width: 925px) {

.navbar-default {

padding: 0;
margin: 0;
}

.navbar-header {

float: none;
}

.navbar-toggle {

display: block;
padding: 7px 7px;
margin-top: 10px;
margin-right: 10px;
}

.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse, .navbar-static-top .navbar-collapse {

padding-left: 15px;
padding-right: 15px;
}

.navbar-collapse.collapse {

display: none !important;
}

.navbar-nav {

float: none !important;
margin: 0;
}

.navbar-nav>li {

float: none;
}
}

/* Spread form input item over whole width */
@media (min-width: 768px) and (max-width: 925px) {

.navbar-form {

margin: 8px -15px;
padding: 10px 15px;
}

.input-group .form-control, .input-group-addon, .input-group-btn {

display: table-cell;
}

.input-group .form-control {
float: left;
margin-bottom: 0;
position: relative;
width: 100%;
z-index: 2;
}

.navbar-left {
float: none !important;
}
}

/* / First breakpoint */

/* Second breakpoint */
@media (max-width: 767px) {

.navbar-nav > li > a {

padding-bottom: 15px;
padding-top: 15px;
}

.navbar-collapse {

box-shadow: none;
}

.navbar .nav > li > .dropdown-menu::before {

border-bottom: 7px solid #fff;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
content: "";
display: inline-block;
left: 25px;
position: absolute;
top: -7px;
}

.navbar-nav > li > .dropdown-menu {

border-top-left-radius: 0;
border-top-right-radius: 0;
margin-top: 0;
}

.open > .dropdown-menu {
display: block;
}

.dropdown-menu {

background-clip: padding-box !important;
background-color: #fff !important;
border: 1px solid rgba(0, 0, 0, 0.15) !important;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176) !important;
font-size: 14px !important;
left: 0;
list-style: outside none none;
margin: 0 !important;
min-width: 160px !important;
padding: 5px 0 !important;
position: absolute !important;
text-align: left !important;
top: 100% !important;
z-index: 1000 !important;
}

.dropdown-menu > li > a {

clear: both !important;
color: #333 !important;
display: block !important;
font-weight: 400 !important;
line-height: 1.42857 !important;
padding: 3px 20px !important;
white-space: nowrap !important;
}
}

/* / Second breakpoint */

#kleinerGreif {

height: 36px;
width: 36px;
margin-top: -8px;
margin-bottom: -8px;
}

body {
font-family: 'Source Sans Pro',Arial,Helvetica,sans-serif;
}
Expand All @@ -19,7 +184,9 @@ a {
}

.navbar-default .navbar-nav > li > a {

color: #fff;
line-height: 23px;
}

.navbar-default .navbar-brand {
Expand Down Expand Up @@ -48,6 +215,11 @@ a {
color: #fff;
}

.navbar-form {

padding-top: 1px;
}

.idai-footer {
margin-top: 10px;
padding: 30px;
Expand Down Expand Up @@ -83,6 +255,7 @@ a {
}

.navbar .nav > li > .dropdown-menu:before {

content: '';
display: inline-block;
border-left: 7px solid transparent;
Expand All @@ -93,6 +266,21 @@ a {
left: 25px;
}

.navbar-default .navbar-toggle {

border-color: #fff;
}

.navbar-default .navbar-toggle .icon-bar {

background-color: #fff;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {

background-color: #6E8BBA;
}

/* as described in angular-ui bootstrap guide */
.nav, .pagination, .carousel, .panel-title a {
cursor: pointer;
Expand Down
3 changes: 1 addition & 2 deletions src/partials/directives/idai-navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
<ul class="nav navbar-nav">
<li class="dropdown" dropdown>
<a href="#" dropdown-toggle class="dropdown-toggle" data-toggle="dropdown">
<img src="img/kleinergreif.png"
style="height: 36px; width: 36px; margin-top: -8px; margin-bottom: -8px">
<img src="img/kleinergreif.png" id="kleinerGreif">
<b class="caret"></b>
</a>
<ul class="dropdown-menu" dropdown-menu>
Expand Down

0 comments on commit 748185b

Please sign in to comment.