less-rails-semantic_ui 1.12.3.0 → 2.0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/javascripts/semantic_ui/definitions/behaviors/api.js +394 -188
- data/assets/javascripts/semantic_ui/definitions/behaviors/colorize.js +4 -2
- data/assets/javascripts/semantic_ui/definitions/behaviors/form.js +263 -125
- data/assets/javascripts/semantic_ui/definitions/behaviors/state.js +3 -3
- data/assets/javascripts/semantic_ui/definitions/behaviors/visibility.js +213 -96
- data/assets/javascripts/semantic_ui/definitions/behaviors/visit.js +6 -4
- data/assets/javascripts/semantic_ui/definitions/globals/site.js +4 -4
- data/assets/javascripts/semantic_ui/definitions/modules/accordion.js +66 -52
- data/assets/javascripts/semantic_ui/definitions/modules/checkbox.js +309 -112
- data/assets/javascripts/semantic_ui/definitions/modules/dimmer.js +24 -26
- data/assets/javascripts/semantic_ui/definitions/modules/dropdown.js +2005 -590
- data/assets/javascripts/semantic_ui/definitions/modules/embed.js +662 -0
- data/assets/javascripts/semantic_ui/definitions/modules/modal.js +106 -79
- data/assets/javascripts/semantic_ui/definitions/modules/nag.js +7 -8
- data/assets/javascripts/semantic_ui/definitions/modules/popup.js +323 -194
- data/assets/javascripts/semantic_ui/definitions/modules/progress.js +111 -103
- data/assets/javascripts/semantic_ui/definitions/modules/rating.js +78 -54
- data/assets/javascripts/semantic_ui/definitions/modules/search.js +304 -122
- data/assets/javascripts/semantic_ui/definitions/modules/shape.js +93 -47
- data/assets/javascripts/semantic_ui/definitions/modules/sidebar.js +83 -149
- data/assets/javascripts/semantic_ui/definitions/modules/sticky.js +99 -29
- data/assets/javascripts/semantic_ui/definitions/modules/tab.js +219 -124
- data/assets/javascripts/semantic_ui/definitions/modules/transition.js +202 -171
- data/assets/stylesheets/semantic_ui/definitions/collections/breadcrumb.less +2 -1
- data/assets/stylesheets/semantic_ui/definitions/collections/form.less +135 -58
- data/assets/stylesheets/semantic_ui/definitions/collections/grid.less +366 -383
- data/assets/stylesheets/semantic_ui/definitions/collections/menu.less +838 -631
- data/assets/stylesheets/semantic_ui/definitions/collections/message.less +89 -71
- data/assets/stylesheets/semantic_ui/definitions/collections/table.less +183 -131
- data/assets/stylesheets/semantic_ui/definitions/elements/button.less +1097 -300
- data/assets/stylesheets/semantic_ui/definitions/elements/container.less +135 -0
- data/assets/stylesheets/semantic_ui/definitions/elements/divider.less +31 -30
- data/assets/stylesheets/semantic_ui/definitions/elements/flag.less +1 -1
- data/assets/stylesheets/semantic_ui/definitions/elements/header.less +209 -121
- data/assets/stylesheets/semantic_ui/definitions/elements/icon.less +201 -96
- data/assets/stylesheets/semantic_ui/definitions/elements/image.less +26 -11
- data/assets/stylesheets/semantic_ui/definitions/elements/input.less +49 -14
- data/assets/stylesheets/semantic_ui/definitions/elements/label.less +391 -221
- data/assets/stylesheets/semantic_ui/definitions/elements/list.less +107 -68
- data/assets/stylesheets/semantic_ui/definitions/elements/loader.less +3 -1
- data/assets/stylesheets/semantic_ui/definitions/elements/rail.less +34 -25
- data/assets/stylesheets/semantic_ui/definitions/elements/reveal.less +25 -10
- data/assets/stylesheets/semantic_ui/definitions/elements/segment.less +261 -173
- data/assets/stylesheets/semantic_ui/definitions/elements/step.less +169 -70
- data/assets/stylesheets/semantic_ui/definitions/globals/reset.less +1 -1
- data/assets/stylesheets/semantic_ui/definitions/globals/site.less +3 -1
- data/assets/stylesheets/semantic_ui/definitions/modules/accordion.less +1 -2
- data/assets/stylesheets/semantic_ui/definitions/modules/checkbox.less +175 -103
- data/assets/stylesheets/semantic_ui/definitions/modules/dimmer.less +26 -15
- data/assets/stylesheets/semantic_ui/definitions/modules/dropdown.less +349 -80
- data/assets/stylesheets/semantic_ui/definitions/modules/embed.less +174 -0
- data/assets/stylesheets/semantic_ui/definitions/modules/modal.less +83 -36
- data/assets/stylesheets/semantic_ui/definitions/modules/nag.less +1 -1
- data/assets/stylesheets/semantic_ui/definitions/modules/popup.less +48 -7
- data/assets/stylesheets/semantic_ui/definitions/modules/progress.less +160 -107
- data/assets/stylesheets/semantic_ui/definitions/modules/rating.less +57 -54
- data/assets/stylesheets/semantic_ui/definitions/modules/search.less +55 -10
- data/assets/stylesheets/semantic_ui/definitions/modules/shape.less +5 -6
- data/assets/stylesheets/semantic_ui/definitions/modules/sidebar.less +9 -5
- data/assets/stylesheets/semantic_ui/definitions/modules/sticky.less +1 -1
- data/assets/stylesheets/semantic_ui/definitions/modules/tab.less +1 -1
- data/assets/stylesheets/semantic_ui/definitions/modules/transition.less +3 -4
- data/assets/stylesheets/semantic_ui/definitions/views/card.less +240 -130
- data/assets/stylesheets/semantic_ui/definitions/views/comment.less +1 -1
- data/assets/stylesheets/semantic_ui/definitions/views/feed.less +15 -8
- data/assets/stylesheets/semantic_ui/definitions/views/item.less +13 -13
- data/assets/stylesheets/semantic_ui/definitions/views/statistic.less +230 -86
- data/assets/stylesheets/semantic_ui/theme.less +22 -15
- data/assets/stylesheets/semantic_ui/themes/amazon/elements/button.overrides +5 -5
- data/assets/stylesheets/semantic_ui/themes/amazon/elements/button.variables +5 -4
- data/assets/stylesheets/semantic_ui/themes/basic/collections/table.variables +1 -0
- data/assets/stylesheets/semantic_ui/themes/basic/views/card.variables +6 -4
- data/assets/stylesheets/semantic_ui/themes/bookish/elements/header.variables +4 -4
- data/assets/stylesheets/semantic_ui/themes/bootstrap3/elements/button.variables +1 -1
- data/assets/stylesheets/semantic_ui/themes/chubby/collections/form.overrides +8 -0
- data/assets/stylesheets/semantic_ui/themes/chubby/collections/menu.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/chubby/collections/menu.variables +40 -0
- data/assets/stylesheets/semantic_ui/themes/classic/modules/progress.variables +1 -0
- data/assets/stylesheets/semantic_ui/themes/classic/views/card.overrides +1 -1
- data/assets/stylesheets/semantic_ui/themes/colored/modules/checkbox.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/colored/modules/checkbox.variables +17 -0
- data/assets/stylesheets/semantic_ui/themes/default/collections/breadcrumb.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/collections/breadcrumb.variables +5 -15
- data/assets/stylesheets/semantic_ui/themes/default/collections/form.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/collections/form.variables +31 -35
- data/assets/stylesheets/semantic_ui/themes/default/collections/grid.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/collections/grid.variables +34 -28
- data/assets/stylesheets/semantic_ui/themes/default/collections/menu.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/collections/menu.variables +259 -163
- data/assets/stylesheets/semantic_ui/themes/default/collections/message.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/collections/message.variables +42 -19
- data/assets/stylesheets/semantic_ui/themes/default/collections/table.overrides +0 -3
- data/assets/stylesheets/semantic_ui/themes/default/collections/table.variables +63 -59
- data/assets/stylesheets/semantic_ui/themes/default/elements/button.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/elements/button.variables +90 -50
- data/assets/stylesheets/semantic_ui/themes/default/elements/container.overrides +3 -0
- data/assets/stylesheets/semantic_ui/themes/default/elements/container.variables +45 -0
- data/assets/stylesheets/semantic_ui/themes/default/elements/divider.overrides +15 -0
- data/assets/stylesheets/semantic_ui/themes/default/elements/divider.variables +3 -4
- data/assets/stylesheets/semantic_ui/themes/default/elements/flag.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/elements/header.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/elements/header.variables +40 -36
- data/assets/stylesheets/semantic_ui/themes/default/elements/icon.overrides +4 -3
- data/assets/stylesheets/semantic_ui/themes/default/elements/icon.variables +29 -12
- data/assets/stylesheets/semantic_ui/themes/default/elements/image.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/elements/image.variables +5 -3
- data/assets/stylesheets/semantic_ui/themes/default/elements/input.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/elements/input.variables +10 -24
- data/assets/stylesheets/semantic_ui/themes/default/elements/label.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/elements/label.variables +88 -35
- data/assets/stylesheets/semantic_ui/themes/default/elements/list.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/elements/list.variables +53 -34
- data/assets/stylesheets/semantic_ui/themes/default/elements/loader.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/elements/loader.variables +9 -10
- data/assets/stylesheets/semantic_ui/themes/default/elements/rail.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/elements/rail.variables +13 -5
- data/assets/stylesheets/semantic_ui/themes/default/elements/reveal.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/elements/reveal.variables +6 -4
- data/assets/stylesheets/semantic_ui/themes/default/elements/segment.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/elements/segment.variables +66 -28
- data/assets/stylesheets/semantic_ui/themes/default/elements/step.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/elements/step.variables +60 -31
- data/assets/stylesheets/semantic_ui/themes/default/globals/reset.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/globals/site.variables +477 -303
- data/assets/stylesheets/semantic_ui/themes/default/modules/accordion.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/modules/accordion.variables +6 -7
- data/assets/stylesheets/semantic_ui/themes/default/modules/chatroom.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/modules/checkbox.overrides +19 -16
- data/assets/stylesheets/semantic_ui/themes/default/modules/checkbox.variables +71 -43
- data/assets/stylesheets/semantic_ui/themes/default/modules/dimmer.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/modules/dimmer.variables +12 -9
- data/assets/stylesheets/semantic_ui/themes/default/modules/dropdown.overrides +0 -5
- data/assets/stylesheets/semantic_ui/themes/default/modules/dropdown.variables +146 -64
- data/assets/stylesheets/semantic_ui/themes/default/modules/{video.overrides → embed.overrides} +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/modules/embed.variables +53 -0
- data/assets/stylesheets/semantic_ui/themes/default/modules/modal.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/modules/modal.variables +24 -18
- data/assets/stylesheets/semantic_ui/themes/default/modules/nag.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/modules/popup.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/modules/popup.variables +3 -9
- data/assets/stylesheets/semantic_ui/themes/default/modules/progress.variables +13 -7
- data/assets/stylesheets/semantic_ui/themes/default/modules/rating.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/modules/rating.variables +71 -33
- data/assets/stylesheets/semantic_ui/themes/default/modules/search.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/modules/search.variables +36 -34
- data/assets/stylesheets/semantic_ui/themes/default/modules/shape.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/modules/shape.variables +7 -2
- data/assets/stylesheets/semantic_ui/themes/default/modules/sidebar.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/modules/sidebar.variables +2 -5
- data/assets/stylesheets/semantic_ui/themes/default/modules/sticky.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/modules/sticky.variables +2 -7
- data/assets/stylesheets/semantic_ui/themes/default/modules/tab.variables +1 -3
- data/assets/stylesheets/semantic_ui/themes/default/modules/transition.overrides +8 -9
- data/assets/stylesheets/semantic_ui/themes/default/views/ad.variables +2 -2
- data/assets/stylesheets/semantic_ui/themes/default/views/card.variables +33 -23
- data/assets/stylesheets/semantic_ui/themes/default/views/comment.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/views/feed.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/views/feed.variables +15 -23
- data/assets/stylesheets/semantic_ui/themes/default/views/item.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/views/item.variables +12 -11
- data/assets/stylesheets/semantic_ui/themes/default/views/statistic.overrides +0 -0
- data/assets/stylesheets/semantic_ui/themes/default/views/statistic.variables +25 -24
- data/assets/stylesheets/semantic_ui/themes/flat/collections/form.overrides +4 -0
- data/assets/stylesheets/semantic_ui/themes/flat/collections/form.variables +1 -2
- data/assets/stylesheets/semantic_ui/themes/flat/globals/site.variables +1 -0
- data/assets/stylesheets/semantic_ui/themes/github/collections/form.variables +1 -1
- data/assets/stylesheets/semantic_ui/themes/github/collections/menu.variables +10 -15
- data/assets/stylesheets/semantic_ui/themes/github/elements/button.variables +2 -2
- data/assets/stylesheets/semantic_ui/themes/github/elements/step.variables +2 -2
- data/assets/stylesheets/semantic_ui/themes/instagram/views/card.overrides +12 -0
- data/assets/stylesheets/semantic_ui/themes/instagram/views/card.variables +23 -0
- data/assets/stylesheets/semantic_ui/themes/material/collections/menu.overrides +1 -0
- data/assets/stylesheets/semantic_ui/themes/material/collections/menu.variables +10 -0
- data/assets/stylesheets/semantic_ui/themes/material/elements/button.overrides +1 -0
- data/assets/stylesheets/semantic_ui/themes/material/elements/button.variables +14 -6
- data/assets/stylesheets/semantic_ui/themes/material/globals/site.variables +3 -2
- data/assets/stylesheets/semantic_ui/themes/material/modules/dropdown.overrides +5 -0
- data/assets/stylesheets/semantic_ui/themes/material/modules/dropdown.variables +20 -0
- data/assets/stylesheets/semantic_ui/themes/raised/elements/button.variables +5 -5
- data/assets/stylesheets/semantic_ui/themes/round/elements/button.variables +1 -1
- data/assets/stylesheets/semantic_ui/themes/timeline/views/feed.overrides +4 -12
- data/assets/stylesheets/semantic_ui/themes/timeline/views/feed.variables +3 -7
- data/lib/generators/semantic_ui/install/templates/config/elements/container.overrides +3 -0
- data/lib/generators/semantic_ui/install/templates/config/elements/container.variables +3 -0
- data/lib/generators/semantic_ui/install/templates/config/modules/embed.overrides +3 -0
- data/lib/generators/semantic_ui/install/templates/config/modules/embed.variables +0 -0
- data/lib/generators/semantic_ui/install/templates/semantic_ui.css +2 -1
- data/lib/generators/semantic_ui/install/templates/semantic_ui.js +1 -1
- data/lib/generators/semantic_ui/install/templates/theme.config +5 -3
- data/lib/less/rails/semantic_ui/version.rb +1 -1
- data/tasks/update.rake +21 -6
- metadata +23 -7
- data/assets/fonts/semantic_ui/themes/default/assets/fonts/icons.otf +0 -0
- data/assets/javascripts/semantic_ui/definitions/modules/video.js +0 -540
- data/assets/stylesheets/semantic_ui/definitions/modules/video.less +0 -135
- data/assets/stylesheets/semantic_ui/themes/default/modules/video.variables +0 -16
File without changes
|
@@ -9,35 +9,33 @@
|
|
9
9
|
--------------------*/
|
10
10
|
|
11
11
|
@verticalMargin: 1em;
|
12
|
-
|
13
12
|
@verticalPadding: 1em;
|
14
13
|
@horizontalPadding: 1.5em;
|
15
|
-
|
16
|
-
@background: #EFEFEF;
|
17
|
-
@lineHeight: 1.3;
|
14
|
+
@background: #F8F8F9;
|
18
15
|
@lineHeightOffset: ((@lineHeight - 1em) / 2);
|
19
16
|
|
20
17
|
@borderRadius: @defaultBorderRadius;
|
21
18
|
@borderWidth: 1px;
|
22
|
-
@borderShadow: 0px 0px 0px @borderWidth @
|
23
|
-
@shadowShadow: 0px 0px 0px 0px
|
19
|
+
@borderShadow: 0px 0px 0px @borderWidth @strongBorderColor inset;
|
20
|
+
@shadowShadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
|
24
21
|
@boxShadow:
|
25
22
|
@borderShadow,
|
26
23
|
@shadowShadow
|
27
24
|
;
|
28
25
|
|
29
26
|
@transition:
|
30
|
-
opacity
|
31
|
-
color
|
32
|
-
background
|
33
|
-
box-shadow
|
27
|
+
opacity @defaultDuration @defaultEasing,
|
28
|
+
color @defaultDuration @defaultEasing,
|
29
|
+
background @defaultDuration @defaultEasing,
|
30
|
+
box-shadow @defaultDuration @defaultEasing
|
34
31
|
;
|
35
32
|
|
36
33
|
/* Header */
|
37
|
-
@headerFontSize:
|
34
|
+
@headerFontSize: @relativeLarge;
|
38
35
|
@headerFontWeight: bold;
|
39
36
|
@headerDisplay: block;
|
40
|
-
@headerDistance:
|
37
|
+
@headerDistance: 0rem;
|
38
|
+
@headerMargin: -@headerLineHeightOffset 0em @headerDistance 0em;
|
41
39
|
@headerParagraphDistance: 0.25em;
|
42
40
|
|
43
41
|
/* Paragraph */
|
@@ -55,9 +53,10 @@
|
|
55
53
|
@iconDistance: 0.6em;
|
56
54
|
|
57
55
|
/* Close Icon */
|
58
|
-
@closeTopDistance:
|
56
|
+
@closeTopDistance: @verticalPadding - @lineHeightOffset;
|
59
57
|
@closeRightDistance: 0.5em;
|
60
58
|
@closeOpacity: 0.7;
|
59
|
+
@closeTransition: opacity @defaultDuration @defaultEasing;
|
61
60
|
|
62
61
|
|
63
62
|
/*-------------------
|
@@ -67,22 +66,46 @@
|
|
67
66
|
/* Icon Message */
|
68
67
|
@iconSize: 3em;
|
69
68
|
@iconOpacity: 0.8;
|
70
|
-
@iconContentDistance:
|
69
|
+
@iconContentDistance: 0rem;
|
71
70
|
@iconVerticalAlign: middle;
|
72
|
-
@circularIconContentDistance: 2em;
|
73
71
|
|
74
72
|
/* Attached */
|
75
73
|
@attachedXOffset: -1px;
|
76
74
|
@attachedYOffset: -1px;
|
77
|
-
@attachedBoxShadow: 0em 0em 0em @borderWidth
|
75
|
+
@attachedBoxShadow: 0em 0em 0em @borderWidth @borderColor inset;
|
78
76
|
@attachedBottomBoxShadow:
|
79
77
|
@attachedBoxShadow,
|
80
78
|
@subtleShadow
|
81
79
|
;
|
82
80
|
|
83
81
|
/* Floating */
|
84
|
-
@floatingShadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15);
|
85
82
|
@floatingBoxShadow:
|
86
|
-
@
|
87
|
-
@
|
83
|
+
@borderShadow,
|
84
|
+
@floatingShadow
|
85
|
+
;
|
86
|
+
|
87
|
+
/* Warning / Positive / Negative / Info */
|
88
|
+
@positiveBoxShadow:
|
89
|
+
0px 0px 0px @borderWidth @positiveBorderColor inset,
|
90
|
+
@shadowShadow
|
91
|
+
;
|
92
|
+
@negativeBoxShadow:
|
93
|
+
0px 0px 0px @borderWidth @negativeBorderColor inset,
|
94
|
+
@shadowShadow
|
88
95
|
;
|
96
|
+
@infoBoxShadow:
|
97
|
+
0px 0px 0px @borderWidth @infoBorderColor inset,
|
98
|
+
@shadowShadow
|
99
|
+
;
|
100
|
+
@warningBoxShadow:
|
101
|
+
0px 0px 0px @borderWidth @warningBorderColor inset,
|
102
|
+
@shadowShadow
|
103
|
+
;
|
104
|
+
@errorBoxShadow:
|
105
|
+
0px 0px 0px @borderWidth @errorBorderColor inset,
|
106
|
+
@shadowShadow
|
107
|
+
;
|
108
|
+
@successBoxShadow:
|
109
|
+
0px 0px 0px @borderWidth @successBorderColor inset,
|
110
|
+
@shadowShadow
|
111
|
+
;
|
@@ -6,65 +6,45 @@
|
|
6
6
|
Element
|
7
7
|
--------------------*/
|
8
8
|
|
9
|
-
@
|
9
|
+
@verticalMargin: 1em;
|
10
|
+
@horizontalMargin: 0em;
|
11
|
+
@margin: @verticalMargin @horizontalMargin;
|
10
12
|
@borderCollapse: separate;
|
11
13
|
@borderSpacing: 0px;
|
14
|
+
@borderRadius: @defaultBorderRadius;
|
12
15
|
@transition:
|
13
|
-
background @
|
14
|
-
|
15
|
-
color @transitionDuration @transitionEasing
|
16
|
+
background @defaultDuration @defaultEasing,
|
17
|
+
color @defaultDuration @defaultEasing
|
16
18
|
;
|
17
|
-
@
|
18
|
-
@background: #FFFFFF;
|
19
|
+
@background: @white;
|
19
20
|
@color: @textColor;
|
20
21
|
@borderWidth: 1px;
|
21
|
-
@borderColor: #D0D0D0;
|
22
22
|
@border: @borderWidth solid @borderColor;
|
23
23
|
@boxShadow: none;
|
24
24
|
@textAlign: left;
|
25
25
|
|
26
|
-
/*-------------------
|
27
|
-
Types
|
28
|
-
--------------------*/
|
29
|
-
|
30
|
-
/* Definition */
|
31
|
-
@definitionPageBackground: @white;
|
32
|
-
|
33
|
-
@definitionHeaderBackground: transparent;
|
34
|
-
@definitionHeaderColor: @unselectedTextColor;
|
35
|
-
@definitionHeaderFontWeight: normal;
|
36
|
-
|
37
|
-
@definitionFooterBackground: @definitionHeaderBackground;
|
38
|
-
@definitionFooterColor: @definitionHeaderColor;
|
39
|
-
@definitionFooterFontWeight: @definitionHeaderFontWeight;
|
40
|
-
|
41
|
-
@definitionColumnBackground: @subtleTransparentBlack;
|
42
|
-
@definitionColumnColor: @selectedTextColor;
|
43
|
-
@definitionColumnFontWeight: bold;
|
44
|
-
|
45
|
-
|
46
26
|
/*--------------
|
47
27
|
Parts
|
48
28
|
---------------*/
|
49
29
|
|
50
30
|
/* Table Row */
|
51
|
-
@rowBorder: 1px solid @
|
31
|
+
@rowBorder: 1px solid @internalBorderColor;
|
52
32
|
|
53
33
|
/* Table Cell */
|
54
|
-
@cellVerticalPadding:
|
55
|
-
@cellHorizontalPadding:
|
56
|
-
@cellVerticalAlign:
|
57
|
-
@cellTextAlign:
|
58
|
-
@cellBorder: 1px solid @
|
34
|
+
@cellVerticalPadding: @relativeMini;
|
35
|
+
@cellHorizontalPadding: @relativeMini;
|
36
|
+
@cellVerticalAlign: inherit;
|
37
|
+
@cellTextAlign: inherit;
|
38
|
+
@cellBorder: 1px solid @internalBorderColor;
|
59
39
|
|
60
40
|
/* Table Header */
|
61
|
-
@headerBorder: 1px solid @
|
41
|
+
@headerBorder: 1px solid @internalBorderColor;
|
62
42
|
@headerDivider: none;
|
63
|
-
@headerBackground: @
|
64
|
-
@headerAlign:
|
65
|
-
@headerVerticalAlign:
|
43
|
+
@headerBackground: @offWhite;
|
44
|
+
@headerAlign: inherit;
|
45
|
+
@headerVerticalAlign: inherit;
|
66
46
|
@headerColor: @textColor;
|
67
|
-
@headerVerticalPadding: @
|
47
|
+
@headerVerticalPadding: @relativeSmall;
|
68
48
|
@headerHorizontalPadding: @cellHorizontalPadding;
|
69
49
|
@headerFontStyle: none;
|
70
50
|
@headerFontWeight: bold;
|
@@ -73,10 +53,10 @@
|
|
73
53
|
|
74
54
|
/* Table Footer */
|
75
55
|
@footerBoxShadow: none;
|
76
|
-
@footerBorder: 1px solid @
|
56
|
+
@footerBorder: 1px solid @borderColor;
|
77
57
|
@footerDivider: none;
|
78
|
-
@footerBackground: @
|
79
|
-
@footerAlign:
|
58
|
+
@footerBackground: @offWhite;
|
59
|
+
@footerAlign: inherit;
|
80
60
|
@footerVerticalAlign: middle;
|
81
61
|
@footerColor: @textColor;
|
82
62
|
@footerVerticalPadding: @cellVerticalPadding;
|
@@ -93,7 +73,26 @@
|
|
93
73
|
@responsiveCellVerticalPadding: 0.25em;
|
94
74
|
@responsiveCellHorizontalPadding: 0.75em;
|
95
75
|
@responsiveCellBoxShadow: none !important;
|
96
|
-
|
76
|
+
|
77
|
+
/*-------------------
|
78
|
+
Types
|
79
|
+
--------------------*/
|
80
|
+
|
81
|
+
/* Definition */
|
82
|
+
@definitionPageBackground: @white;
|
83
|
+
|
84
|
+
@definitionHeaderBackground: transparent;
|
85
|
+
@definitionHeaderColor: @unselectedTextColor;
|
86
|
+
@definitionHeaderFontWeight: normal;
|
87
|
+
|
88
|
+
@definitionFooterBackground: @definitionHeaderBackground;
|
89
|
+
@definitionFooterColor: @definitionHeaderColor;
|
90
|
+
@definitionFooterFontWeight: @definitionHeaderFontWeight;
|
91
|
+
|
92
|
+
@definitionColumnBackground: @subtleTransparentBlack;
|
93
|
+
@definitionColumnColor: @selectedTextColor;
|
94
|
+
@definitionColumnFontWeight: bold;
|
95
|
+
|
97
96
|
|
98
97
|
/*--------------
|
99
98
|
Couplings
|
@@ -101,7 +100,6 @@
|
|
101
100
|
|
102
101
|
@iconVerticalAlign: baseline;
|
103
102
|
|
104
|
-
|
105
103
|
/*--------------
|
106
104
|
States
|
107
105
|
---------------*/
|
@@ -115,29 +113,30 @@
|
|
115
113
|
@positiveColorHover: darken(@positiveColor, 3);
|
116
114
|
|
117
115
|
/* Negative */
|
118
|
-
@negativeColor:
|
116
|
+
@negativeColor: @negativeTextColor;
|
119
117
|
@negativeBoxShadow: @stateMarkerWidth 0px 0px @negativeBorderColor inset;
|
120
118
|
@negativeBackgroundHover: darken(@negativeBackgroundColor, 3);
|
121
119
|
@negativeColorHover: darken(@negativeColor, 3);
|
122
120
|
|
123
121
|
/* Error */
|
124
|
-
@errorColor:
|
122
|
+
@errorColor: @errorTextColor;
|
125
123
|
@errorBoxShadow: @stateMarkerWidth 0px 0px @errorBorderColor inset;
|
126
124
|
@errorBackgroundHover: darken(@errorBackgroundColor, 3);
|
127
125
|
@errorColorHover: darken(@errorColor, 3);
|
128
126
|
|
129
127
|
/* Warning */
|
130
|
-
@warningColor:
|
128
|
+
@warningColor: @warningTextColor;
|
131
129
|
@warningBoxShadow: @stateMarkerWidth 0px 0px @warningBorderColor inset;
|
132
130
|
@warningBackgroundHover: darken(@warningBackgroundColor, 3);
|
133
131
|
@warningColorHover: darken(@warningColor, 3);
|
134
132
|
|
135
133
|
/* Active */
|
136
|
-
@activeColor:
|
134
|
+
@activeColor: @textColor;
|
137
135
|
@activeBackgroundColor: #E0E0E0;
|
138
136
|
@activeBoxShadow: @stateMarkerWidth 0px 0px @activeColor inset;
|
137
|
+
|
139
138
|
@activeBackgroundHover: #EFEFEF;
|
140
|
-
@activeColorHover:
|
139
|
+
@activeColorHover: @selectedTextColor;
|
141
140
|
|
142
141
|
/*--------------
|
143
142
|
Types
|
@@ -149,20 +148,26 @@
|
|
149
148
|
@attachedTableWidth: ~"calc(100% + "@attachedHorizontalOffset * -2~")";
|
150
149
|
|
151
150
|
/* Striped */
|
152
|
-
@stripedBackground: rgba(0, 0, 50, 0.
|
153
|
-
@invertedStripedBackground: rgba(255, 255, 255, 0.
|
151
|
+
@stripedBackground: rgba(0, 0, 50, 0.02);
|
152
|
+
@invertedStripedBackground: rgba(255, 255, 255, 0.05);
|
153
|
+
|
154
|
+
/* Selectable */
|
155
|
+
@selectableBackground: @transparentBlack;
|
156
|
+
@selectableTextColor: @selectedTextColor;
|
157
|
+
@selectableInvertedBackground: @transparentWhite;
|
158
|
+
@selectableInvertedTextColor: @invertedSelectedTextColor;
|
154
159
|
|
155
160
|
/* Sortable */
|
156
161
|
@sortableBackground: '';
|
157
162
|
@sortableColor: @textColor;
|
158
163
|
|
159
164
|
@sortableBorder: 1px solid @borderColor;
|
160
|
-
@sortableIconWidth:
|
165
|
+
@sortableIconWidth: auto;
|
161
166
|
@sortableIconDistance: 0.5em;
|
162
167
|
@sortableIconOpacity: 0.8;
|
163
168
|
@sortableIconFont: 'Icons';
|
164
|
-
@sortableIconAscending: '\
|
165
|
-
@sortableIconDescending: '\
|
169
|
+
@sortableIconAscending: '\f0d8';
|
170
|
+
@sortableIconDescending: '\f0d7';
|
166
171
|
@sortableDisabledColor: @disabledTextColor;
|
167
172
|
|
168
173
|
@sortableHoverBackground: @transparentBlack;
|
@@ -187,10 +192,10 @@
|
|
187
192
|
/* Inverted */
|
188
193
|
@invertedBackground: #333333;
|
189
194
|
@invertedBorder: none;
|
190
|
-
@invertedCellBorderColor:
|
195
|
+
@invertedCellBorderColor: @whiteBorderColor;
|
191
196
|
@invertedCellColor: @invertedTextColor;
|
192
|
-
@invertedHeaderBackground:
|
193
|
-
@invertedHeaderColor:
|
197
|
+
@invertedHeaderBackground: @veryStrongTransparentBlack;
|
198
|
+
@invertedHeaderColor: @invertedTextColor;
|
194
199
|
|
195
200
|
@invertedDefinitionColumnBackground: @subtleTransparentWhite;
|
196
201
|
@invertedDefinitionColumnColor: @invertedSelectedTextColor;
|
@@ -198,15 +203,14 @@
|
|
198
203
|
|
199
204
|
/* Basic */
|
200
205
|
@basicTableBackground: transparent;
|
201
|
-
@basicTableBorder:
|
206
|
+
@basicTableBorder: @borderWidth solid @borderColor;
|
202
207
|
@basicBoxShadow: none;
|
203
208
|
|
204
209
|
@basicTableHeaderBackground: transparent;
|
205
210
|
@basicTableCellBackground: transparent;
|
206
211
|
@basicTableHeaderDivider: none;
|
207
212
|
@basicTableCellBorder: 1px solid rgba(0, 0, 0, 0.1);
|
208
|
-
@
|
209
|
-
@basicTableCellHorizontalPadding: @cellHorizontalPadding;
|
213
|
+
@basicTableCellPadding: '';
|
210
214
|
@basicTableStripedBackground: @transparentBlack;
|
211
215
|
|
212
216
|
/* Padded */
|
File without changes
|
@@ -6,15 +6,19 @@
|
|
6
6
|
Element
|
7
7
|
--------------------*/
|
8
8
|
|
9
|
+
/* Button */
|
9
10
|
@verticalMargin: 0em;
|
10
11
|
@horizontalMargin: 0.25em;
|
11
|
-
|
12
|
-
/* Style */
|
13
|
-
@backgroundColor: #E0E0E0;
|
12
|
+
@backgroundColor: #E0E1E2;
|
14
13
|
@backgroundImage: none;
|
15
|
-
@
|
14
|
+
@background: @backgroundColor @backgroundImage;
|
15
|
+
@lineHeight: 1em;
|
16
|
+
|
17
|
+
/* Button defaults to using same height as input globally */
|
18
|
+
@verticalPadding: @inputVerticalPadding;
|
16
19
|
@horizontalPadding: 1.5em;
|
17
20
|
|
21
|
+
|
18
22
|
/* Text */
|
19
23
|
@textTransform: none;
|
20
24
|
@tapColor: transparent;
|
@@ -41,27 +45,25 @@
|
|
41
45
|
;
|
42
46
|
|
43
47
|
/* Icon */
|
48
|
+
@iconHeight: @relativeSmall;
|
44
49
|
@iconOpacity: 0.8;
|
45
|
-
@iconDistance:
|
50
|
+
@iconDistance: @relative6px;
|
46
51
|
@iconColor: '';
|
47
|
-
@iconTransition: opacity @
|
48
|
-
@iconVerticalAlign:
|
52
|
+
@iconTransition: opacity @defaultDuration @defaultEasing;
|
53
|
+
@iconVerticalAlign: '';
|
49
54
|
|
50
55
|
@iconMargin: 0em @iconDistance 0em -(@iconDistance / 2);
|
51
56
|
@rightIconMargin: 0em -(@iconDistance / 2) 0em @iconDistance;
|
52
57
|
|
53
58
|
/* Loader */
|
54
|
-
@loaderSize: 1.2857em;
|
55
|
-
@loaderOffset: -(@loaderSize / 2);
|
56
|
-
@loaderMargin: @loaderOffset 0em 0em @loaderOffset;
|
57
59
|
@invertedLoaderFillColor: rgba(0, 0, 0, 0.15);
|
58
60
|
|
59
61
|
@transition:
|
60
|
-
opacity
|
61
|
-
background-color
|
62
|
-
color
|
63
|
-
box-shadow
|
64
|
-
background
|
62
|
+
opacity @defaultDuration @defaultEasing,
|
63
|
+
background-color @defaultDuration @defaultEasing,
|
64
|
+
color @defaultDuration @defaultEasing,
|
65
|
+
box-shadow @defaultDuration @defaultEasing,
|
66
|
+
background @defaultDuration @defaultEasing
|
65
67
|
;
|
66
68
|
/*
|
67
69
|
@willChange: box-shadow, transform, opacity, color, background;
|
@@ -83,27 +85,23 @@
|
|
83
85
|
--------------------*/
|
84
86
|
|
85
87
|
/* Hovered */
|
86
|
-
@hoverBackgroundColor: #
|
87
|
-
@hoverBackgroundImage:
|
88
|
-
@hoverBoxShadow:
|
88
|
+
@hoverBackgroundColor: #CACBCD;
|
89
|
+
@hoverBackgroundImage: @backgroundImage;
|
90
|
+
@hoverBoxShadow: @boxShadow;
|
89
91
|
@hoverColor: @hoveredTextColor;
|
90
92
|
@iconHoverOpacity: 0.85;
|
91
93
|
|
92
94
|
/* Focused */
|
93
|
-
@focusBackgroundColor:
|
95
|
+
@focusBackgroundColor: @hoverBackgroundColor;
|
94
96
|
@focusBackgroundImage: '';
|
95
|
-
@focusBoxShadow:
|
96
|
-
@borderBoxShadow,
|
97
|
-
0px 0px 1px rgba(81, 167, 232, 0.8) inset,
|
98
|
-
0px 0px 3px 2px rgba(81, 167, 232, 0.8)
|
99
|
-
;
|
97
|
+
@focusBoxShadow: '';
|
100
98
|
@focusColor: @hoveredTextColor;
|
101
99
|
@iconFocusOpacity: 0.85;
|
102
100
|
|
103
101
|
/* Pressed Down */
|
104
|
-
@downBackgroundColor: #
|
102
|
+
@downBackgroundColor: #BABBBC;
|
105
103
|
@downBackgroundImage: '';
|
106
|
-
@downPressedShadow:
|
104
|
+
@downPressedShadow: none;
|
107
105
|
@downBoxShadow:
|
108
106
|
@borderBoxShadow,
|
109
107
|
@downPressedShadow
|
@@ -111,7 +109,7 @@
|
|
111
109
|
@downColor: @pressedTextColor;
|
112
110
|
|
113
111
|
/* Active */
|
114
|
-
@activeBackgroundColor: #
|
112
|
+
@activeBackgroundColor: #C0C1C2;
|
115
113
|
@activeBackgroundImage: none;
|
116
114
|
@activeColor: @selectedTextColor;
|
117
115
|
@activeBoxShadow: @borderBoxShadow;
|
@@ -124,10 +122,10 @@
|
|
124
122
|
|
125
123
|
/* Loading */
|
126
124
|
@loadingOpacity: 1;
|
127
|
-
@loadingPointerEvents:
|
125
|
+
@loadingPointerEvents: auto;
|
128
126
|
@loadingTransition:
|
129
127
|
all 0s linear,
|
130
|
-
opacity @
|
128
|
+
opacity @defaultDuration @defaultEasing
|
131
129
|
;
|
132
130
|
|
133
131
|
/*-------------------
|
@@ -139,6 +137,7 @@
|
|
139
137
|
|
140
138
|
@orGap: 0.3em;
|
141
139
|
@orHeight: (@verticalPadding * 2) + 1em;
|
140
|
+
@orZIndex: 3;
|
142
141
|
|
143
142
|
@orCircleDistanceToEdge: (@verticalPadding);
|
144
143
|
@orCircleSize: @orHeight - @orCircleDistanceToEdge;
|
@@ -184,20 +183,25 @@
|
|
184
183
|
@basicTextColor: @textColor;
|
185
184
|
@basicColoredBorderSize: 2px;
|
186
185
|
|
187
|
-
@basicBackground: transparent;
|
186
|
+
@basicBackground: transparent none;
|
188
187
|
@basicFontWeight: normal;
|
188
|
+
@basicBorder: 1px solid @borderColor;
|
189
189
|
@basicBoxShadow: 0px 0px 0px @basicBorderSize @borderColor inset;
|
190
|
-
@iconOffset: 0.05em;
|
191
190
|
@basicLoadingColor: @offWhite;
|
192
191
|
@basicTextTransform: none;
|
193
192
|
|
194
193
|
/* Basic Hover */
|
195
|
-
@basicHoverBackground: #
|
194
|
+
@basicHoverBackground: #FFFFFF;
|
196
195
|
@basicHoverTextColor: @hoveredTextColor;
|
197
196
|
@basicHoverBoxShadow:
|
198
|
-
0px 0px 0px @basicBorderSize @
|
197
|
+
0px 0px 0px @basicBorderSize @selectedBorderColor inset,
|
199
198
|
0px 0px 0px 0px @borderColor inset
|
200
199
|
;
|
200
|
+
/* Basic Focus */
|
201
|
+
@basicFocusBackground: @basicHoverBackground;
|
202
|
+
@basicFocusTextColor: @basicHoverTextColor;
|
203
|
+
@basicFocusBoxShadow: @basicHoverBoxShadow;
|
204
|
+
|
201
205
|
/* Basic Down */
|
202
206
|
@basicDownBackground: #F8F8F8;
|
203
207
|
@basicDownTextColor: @pressedTextColor;
|
@@ -212,12 +216,13 @@
|
|
212
216
|
|
213
217
|
/* Basic Inverted */
|
214
218
|
@basicInvertedBackground: transparent;
|
215
|
-
@
|
219
|
+
@basicInvertedFocusBackground: transparent;
|
216
220
|
@basicInvertedDownBackground: @transparentWhite;
|
217
221
|
@basicInvertedActiveBackground: @transparentWhite;
|
218
222
|
|
219
223
|
@basicInvertedBoxShadow: 0px 0px 0px @invertedBorderSize rgba(255, 255, 255, 0.5) inset;
|
220
224
|
@basicInvertedHoverBoxShadow: 0px 0px 0px @invertedBorderSize rgba(255, 255, 255, 1) inset;
|
225
|
+
@basicInvertedFocusBoxShadow: 0px 0px 0px @invertedBorderSize rgba(255, 255, 255, 1) inset;
|
221
226
|
@basicInvertedDownBoxShadow: 0px 0px 0px @invertedBorderSize rgba(255, 255, 255, 0.9) inset;
|
222
227
|
@basicInvertedActiveBoxShadow: 0px 0px 0px @invertedBorderSize rgba(255, 255, 255, 0.7) inset;
|
223
228
|
|
@@ -229,7 +234,7 @@
|
|
229
234
|
|
230
235
|
/* Basic Group */
|
231
236
|
@basicGroupBorder: @basicBorderSize solid @borderColor;
|
232
|
-
@basicGroupBoxShadow:
|
237
|
+
@basicGroupBoxShadow: none;
|
233
238
|
|
234
239
|
/*-------------------
|
235
240
|
Variations
|
@@ -239,28 +244,61 @@
|
|
239
244
|
@coloredBackgroundImage: none;
|
240
245
|
@coloredBoxShadow: @shadowBoxShadow;
|
241
246
|
|
242
|
-
/*
|
243
|
-
@
|
244
|
-
@
|
245
|
-
@
|
246
|
-
@
|
247
|
-
@greyTextColor: @invertedTextColor;
|
248
|
-
@greyTextShadow: @invertedTextShadow;
|
247
|
+
/* Colored */
|
248
|
+
@brownTextColor: @invertedTextColor;
|
249
|
+
@brownTextShadow: @invertedTextShadow;
|
250
|
+
@redTextColor: @invertedTextColor;
|
251
|
+
@redTextShadow: @invertedTextShadow;
|
249
252
|
@orangeTextColor: @invertedTextColor;
|
250
253
|
@orangeTextShadow: @invertedTextShadow;
|
251
|
-
@
|
252
|
-
@
|
254
|
+
@greenTextColor: @invertedTextColor;
|
255
|
+
@greenTextShadow: @invertedTextShadow;
|
256
|
+
@blueTextColor: @invertedTextColor;
|
257
|
+
@blueTextShadow: @invertedTextShadow;
|
258
|
+
@violetTextColor: @invertedTextColor;
|
259
|
+
@violetTextShadow: @invertedTextShadow;
|
253
260
|
@purpleTextColor: @invertedTextColor;
|
254
261
|
@purpleTextShadow: @invertedTextShadow;
|
255
|
-
@
|
256
|
-
@
|
257
|
-
@
|
258
|
-
@
|
262
|
+
@pinkTextColor: @invertedTextColor;
|
263
|
+
@pinkTextShadow: @invertedTextShadow;
|
264
|
+
@blackTextColor: @invertedTextColor;
|
265
|
+
@blackTextShadow: @invertedTextShadow;
|
266
|
+
@oliveTextColor: @invertedTextColor;
|
267
|
+
@oliveTextShadow: @invertedTextShadow;
|
259
268
|
@yellowTextColor: @invertedTextColor;
|
260
269
|
@yellowTextShadow: @invertedTextShadow;
|
270
|
+
@tealTextColor: @invertedTextColor;
|
271
|
+
@tealTextShadow: @invertedTextShadow;
|
272
|
+
@greyTextColor: @invertedTextColor;
|
273
|
+
@greyTextShadow: @invertedTextShadow;
|
261
274
|
|
262
|
-
|
263
|
-
@
|
275
|
+
/* Inverted */
|
276
|
+
@lightBrownTextColor: @invertedTextColor;
|
277
|
+
@lightBrownTextShadow: @invertedTextShadow;
|
278
|
+
@lightRedTextColor: @invertedTextColor;
|
279
|
+
@lightRedTextShadow: @invertedTextShadow;
|
280
|
+
@lightOrangeTextColor: @invertedTextColor;
|
281
|
+
@lightOrangeTextShadow: @invertedTextShadow;
|
282
|
+
@lightGreenTextColor: @invertedTextColor;
|
283
|
+
@lightGreenTextShadow: @invertedTextShadow;
|
284
|
+
@lightBlueTextColor: @invertedTextColor;
|
285
|
+
@lightBlueTextShadow: @invertedTextShadow;
|
286
|
+
@lightVioletTextColor: @invertedTextColor;
|
287
|
+
@lightVioletTextShadow: @invertedTextShadow;
|
288
|
+
@lightPurpleTextColor: @invertedTextColor;
|
289
|
+
@lightPurpleTextShadow: @invertedTextShadow;
|
290
|
+
@lightPinkTextColor: @invertedTextColor;
|
291
|
+
@lightPinkTextShadow: @invertedTextShadow;
|
292
|
+
@lightBlackTextColor: @invertedTextColor;
|
293
|
+
@lightBlackTextShadow: @invertedTextShadow;
|
294
|
+
@lightOliveTextColor: @textColor;
|
295
|
+
@lightOliveTextShadow: @textShadow;
|
296
|
+
@lightYellowTextColor: @textColor;
|
297
|
+
@lightYellowTextShadow: @textShadow;
|
298
|
+
@lightTealTextColor: @textColor;
|
299
|
+
@lightTealTextShadow: @textShadow;
|
300
|
+
@lightGreyTextColor: @textColor;
|
301
|
+
@lightGreyTextShadow: @textShadow;
|
264
302
|
|
265
303
|
|
266
304
|
/* Ordinality */
|
@@ -282,12 +320,14 @@
|
|
282
320
|
@attachedOffset: -1px;
|
283
321
|
@attachedBoxShadow: 0px 0px 0px 1px @borderColor;
|
284
322
|
@attachedHorizontalPadding: 0.75em;
|
323
|
+
@attachedZIndex: 2;
|
285
324
|
|
286
325
|
/* Floated */
|
287
326
|
@floatedMargin: 0.25em;
|
288
327
|
|
289
328
|
/* Animated */
|
290
329
|
@animatedVerticalAlign: middle;
|
330
|
+
@animatedZIndex: 1;
|
291
331
|
@animationDuration: 0.3s;
|
292
332
|
@animationEasing: ease;
|
293
333
|
@fadeScaleHigh: 1.5;
|