titon-toolkit 1.5.3 → 2.0.0.pre.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/changelog.md +180 -61
- data/license.md +1 -1
- data/readme.md +7 -7
- data/roadmap.md +4 -20
- data/scss/toolkit/_common.scss +426 -73
- data/scss/toolkit/{layout/base.scss → base.scss} +13 -25
- data/scss/toolkit/components/accordion.scss +6 -6
- data/scss/toolkit/components/blackout.scss +13 -11
- data/scss/toolkit/components/breadcrumb.scss +2 -2
- data/scss/toolkit/components/button-group.scss +130 -51
- data/scss/toolkit/components/button.scss +110 -9
- data/scss/toolkit/components/carousel.scss +20 -46
- data/scss/toolkit/{layout → components}/code.scss +1 -1
- data/scss/toolkit/components/divider.scss +24 -23
- data/scss/toolkit/components/drop.scss +35 -26
- data/scss/toolkit/components/flyout.scss +5 -10
- data/scss/toolkit/{layout → components}/form.scss +72 -65
- data/scss/toolkit/components/grid.scss +21 -116
- data/scss/toolkit/components/icon.scss +27 -13
- data/scss/toolkit/components/input-group.scss +4 -6
- data/scss/toolkit/components/input.scss +21 -21
- data/scss/toolkit/components/label.scss +76 -66
- data/scss/toolkit/components/lazy-load.scss +2 -2
- data/scss/toolkit/components/loader.scss +8 -8
- data/scss/toolkit/components/mask.scss +5 -9
- data/scss/toolkit/components/matrix.scss +4 -4
- data/scss/toolkit/components/modal.scss +33 -40
- data/scss/toolkit/components/notice.scss +5 -9
- data/scss/toolkit/components/off-canvas.scss +80 -60
- data/scss/toolkit/components/pagination.scss +75 -34
- data/scss/toolkit/components/pin.scss +7 -3
- data/scss/toolkit/components/popover.scss +14 -14
- data/scss/toolkit/components/progress.scss +25 -14
- data/scss/toolkit/{layout → components}/responsive.scss +31 -37
- data/scss/toolkit/components/showcase.scss +10 -36
- data/scss/toolkit/components/step.scss +7 -7
- data/scss/toolkit/components/switch.scss +47 -33
- data/scss/toolkit/components/tab.scss +42 -0
- data/scss/toolkit/components/table.scss +27 -25
- data/scss/toolkit/components/toast.scss +13 -9
- data/scss/toolkit/components/tooltip.scss +15 -16
- data/scss/toolkit/components/type-ahead.scss +6 -6
- data/scss/toolkit/{layout → components}/typography.scss +2 -2
- data/scss/toolkit/mixins/_components.scss +12 -6
- data/scss/toolkit/mixins/_grid.scss +5 -1
- data/scss/toolkit/mixins/_helper.scss +42 -3
- data/scss/toolkit/mixins/_layout.scss +22 -13
- data/scss/toolkit/mixins/_responsive.scss +39 -39
- data/scss/toolkit.scss +12 -18
- data/version.md +1 -1
- metadata +16 -22
- data/scss/toolkit/components/tabs.scss +0 -43
- data/scss/toolkit/effects/oval.scss +0 -37
- data/scss/toolkit/effects/pill.scss +0 -94
- data/scss/toolkit/effects/skew.scss +0 -85
- data/scss/toolkit/effects/visual.scss +0 -64
- data/scss/toolkit/mixins/_state.scss +0 -36
- data/scss/toolkit/themes/demo.scss +0 -569
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @copyright 2010-
|
2
|
+
* @copyright 2010-2015, The Titon Project
|
3
3
|
* @license http://opensource.org/licenses/BSD-3-Clause
|
4
4
|
* @link http://titon.io
|
5
5
|
*/
|
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
$tooltip-arrow-width-double: ($tooltip-arrow-width * 2);
|
10
10
|
|
11
|
-
|
11
|
+
#{$tooltip-class} {
|
12
12
|
position: absolute;
|
13
13
|
top: 0;
|
14
14
|
left: 0;
|
@@ -20,49 +20,48 @@ $tooltip-arrow-width-double: ($tooltip-arrow-width * 2);
|
|
20
20
|
visibility: hidden;
|
21
21
|
background: #000;
|
22
22
|
color: #fff;
|
23
|
-
box-sizing: content-box; // Required or else MooTools position() is off
|
24
23
|
|
25
|
-
&.center-left
|
26
|
-
&.center-right
|
24
|
+
&.center-left #{$tooltip-class-arrow},
|
25
|
+
&.center-right #{$tooltip-class-arrow} {
|
27
26
|
top: 50%;
|
28
27
|
margin-top: -#{$tooltip-arrow-width}px;
|
29
28
|
}
|
30
29
|
|
31
|
-
&.center-left
|
30
|
+
&.center-left #{$tooltip-class-arrow} {
|
32
31
|
border-left-color: #000;
|
33
32
|
right: -#{$tooltip-arrow-width-double}px;
|
34
33
|
}
|
35
34
|
|
36
|
-
&.center-right
|
35
|
+
&.center-right #{$tooltip-class-arrow} {
|
37
36
|
border-right-color: #000;
|
38
37
|
left: -#{$tooltip-arrow-width-double}px;
|
39
38
|
}
|
40
39
|
|
41
|
-
&.top-center
|
42
|
-
&.bottom-center
|
40
|
+
&.top-center #{$tooltip-class-arrow},
|
41
|
+
&.bottom-center #{$tooltip-class-arrow} {
|
43
42
|
left: 50%;
|
44
43
|
margin-left: -#{$tooltip-arrow-width}px;
|
45
44
|
}
|
46
45
|
|
47
|
-
&.top-center
|
46
|
+
&.top-center #{$tooltip-class-arrow} {
|
48
47
|
border-top-color: #000;
|
49
48
|
bottom: -#{$tooltip-arrow-width-double}px;
|
50
49
|
}
|
51
50
|
|
52
|
-
&.bottom-center
|
51
|
+
&.bottom-center #{$tooltip-class-arrow} {
|
53
52
|
border-bottom-color: #000;
|
54
53
|
top: -#{$tooltip-arrow-width-double}px;
|
55
54
|
}
|
56
55
|
}
|
57
56
|
|
58
|
-
|
59
|
-
|
57
|
+
#{$tooltip-class-arrow},
|
58
|
+
#{$popover-class-arrow} {
|
60
59
|
width: 0;
|
61
60
|
height: 0;
|
62
61
|
border: #{$tooltip-arrow-width}px solid transparent;
|
63
62
|
position: absolute;
|
64
63
|
|
65
|
-
|
64
|
+
&::after {
|
66
65
|
content: "";
|
67
66
|
border: #{($tooltip-arrow-width - 2)}px solid transparent;
|
68
67
|
position: absolute;
|
@@ -71,8 +70,8 @@ $tooltip-arrow-width-double: ($tooltip-arrow-width * 2);
|
|
71
70
|
|
72
71
|
//-------------------- Animations --------------------//
|
73
72
|
|
74
|
-
|
75
|
-
|
73
|
+
#{$tooltip-class},
|
74
|
+
#{$popover-class} {
|
76
75
|
#{join-classes($popover-tooltip-animation)} {
|
77
76
|
transition: opacity $tooltip-transition, visibility $tooltip-transition, transform $tooltip-transition;
|
78
77
|
}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
/**
|
2
|
-
* @copyright 2010-
|
2
|
+
* @copyright 2010-2015, The Titon Project
|
3
3
|
* @license http://opensource.org/licenses/BSD-3-Clause
|
4
4
|
* @link http://titon.io
|
5
5
|
*/
|
6
6
|
|
7
7
|
@import "../common";
|
8
8
|
|
9
|
-
|
9
|
+
#{$typeAhead-class} {
|
10
10
|
position: absolute;
|
11
11
|
top: 0;
|
12
12
|
left: 0;
|
@@ -37,24 +37,24 @@
|
|
37
37
|
}
|
38
38
|
}
|
39
39
|
|
40
|
-
|
40
|
+
#{$typeAhead-class-heading} {
|
41
41
|
padding: $small-padding;
|
42
42
|
line-height: 100%;
|
43
43
|
display: block;
|
44
44
|
text-decoration: none;
|
45
45
|
}
|
46
46
|
|
47
|
-
|
47
|
+
#{$typeAhead-class-highlight} {
|
48
48
|
background: #fff;
|
49
49
|
padding: 0;
|
50
50
|
}
|
51
51
|
|
52
|
-
|
52
|
+
#{$typeAhead-class-description} {
|
53
53
|
display: block;
|
54
54
|
font-size: .7rem;
|
55
55
|
}
|
56
56
|
|
57
|
-
|
57
|
+
#{$typeAhead-class-shadow} {
|
58
58
|
position: relative;
|
59
59
|
|
60
60
|
.is-shadow {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @copyright 2010-
|
2
|
+
* @copyright 2010-2015, The Titon Project
|
3
3
|
* @license http://opensource.org/licenses/BSD-3-Clause
|
4
4
|
* @link http://titon.io
|
5
5
|
*/
|
@@ -43,7 +43,7 @@ blockquote {
|
|
43
43
|
border-left: 5px solid $gray;
|
44
44
|
|
45
45
|
cite { display: block; font-size: $small-size; }
|
46
|
-
cite
|
46
|
+
cite::before { content: "\2014 \00A0"; /* em dash */ }
|
47
47
|
}
|
48
48
|
|
49
49
|
mark {
|
@@ -1,16 +1,22 @@
|
|
1
1
|
|
2
2
|
@mixin button-group-first-child {
|
3
|
-
> li:first-child
|
4
|
-
>
|
5
|
-
> .#{$vendor-prefix}button.first {
|
3
|
+
> li:first-child #{$button-class},
|
4
|
+
> #{$button-class}:first-child {
|
6
5
|
@content;
|
7
6
|
}
|
8
7
|
}
|
9
8
|
|
10
9
|
@mixin button-group-last-child {
|
11
|
-
> li:last-child
|
12
|
-
>
|
13
|
-
> .#{$vendor-prefix}button.last {
|
10
|
+
> li:last-child #{$button-class},
|
11
|
+
> #{$button-class}:last-child {
|
14
12
|
@content;
|
15
13
|
}
|
14
|
+
}
|
15
|
+
|
16
|
+
@mixin responsive-display-block($class) {
|
17
|
+
#{$class} { display: block !important; }
|
18
|
+
table#{$class} { display: table !important; }
|
19
|
+
tr#{$class} { display: table-row !important; }
|
20
|
+
td#{$class},
|
21
|
+
th#{$class} { display: table-cell !important; }
|
16
22
|
}
|
@@ -9,17 +9,56 @@
|
|
9
9
|
@return rgba(255, 255, 255, $opacity);
|
10
10
|
}
|
11
11
|
|
12
|
-
// Take a list of classes
|
12
|
+
// Take a list of classes and generate a selector list
|
13
13
|
@function join-classes($classes, $inherit: true) {
|
14
14
|
$selectors: ();
|
15
15
|
|
16
16
|
@each $class in $classes {
|
17
|
+
@if str-index($class, ".") != 0 {
|
18
|
+
$class: "." + $class;
|
19
|
+
}
|
20
|
+
|
17
21
|
@if $inherit {
|
18
|
-
$selectors: $selectors, unquote("
|
22
|
+
$selectors: $selectors, unquote("&" + $class);
|
19
23
|
} @else {
|
20
|
-
$selectors: $selectors, unquote(
|
24
|
+
$selectors: $selectors, unquote($class);
|
21
25
|
}
|
22
26
|
}
|
23
27
|
|
24
28
|
@return $selectors;
|
29
|
+
}
|
30
|
+
|
31
|
+
// Remove the first selector character (#, ., etc) from the class name or ID
|
32
|
+
@function remove-selector-char($selector) {
|
33
|
+
@return str-slice($selector, 2, str-length($selector));
|
34
|
+
}
|
35
|
+
|
36
|
+
// Generate a class name and apply an optional prefix
|
37
|
+
@function class-name($class, $prefix: $vendor-prefix, $selector: ".") {
|
38
|
+
$name: $class;
|
39
|
+
|
40
|
+
@if str_slice($class, 1, 1) == $selector {
|
41
|
+
$name: remove-selector-char($name);
|
42
|
+
}
|
43
|
+
|
44
|
+
@if $prefix != "" {
|
45
|
+
$name: $prefix + $name;
|
46
|
+
}
|
47
|
+
|
48
|
+
@return $selector + $name;
|
49
|
+
}
|
50
|
+
|
51
|
+
// Format a class name into the BEM format
|
52
|
+
@function bem($block: "", $element: "", $modifier: "", $element-separator: $bem-element-separator, $modifier-separator: $bem-modifier-separator) {
|
53
|
+
$name: $block;
|
54
|
+
|
55
|
+
@if $element != "" {
|
56
|
+
$name: $name + $element-separator + $element;
|
57
|
+
}
|
58
|
+
|
59
|
+
@if $modifier != "" {
|
60
|
+
$name: $name + $modifier-separator + $modifier;
|
61
|
+
}
|
62
|
+
|
63
|
+
@return $name;
|
25
64
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
// Container clear fix for floats
|
3
3
|
@mixin clear-fix {
|
4
|
-
|
4
|
+
&::after {
|
5
5
|
content: "";
|
6
6
|
display: table;
|
7
7
|
clear: both;
|
@@ -22,6 +22,17 @@
|
|
22
22
|
padding: 0;
|
23
23
|
}
|
24
24
|
|
25
|
+
// Position an element to take up the whole screen
|
26
|
+
@mixin full-screen($position: fixed) {
|
27
|
+
@if ($position != "") {
|
28
|
+
position: $position;
|
29
|
+
}
|
30
|
+
top: 0;
|
31
|
+
left: 0;
|
32
|
+
height: 100%;
|
33
|
+
width: 100%;
|
34
|
+
}
|
35
|
+
|
25
36
|
// Align an element in the center of another element
|
26
37
|
@mixin position-center {
|
27
38
|
position: absolute;
|
@@ -50,11 +61,11 @@
|
|
50
61
|
$selectors: ();
|
51
62
|
|
52
63
|
@if $self {
|
53
|
-
$selectors: $selectors, unquote("
|
64
|
+
$selectors: $selectors, unquote("&" + $size);
|
54
65
|
}
|
55
66
|
|
56
67
|
@if $parent {
|
57
|
-
$selectors: $selectors, unquote(
|
68
|
+
$selectors: $selectors, unquote($size + " &");
|
58
69
|
}
|
59
70
|
|
60
71
|
#{$selectors} {
|
@@ -63,19 +74,17 @@
|
|
63
74
|
}
|
64
75
|
|
65
76
|
@mixin is-small($self: true, $parent: false) {
|
66
|
-
@
|
67
|
-
@
|
68
|
-
|
69
|
-
}
|
70
|
-
|
71
|
-
@mixin is-medium($self: true, $parent: false) {
|
72
|
-
@include is-size($size-medium-class, $self, $parent) {
|
73
|
-
@content;
|
77
|
+
@if $enable-small-size {
|
78
|
+
@include is-size($size-small-class, $self, $parent) {
|
79
|
+
@content;
|
80
|
+
}
|
74
81
|
}
|
75
82
|
}
|
76
83
|
|
77
84
|
@mixin is-large($self: true, $parent: false) {
|
78
|
-
@
|
79
|
-
@
|
85
|
+
@if $enable-large-size {
|
86
|
+
@include is-size($size-large-class, $self, $parent) {
|
87
|
+
@content;
|
88
|
+
}
|
80
89
|
}
|
81
90
|
}
|
@@ -67,88 +67,88 @@
|
|
67
67
|
|
68
68
|
//-------------------- Breakpoints --------------------//
|
69
69
|
|
70
|
-
|
71
|
-
@
|
72
|
-
@include do-responsive(null, $breakpoint-tablet-landscape) {
|
70
|
+
@mixin if-xlarge() {
|
71
|
+
@include do-responsive(nth($breakpoint-range-xlarge, 2), nth($breakpoint-range-xlarge, 1)) {
|
73
72
|
@content;
|
74
73
|
}
|
75
74
|
}
|
76
75
|
|
77
|
-
@mixin if-
|
78
|
-
@include do-responsive($breakpoint-
|
76
|
+
@mixin if-large() {
|
77
|
+
@include do-responsive(nth($breakpoint-range-large, 2), nth($breakpoint-range-large, 1)) {
|
79
78
|
@content;
|
80
79
|
}
|
81
80
|
}
|
82
81
|
|
83
|
-
@mixin if-
|
84
|
-
@include do-responsive($breakpoint-
|
82
|
+
@mixin if-medium() {
|
83
|
+
@include do-responsive(nth($breakpoint-range-medium, 2), nth($breakpoint-range-medium, 1)) {
|
85
84
|
@content;
|
86
85
|
}
|
87
86
|
}
|
88
87
|
|
89
|
-
@mixin if-
|
90
|
-
@include do-responsive($breakpoint-
|
88
|
+
@mixin if-small() {
|
89
|
+
@include do-responsive(nth($breakpoint-range-small, 2), nth($breakpoint-range-small, 1)) {
|
91
90
|
@content;
|
92
91
|
}
|
93
92
|
}
|
94
93
|
|
95
|
-
@mixin if-
|
96
|
-
@include do-responsive($breakpoint-
|
94
|
+
@mixin if-xsmall() {
|
95
|
+
@include do-responsive(nth($breakpoint-range-xsmall, 2), nth($breakpoint-range-xsmall, 1)) {
|
97
96
|
@content;
|
98
97
|
}
|
99
98
|
}
|
100
99
|
|
101
|
-
|
102
|
-
|
103
|
-
|
100
|
+
// Within 2 ranges
|
101
|
+
@mixin in-range($range) {
|
102
|
+
@if type-of($range) != 'list' {
|
103
|
+
@warn "in-range() requires a list with a min and max value";
|
104
104
|
}
|
105
|
-
}
|
106
105
|
|
107
|
-
|
108
|
-
|
109
|
-
@content;
|
110
|
-
}
|
111
|
-
}
|
106
|
+
$min: nth($range, 1);
|
107
|
+
$max: nth($range, 2);
|
112
108
|
|
113
|
-
@
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
}
|
109
|
+
@if $min and $max {
|
110
|
+
@include if-min-max($min, $max) {
|
111
|
+
@content;
|
112
|
+
}
|
118
113
|
|
119
|
-
|
120
|
-
@
|
121
|
-
|
122
|
-
|
123
|
-
}
|
124
|
-
}
|
114
|
+
} @else if $min {
|
115
|
+
@include if-min($min) {
|
116
|
+
@content;
|
117
|
+
}
|
125
118
|
|
126
|
-
@
|
127
|
-
|
128
|
-
|
119
|
+
} @else if $max {
|
120
|
+
@include if-max($max) {
|
121
|
+
@content;
|
122
|
+
}
|
129
123
|
}
|
130
124
|
}
|
131
125
|
|
132
|
-
@mixin in-
|
133
|
-
@include
|
126
|
+
@mixin in-xlarge {
|
127
|
+
@include in-range($breakpoint-range-xlarge) {
|
134
128
|
@content;
|
135
129
|
}
|
136
130
|
}
|
137
131
|
|
138
132
|
@mixin in-large {
|
139
|
-
@include
|
133
|
+
@include in-range($breakpoint-range-large) {
|
140
134
|
@content;
|
141
135
|
}
|
142
136
|
}
|
143
137
|
|
144
138
|
@mixin in-medium {
|
145
|
-
@include
|
139
|
+
@include in-range($breakpoint-range-medium) {
|
146
140
|
@content;
|
147
141
|
}
|
148
142
|
}
|
149
143
|
|
150
144
|
@mixin in-small {
|
151
|
-
@include
|
145
|
+
@include in-range($breakpoint-range-small) {
|
146
|
+
@content;
|
147
|
+
}
|
148
|
+
}
|
149
|
+
|
150
|
+
@mixin in-xsmall {
|
151
|
+
@include in-range($breakpoint-range-xsmall) {
|
152
152
|
@content;
|
153
153
|
}
|
154
154
|
}
|
data/scss/toolkit.scss
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @copyright 2010-
|
2
|
+
* @copyright 2010-2015, The Titon Project
|
3
3
|
* @license http://opensource.org/licenses/BSD-3-Clause
|
4
4
|
* @link http://titon.io
|
5
5
|
*/
|
@@ -7,19 +7,19 @@
|
|
7
7
|
@import "normalize";
|
8
8
|
@import "toolkit/common";
|
9
9
|
|
10
|
-
//
|
11
|
-
@import "toolkit/
|
12
|
-
@import "toolkit/
|
13
|
-
@import "toolkit/
|
14
|
-
@import "toolkit/
|
10
|
+
// Shared layout styles
|
11
|
+
@import "toolkit/base";
|
12
|
+
@import "toolkit/components/typography";
|
13
|
+
@import "toolkit/components/form";
|
14
|
+
@import "toolkit/components/code";
|
15
15
|
|
16
|
-
//
|
17
|
-
@import "toolkit/components/grid";
|
16
|
+
// Basic UI styles
|
18
17
|
@import "toolkit/components/breadcrumb";
|
19
18
|
@import "toolkit/components/button";
|
20
19
|
@import "toolkit/components/button-group";
|
21
20
|
@import "toolkit/components/divider";
|
22
21
|
@import "toolkit/components/drop";
|
22
|
+
@import "toolkit/components/grid";
|
23
23
|
@import "toolkit/components/icon";
|
24
24
|
@import "toolkit/components/input";
|
25
25
|
@import "toolkit/components/input-group";
|
@@ -32,7 +32,7 @@
|
|
32
32
|
@import "toolkit/components/switch";
|
33
33
|
@import "toolkit/components/table";
|
34
34
|
|
35
|
-
//
|
35
|
+
// Advanced UI styles
|
36
36
|
@import "toolkit/components/accordion";
|
37
37
|
@import "toolkit/components/blackout";
|
38
38
|
@import "toolkit/components/carousel";
|
@@ -45,16 +45,10 @@
|
|
45
45
|
@import "toolkit/components/pin";
|
46
46
|
@import "toolkit/components/popover";
|
47
47
|
@import "toolkit/components/showcase";
|
48
|
-
@import "toolkit/components/
|
48
|
+
@import "toolkit/components/tab";
|
49
49
|
@import "toolkit/components/toast";
|
50
50
|
@import "toolkit/components/tooltip";
|
51
51
|
@import "toolkit/components/type-ahead";
|
52
52
|
|
53
|
-
//
|
54
|
-
@import "toolkit/
|
55
|
-
@import "toolkit/effects/pill";
|
56
|
-
@import "toolkit/effects/oval";
|
57
|
-
@import "toolkit/effects/skew";
|
58
|
-
|
59
|
-
// Place it last so it overrides other elements
|
60
|
-
@import "toolkit/layout/responsive";
|
53
|
+
// Responsive should be last to override previous styles
|
54
|
+
@import "toolkit/components/responsive";
|
data/version.md
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
2.0.0-rc.1
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: titon-toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0.pre.rc.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Project Titon
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-11-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|
@@ -17,30 +17,30 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 3.
|
20
|
+
version: 3.4.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 3.
|
27
|
+
version: 3.4.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: compass
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
34
|
+
version: 1.0.0
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
42
|
-
description: A collection of extensible front-end UI components
|
43
|
-
and mobile web.
|
41
|
+
version: 1.0.0
|
42
|
+
description: A collection of extensible front-end UI components and behaviors for
|
43
|
+
the responsive and mobile web.
|
44
44
|
email:
|
45
45
|
executables: []
|
46
46
|
extensions: []
|
@@ -54,15 +54,18 @@ files:
|
|
54
54
|
- scss/normalize.scss
|
55
55
|
- scss/toolkit.scss
|
56
56
|
- scss/toolkit/_common.scss
|
57
|
+
- scss/toolkit/base.scss
|
57
58
|
- scss/toolkit/components/accordion.scss
|
58
59
|
- scss/toolkit/components/blackout.scss
|
59
60
|
- scss/toolkit/components/breadcrumb.scss
|
60
61
|
- scss/toolkit/components/button-group.scss
|
61
62
|
- scss/toolkit/components/button.scss
|
62
63
|
- scss/toolkit/components/carousel.scss
|
64
|
+
- scss/toolkit/components/code.scss
|
63
65
|
- scss/toolkit/components/divider.scss
|
64
66
|
- scss/toolkit/components/drop.scss
|
65
67
|
- scss/toolkit/components/flyout.scss
|
68
|
+
- scss/toolkit/components/form.scss
|
66
69
|
- scss/toolkit/components/grid.scss
|
67
70
|
- scss/toolkit/components/icon.scss
|
68
71
|
- scss/toolkit/components/input-group.scss
|
@@ -79,31 +82,22 @@ files:
|
|
79
82
|
- scss/toolkit/components/pin.scss
|
80
83
|
- scss/toolkit/components/popover.scss
|
81
84
|
- scss/toolkit/components/progress.scss
|
85
|
+
- scss/toolkit/components/responsive.scss
|
82
86
|
- scss/toolkit/components/showcase.scss
|
83
87
|
- scss/toolkit/components/step.scss
|
84
88
|
- scss/toolkit/components/switch.scss
|
89
|
+
- scss/toolkit/components/tab.scss
|
85
90
|
- scss/toolkit/components/table.scss
|
86
|
-
- scss/toolkit/components/tabs.scss
|
87
91
|
- scss/toolkit/components/toast.scss
|
88
92
|
- scss/toolkit/components/tooltip.scss
|
89
93
|
- scss/toolkit/components/type-ahead.scss
|
90
|
-
- scss/toolkit/
|
91
|
-
- scss/toolkit/effects/pill.scss
|
92
|
-
- scss/toolkit/effects/skew.scss
|
93
|
-
- scss/toolkit/effects/visual.scss
|
94
|
-
- scss/toolkit/layout/base.scss
|
95
|
-
- scss/toolkit/layout/code.scss
|
96
|
-
- scss/toolkit/layout/form.scss
|
97
|
-
- scss/toolkit/layout/responsive.scss
|
98
|
-
- scss/toolkit/layout/typography.scss
|
94
|
+
- scss/toolkit/components/typography.scss
|
99
95
|
- scss/toolkit/mixins/_components.scss
|
100
96
|
- scss/toolkit/mixins/_grid.scss
|
101
97
|
- scss/toolkit/mixins/_helper.scss
|
102
98
|
- scss/toolkit/mixins/_layout.scss
|
103
99
|
- scss/toolkit/mixins/_responsive.scss
|
104
|
-
- scss/toolkit/mixins/_state.scss
|
105
100
|
- scss/toolkit/mixins/_unit.scss
|
106
|
-
- scss/toolkit/themes/demo.scss
|
107
101
|
- version.md
|
108
102
|
homepage: http://titon.io
|
109
103
|
licenses:
|
@@ -120,9 +114,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
120
114
|
version: '0'
|
121
115
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
116
|
requirements:
|
123
|
-
- - "
|
117
|
+
- - ">"
|
124
118
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
119
|
+
version: 1.3.1
|
126
120
|
requirements: []
|
127
121
|
rubyforge_project:
|
128
122
|
rubygems_version: 2.4.1
|
@@ -1,43 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @copyright 2010-2014, The Titon Project
|
3
|
-
* @license http://opensource.org/licenses/BSD-3-Clause
|
4
|
-
* @link http://titon.io
|
5
|
-
*/
|
6
|
-
|
7
|
-
@import "../common";
|
8
|
-
|
9
|
-
// Need a property for @extend to work
|
10
|
-
.#{$vendor-prefix}tabs {
|
11
|
-
text-align: left;
|
12
|
-
}
|
13
|
-
|
14
|
-
.#{$vendor-prefix}tabs-nav {
|
15
|
-
display: block;
|
16
|
-
margin-bottom: $margin;
|
17
|
-
|
18
|
-
ul, ol, li {
|
19
|
-
@include reset-list;
|
20
|
-
display: inline-block;
|
21
|
-
}
|
22
|
-
|
23
|
-
@include clear-fix;
|
24
|
-
}
|
25
|
-
|
26
|
-
// Add display none on sections since visibility takes up DOM space
|
27
|
-
.#{$vendor-prefix}tabs-section.hide {
|
28
|
-
display: none;
|
29
|
-
}
|
30
|
-
|
31
|
-
//-------------------- Modifiers --------------------//
|
32
|
-
|
33
|
-
.#{$vendor-prefix}tabs--horizontal {
|
34
|
-
@extend .#{$vendor-prefix}tabs;
|
35
|
-
|
36
|
-
.#{$vendor-prefix}tabs-nav {
|
37
|
-
ul, ol, li, a, button {
|
38
|
-
display: block;
|
39
|
-
float: none;
|
40
|
-
text-align: left;
|
41
|
-
}
|
42
|
-
}
|
43
|
-
}
|