Commit fc0a26ae by marco

styled header of problem component adding menu and made it only visible when you…

styled header of problem component adding menu and made it only visible when you are in the problem menu
parent 1d63f107
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
border: 1px solid $mediumGrey; border: 1px solid $mediumGrey;
width: 100px; width: 100px;
height: 100px; height: 100px;
color: #edf1f5; color: #fff;
margin-right: 15px; margin-right: 15px;
margin-bottom: 15px; margin-bottom: 15px;
border-radius: 8px; border-radius: 8px;
...@@ -132,16 +132,17 @@ ...@@ -132,16 +132,17 @@
.new-component-templates { .new-component-templates {
display: none; display: none;
padding: 20px;
@include clearfix; @include clearfix;
.tab-group { .tab-group {
border-radius: 4px; border-bottom-right-radius: 3px;
border: 1px solid $mediumGrey; border-bottom-left-radius: 3px;
color: #3c3c3c;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
} }
.cancel-button { .cancel-button {
margin-top: 20px; margin: 20px 0px 10px 10px;
@include white-button; @include white-button;
} }
...@@ -157,7 +158,7 @@ ...@@ -157,7 +158,7 @@
} }
.problem-type-tabs { .problem-type-tabs {
display: block; display: inline-block;
} }
} }
} }
...@@ -181,35 +182,46 @@ ...@@ -181,35 +182,46 @@
.problem-type-tabs { .problem-type-tabs {
list-style-type: none; list-style-type: none;
display: block; width: 100%;
line-height: 2; background-color: $lightBluishGrey;
border-bottom: 1px solid $mediumGrey; border-top-left-radius: 3px;
background:none; border-top-right-radius: 3px;
padding: 6px 14px;
.problem-type-label { li:first-child {
font-size: 16px; border-top-left-radius: 3px;
text-align: center;
color: $mediumGrey;
} }
li:last-child {
border-top-right-radius: 3px;
}
li { li {
float: right; float:left;
display:inline-block; display:inline-block;
width: 100px;
text-align:center; text-align:center;
@include border-radius(5px 5px 5px 5px); width: 50%;
@include linear-gradient(top, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0));
background-color: $lightBluishGrey;
@include box-shadow(0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 -1px 0 rgba(0, 0, 0, 0.2) inset);
&:hover {
opacity: .7;
@include linear-gradient(top, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0));
}
&.current { &.current {
background: #edf1f5; border: 0px;
@include active;
} }
} }
a{ a{
padding: 4px 10px; display: block;
border-radius: 3px; padding: 10px 25px;
font-size: 16px; font-size: 14px;
line-height: 16px; line-height: 16px;
text-align: center; text-align: center;
color: #3c3c3c;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
} }
} }
...@@ -218,12 +230,11 @@ ...@@ -218,12 +230,11 @@
a { a {
background: #fff; background: #fff;
border: 0px; border: 0px;
color: #4F8BC4; color: #3c3c3c;
&:hover { &:hover {
border-radius: 0px; background: tint($green,30%);
background: tint($green,30%); color: #fff;
color: #edf1f5;
@include transition(background-color .15s); @include transition(background-color .15s);
} }
} }
...@@ -234,9 +245,9 @@ ...@@ -234,9 +245,9 @@
color: #fff; color: #fff;
} }
li:last-child { li:first-child {
a { a {
border-radius: 0px; border-top: 0px;
} }
} }
...@@ -284,7 +295,7 @@ ...@@ -284,7 +295,7 @@
} }
&:hover { &:hover {
color: #CB9C40; color: #fff;
.ss-icon { .ss-icon {
opacity: 1.0; opacity: 1.0;
...@@ -298,18 +309,17 @@ ...@@ -298,18 +309,17 @@
// specific editor types // specific editor types
.empty { .empty {
margin-bottom: 0px 0px 0px 25px;
a { a {
font-size: 18px; line-height: 1.4;
line-height: 2; font-weight: 400;
font-weight: 500;
background: #fff; background: #fff;
color: #4F8BC4; color: #3c3c3c;
&:hover { &:hover {
background: #fffcf1; background: tint($green,30%);
color: #CB9C40; color: #fff;
} }
} }
} }
......
...@@ -67,9 +67,8 @@ ...@@ -67,9 +67,8 @@
<div class="tab-group"> <div class="tab-group">
<ul class="problem-type-tabs nav-tabs"> <ul class="problem-type-tabs nav-tabs">
<span class="problem-type-label">Problem Types: </span>
<li class="current"> <li class="current">
<a class="link-tab" href="#tab1">Common</a> <a class="link-tab" href="#tab1">Common Problem Types</a>
</li> </li>
<li> <li>
<a class="link-tab" href="#tab2">Advanced</a> <a class="link-tab" href="#tab2">Advanced</a>
......
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