Commit fd86b669 authored by Andrey's avatar Andrey

CSS markup fixed

Everything is fixed according DZ comments.
Added a bit sexy transition for our project buttons ><
parent a4383aea
html { html {
overflow-y: scroll; overflow-y: scroll;
height: 100%;
margin: 0;
&.touch .tooltip { display: none !important; } &.touch .tooltip { display: none !important; }
body { body {
padding-top: $header-height; padding-top: $header-height;
height: 100%;
margin: 0;
} }
} }
.container { .container {
padding-top: 0; padding-top: 0;
height: 100%;
width: 100%;
z-index: 5; z-index: 5;
} }
......
...@@ -94,6 +94,7 @@ body { ...@@ -94,6 +94,7 @@ body {
@mixin btn-info { @mixin btn-info {
@include border-radius(2px); @include border-radius(2px);
@include transition (all 0.2s ease 0s);
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
...@@ -116,6 +117,7 @@ body { ...@@ -116,6 +117,7 @@ body {
&:active { &:active {
@include box-shadow(inset 0 0 4px rgba(0, 0, 0, 0.12)); @include box-shadow(inset 0 0 4px rgba(0, 0, 0, 0.12));
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
} }
...@@ -123,6 +125,7 @@ body { ...@@ -123,6 +125,7 @@ body {
@mixin btn-middle { @mixin btn-middle {
@include border-radius(2px); @include border-radius(2px);
@include transition (all 0.2s ease 0s);
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
...@@ -145,6 +148,7 @@ body { ...@@ -145,6 +148,7 @@ body {
&:active { &:active {
@include box-shadow(inset 0 0 4px rgba(0, 0, 0, 0.12)); @include box-shadow(inset 0 0 4px rgba(0, 0, 0, 0.12));
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
} }
......
.page-with-sidebar { .page-with-sidebar {
min-height: 100%;
height: 100%;
.sidebar-wrapper { .sidebar-wrapper {
position: fixed; position: fixed;
top: 0; top: 0;
...@@ -40,43 +43,6 @@ ...@@ -40,43 +43,6 @@
} }
} }
.content {
height: 100%;
width: 100%;
}
.max_height {
height: 100%;
display: table;
width: 100%;
}
.project-show-readme {
height: 100%;
display: table-row;
}
.wiki {
min-width: 1167px;
}
section {
height: 100%;
display: table-row;
}
html, body {
height: 100%;
margin: 0;
}
.page-with-sidebar{
min-height: 100%;
height: 100%;
}
.nav-sidebar { .nav-sidebar {
margin-top: 14 + $header-height; margin-top: 14 + $header-height;
margin-bottom: 100px; margin-bottom: 100px;
......
...@@ -505,3 +505,19 @@ pre.light-well { ...@@ -505,3 +505,19 @@ pre.light-well {
display: inline-block; display: inline-block;
} }
.content {
height: 100%;
width: 100%;
}
.max-height {
height: 100%;
display: table;
width: 100%;
}
section {
height: 100%;
display: table-row;
}
\ No newline at end of file
...@@ -25,5 +25,5 @@ ...@@ -25,5 +25,5 @@
= render "layouts/flash" = render "layouts/flash"
%div{ class: container_class } %div{ class: container_class }
.content .content
.clearfix.max_height .clearfix.max-height
= yield = yield
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment