1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
@import '../common/_variables.scss';
$asdcsApplicationMinHeight: 400px;
$asdcsEditorWidth: 500px;
$asdcsFontSize: 13px;
$asdcsTransitionTime: 250ms;
$asdcsTextColor: $text-black;
$asdcsColorWhite: $white;
$asdcsColorWhitish: lighten($asdcsColorWhite, 5%);
$asdcsColorBlack: $black;
$asdcsColorOne: $tlv-light-gray;
$asdcsColorOneLight: lighten($asdcsColorOne, 5%);
$asdcsColorOneDark: $dark-gray;
$asdcsColorTwo: $blue;
$asdcsColorTwoLight: lighten($asdcsColorTwo, 10%);
$asdcsColorThree: $light-purple;
$asdcsColorGrey: $gray;
$asdcsColorDarkGrey: $dark-gray;
$asdcsColorLightGrey: $light-gray;
$asdcsColorEmphasis: lighten($asdcsColorTwo, 10%);
$asdcsColorEmphasisHover: $asdcsColorTwo;
$asdcsSmallIconSize: 20px;
// Buttons.
$asdcsColorButtonBG: $asdcsColorOneDark;
$asdcsColorButtonBGHover: $asdcsColorOne;
$asdcsColorButtonFG: $asdcsColorWhitish;
$asdcsColorButtonFGHover: $asdcsColorWhite;
// Input fields.
$asdcsInputSelectBorderColor: #d8d8d8;
$asdcsInputSelectBorderRadius: 2px;
$asdcsInputSelectFontSize: 14px;
$asdcsInputSelectHeight: 30px;
$asdcsInputSelectArrowColor: $asdcsColorOneDark;
$asdcsInputTextColor: $asdcsTextColor;
$asdcsInputTextBorderColor: $asdcsColorWhite;
$asdcsInputTextBorderFocusColor: #d8d8d8;
$asdcsInputTextBorderRadius: 2px;
$asdcsInputTextFontSize: $asdcsFontSize;
$asdcsInputTextHeight: 22px;
$asdcsPopupBorderRadius: 3px;
// SVG-specific.
$asdcsSVGSelectableColor: $asdcsColorOne;
$asdcsSVGSelectableOpacity: 0.01;
$asdcsSVGSelectableWidth: 100;
$asdcsSVGStrokeColor: $gray;
$asdcsSVGStrokeColorLifeline: $asdcsSVGStrokeColor;
$asdcsSVGStrokeColorMessage: #d8d8d8;
$asdcsSVGTextColorMessage: $asdcsColorOneDark;
$asdcsSVGStrokeColorFragment: $asdcsColorOneDark;
$asdcsSVGStrokeWidth: 4;
$asdcsSVGStrokeActiveColor: $asdcsColorBlack;
$asdcsSVGStrokeActiveWidth: $asdcsSVGStrokeWidth + 4;
// -------------------------------------------------------------------------------------------------
@mixin drop-shadow($x: 0px, $y: 0px, $blur: 2px, $spread: 2px, $alpha: 0.25) {
-webkit-box-shadow: $x $y $blur $spread rgba(0, 0, 0, $alpha);
-moz-box-shadow: $x $y $blur $spread rgba(0, 0, 0, $alpha);
box-shadow: $x $y $blur $spread rgba(0, 0, 0, $alpha);
}
// -------------------------------------------------------------------------------------------------
@mixin transition($transition) {
-webkit-transition: $transition;
-moz-transition: $transition;
-ms-transition: $transition;
-o-transition: $transition;
}
// -------------------------------------------------------------------------------------------------
@mixin gradient($startColor: #eee, $endColor: white) {
background-color: $startColor;
background: -webkit-gradient(linear, left top, left bottom, from($startColor), to($endColor));
background: -webkit-linear-gradient(top, $startColor, $endColor);
background: -moz-linear-gradient(top, $startColor, $endColor);
background: -ms-linear-gradient(top, $startColor, $endColor);
background: -o-linear-gradient(top, $startColor, $endColor);
}
// -------------------------------------------------------------------------------------------------
@mixin noselect() {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Chrome/Safari/Opera */
-khtml-user-select: none; /* Konqueror */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE/Edge */
user-select: none; /* non-prefixed version, currently not supported by any browser */
}
.asdcs-hidden {
display: none;
}
|