-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tabs styling issue #72
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -309,19 +309,6 @@ ul { | |
} | ||
} | ||
} | ||
.bg-shield { | ||
height: 60px; | ||
width: 100%; | ||
position: fixed; | ||
top: 125px; | ||
background-color: $simple_background; | ||
z-index: 1; | ||
} | ||
.test-tabs .nav-tabs { | ||
position: fixed; | ||
top: 128px; | ||
z-index: 2; | ||
} | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for cleaning this up! 👍 |
||
// cookies report | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,33 +17,28 @@ | |
*/ | ||
.toolbar { | ||
@include transition(left 0.3s, width 0.3s); | ||
position: fixed; | ||
left: 0; | ||
height: 125px; | ||
width: 100%; | ||
|
||
.menu-expanded & { | ||
left: 350px; | ||
width: calc(100% - 350px); | ||
} | ||
float: left; | ||
|
||
&-holder { | ||
z-index: 10; | ||
} | ||
|
||
&-top { | ||
display: flex; | ||
justify-content: space-between; | ||
width: 100%; | ||
background: $gray_light; | ||
border-bottom: solid 1px #ededed; | ||
background: $gray_light; | ||
padding: 0 20px; | ||
display: table; | ||
width: 100%; | ||
} | ||
|
||
&-toggle { | ||
float: left; | ||
display: flex; | ||
align-self: center; | ||
cursor: pointer; | ||
padding-top: 17px; | ||
margin-right: 20px; | ||
|
||
span { | ||
display: block; | ||
|
@@ -56,8 +51,7 @@ | |
|
||
&-link { | ||
@include transition(width, 0.3s); | ||
width: calc(100vw - 570px); | ||
float: left; | ||
width: calc(100% - 200px); | ||
background: $white; | ||
|
||
> { | ||
|
@@ -68,23 +62,26 @@ | |
&-block { | ||
text-align: center; | ||
border-left: solid 1px $border_color; | ||
border-right: solid 1px $border_color; | ||
font-family: $font_light; | ||
color: rgb(119, 119, 124); | ||
font-size: 14px; | ||
float: left; | ||
line-height: 49px; | ||
padding: 0 22px; | ||
padding: 16px 22px; | ||
|
||
i { | ||
cursor: pointer; | ||
font-size: 20px; | ||
vertical-align: middle; | ||
align-self: center; | ||
} | ||
|
||
&:last-child { | ||
display: flex; | ||
border-right: solid 1px $border_color; | ||
} | ||
} | ||
|
||
&-blocks { | ||
float: right; | ||
display: flex; | ||
flex-wrap: nowrap; | ||
|
||
&.is-absolute { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. New line above as it was before - follow the convention |
||
right: 0; | ||
|
@@ -95,7 +92,8 @@ | |
} | ||
|
||
&-bottom { | ||
display: table; | ||
display: flex; | ||
justify-content: space-between; | ||
width: 100%; | ||
padding: 0 20px; | ||
background: $white; | ||
|
@@ -106,7 +104,6 @@ | |
color: $gray_darker; | ||
padding-right: 20px; | ||
line-height: 54px; | ||
display: table; | ||
a { | ||
color: $gray_darker; | ||
|
||
|
@@ -118,6 +115,7 @@ | |
} | ||
|
||
&-nav { | ||
width: 80px; | ||
padding-top: 5px; | ||
margin-right: 20px; | ||
|
||
|
@@ -184,13 +182,6 @@ | |
} | ||
} | ||
|
||
.menu-expanded { | ||
|
||
.toolbar-link { | ||
width: calc(100vw - 920px); | ||
} | ||
} | ||
|
||
.tab-content-toolbar { | ||
|
||
@media (max-width: 1300px) { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'main' is also used with 'toolbar-holder', so expanding and collapsing works properly