Fix of U4-5040

This commit is contained in:
Jan Skovgaard
2014-06-08 18:31:50 +02:00
parent d6b0ed2d40
commit d7a0447e2e
4 changed files with 26 additions and 6 deletions

View File

@@ -56,7 +56,7 @@
<input type="submit" ng-disabled="myForm.$invalid" value="Install" class="btn btn-success" />
<a href class="btn btn-link" ng-disabled="myForm.$invalid" ng-click="validateAndForward()">Customize</a>
<a href class="btn btn-neutral control-customize" ng-disabled="myForm.$invalid" ng-click="validateAndForward()">Customize</a>
</div>
</div>

View File

@@ -64,8 +64,6 @@
}
.btn-group>.btn+.dropdown-toggle {
box-shadow: none;
-webkit-box-shadow:none;
@@ -163,7 +161,8 @@ input[type="button"] {
.btn-danger.active,
.btn-success.active,
.btn-info.active,
.btn-inverse.active {
.btn-inverse.active,
.btn-neutral.active {
color: rgba(255,255,255,.75);
}
@@ -192,7 +191,23 @@ input[type="button"] {
.btn-inverse {
.buttonBackground(@btnInverseBackground, @btnInverseBackgroundHighlight);
}
// Neutral appears as lighter gray
.btn-neutral {
.buttonBackground(@btnNeutralBackground, @btnNeutralBackgroundHighlight);
color: #656565;
// Hover/focus state
&:hover,
&:focus {
color: #656565;
}
&.disabled,
&[disabled] {
color:#656565;
.opacity(65);
}
}
// Cross-browser Jank
// --------------------------------------------------

View File

@@ -288,4 +288,8 @@ select {
width:100%;
overflow:auto;
border:none;
}
.control-customize{
margin:2px 0 0 0;
}

View File

@@ -102,8 +102,6 @@
@btnBackgroundHighlight: #e4e4e4;
@btnBorder: #ccc;
//@btnPrimaryBackground: #297aff;
//@btnPrimaryBackgroundHighlight: #297aff;
@btnPrimaryBackground: #53a93f;
@btnPrimaryBackgroundHighlight: #53a93f;
@@ -122,6 +120,9 @@
@btnInverseBackground: #444;
@btnInverseBackgroundHighlight: @grayDarker;
@btnNeutralBackground: #f5f5f5;
@btnNeutralBackgroundHighlight: #f5f5f5;
// Forms
// -------------------------