2015-04-09 15:46:29 +02:00
|
|
|
/**
|
|
|
|
* Copyright 2015 IBM Corp.
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
**/
|
|
|
|
|
|
|
|
@mixin disable-selection {
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin component-border {
|
2015-07-13 12:26:29 +02:00
|
|
|
border: 1px solid $primary-border-color;
|
2015-07-12 00:43:45 +02:00
|
|
|
box-sizing: border-box;
|
2015-07-13 16:08:17 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin workspace-button {
|
|
|
|
color: $workspace-button-color;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: inline-block;
|
|
|
|
background: $workspace-button-background;
|
|
|
|
border: 1px solid $secondary-border-color;
|
|
|
|
text-align: center;
|
|
|
|
margin:0;
|
|
|
|
text-decoration: none;
|
|
|
|
&.disabled {
|
|
|
|
cursor: default;
|
|
|
|
color: $workspace-button-color-disabled;
|
|
|
|
}
|
|
|
|
&:not(.disabled):hover {
|
|
|
|
color: $workspace-button-color-hover;
|
|
|
|
background: $workspace-button-background-hover;
|
|
|
|
}
|
|
|
|
&:not(.disabled):focus {
|
|
|
|
color: $workspace-button-color-focus;
|
|
|
|
}
|
|
|
|
&:not(.disabled):active {
|
|
|
|
color: $workspace-button-color-active;
|
|
|
|
background: $workspace-button-background-active;
|
|
|
|
}
|
2015-04-09 15:46:29 +02:00
|
|
|
}
|