uniform-ui 2.3.8 → 3.0.0.beta5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/javascripts/uniform.js +19 -19
- data/lib/assets/javascripts/uniform/checkbox.js +59 -16
- data/lib/assets/javascripts/uniform/component.js +20 -4
- data/lib/assets/javascripts/uniform/dropdown.js +78 -209
- data/lib/assets/javascripts/uniform/floating-label-input.js +63 -0
- data/lib/assets/javascripts/uniform/icons.js +12 -3
- data/lib/assets/javascripts/uniform/modal.js +15 -18
- data/lib/assets/javascripts/uniform/popover.js +42 -25
- data/lib/assets/javascripts/uniform/resizer.js +26 -30
- data/lib/assets/javascripts/uniform/select.js +188 -222
- data/lib/assets/javascripts/uniform/tooltip.js +11 -11
- data/lib/assets/stylesheets/uniform.scss +3 -7
- data/lib/assets/stylesheets/uniform/base.scss +20 -1
- data/lib/assets/stylesheets/uniform/components/buttons.scss +171 -184
- data/lib/assets/stylesheets/uniform/components/checkbox.scss +104 -0
- data/lib/assets/stylesheets/uniform/components/container.scss +3 -2
- data/lib/assets/stylesheets/uniform/components/dropdown.scss +8 -5
- data/lib/assets/stylesheets/uniform/components/floating-label-input.scss +29 -0
- data/lib/assets/stylesheets/uniform/components/input-group.scss +30 -0
- data/lib/assets/stylesheets/uniform/components/label.scss +21 -16
- data/lib/assets/stylesheets/uniform/components/loaders.scss +28 -54
- data/lib/assets/stylesheets/uniform/components/nav.scss +50 -87
- data/lib/assets/stylesheets/uniform/components/pointer.scss +83 -0
- data/lib/assets/stylesheets/uniform/components/select.scss +97 -107
- data/lib/assets/stylesheets/uniform/components/table.scss +31 -138
- data/lib/assets/stylesheets/uniform/components/thumb.scss +40 -25
- data/lib/assets/stylesheets/uniform/components/z-input.scss +20 -0
- data/lib/assets/stylesheets/uniform/defaults.scss +31 -10
- data/lib/assets/stylesheets/uniform/functions.scss +32 -7
- data/lib/assets/stylesheets/uniform/mixins.scss +110 -57
- data/lib/assets/stylesheets/uniform/utilities.scss +55 -0
- data/lib/assets/stylesheets/uniform/utilities/background.scss +9 -0
- data/lib/assets/stylesheets/uniform/utilities/borders.scss +84 -0
- data/lib/assets/stylesheets/uniform/utilities/effects.scss +172 -0
- data/lib/assets/stylesheets/uniform/utilities/layout.scss +177 -0
- data/lib/assets/stylesheets/uniform/utilities/position.scss +42 -0
- data/lib/assets/stylesheets/uniform/utilities/sizing.scss +54 -0
- data/lib/assets/stylesheets/uniform/utilities/spacing.scss +62 -0
- data/lib/assets/stylesheets/uniform/utilities/svg.scss +5 -0
- data/lib/assets/stylesheets/uniform/utilities/text.scss +158 -0
- data/lib/assets/stylesheets/uniform/variables.scss +111 -42
- data/lib/uniform/version.rb +1 -1
- metadata +25 -48
- data/lib/assets/javascripts/uniform.jquery.js +0 -152
- data/lib/assets/javascripts/uniform/dom-helpers.js +0 -158
- data/lib/assets/javascripts/uniform/floating-label.js +0 -54
- data/lib/assets/stylesheets/uniform-print.scss +0 -1
- data/lib/assets/stylesheets/uniform/components.scss +0 -11
- data/lib/assets/stylesheets/uniform/components/alert.scss +0 -72
- data/lib/assets/stylesheets/uniform/components/card.scss +0 -93
- data/lib/assets/stylesheets/uniform/components/form.scss +0 -149
- data/lib/assets/stylesheets/uniform/components/form/checkbox-collection.scss +0 -103
- data/lib/assets/stylesheets/uniform/components/form/checkbox.scss +0 -58
- data/lib/assets/stylesheets/uniform/components/form/floating-label.scss +0 -65
- data/lib/assets/stylesheets/uniform/components/form/input-group.scss +0 -56
- data/lib/assets/stylesheets/uniform/components/form/tristate.scss +0 -88
- data/lib/assets/stylesheets/uniform/components/grid.scss +0 -179
- data/lib/assets/stylesheets/uniform/components/row.scss +0 -67
- data/lib/assets/stylesheets/uniform/components/tooltip.scss +0 -41
- data/lib/assets/stylesheets/uniform/helpers.scss +0 -133
- data/lib/assets/stylesheets/uniform/helpers/border.scss +0 -28
- data/lib/assets/stylesheets/uniform/helpers/colors.scss +0 -24
- data/lib/assets/stylesheets/uniform/helpers/margin.scss +0 -27
- data/lib/assets/stylesheets/uniform/helpers/padding.scss +0 -9
- data/lib/assets/stylesheets/uniform/helpers/position.scss +0 -20
- data/lib/assets/stylesheets/uniform/helpers/sizes.scss +0 -38
- data/lib/assets/stylesheets/uniform/helpers/text.scss +0 -152
- data/lib/assets/stylesheets/uniform/print/grid.scss +0 -50
@@ -1,67 +0,0 @@
|
|
1
|
-
.uniformRow{
|
2
|
-
background: white;
|
3
|
-
display: block;
|
4
|
-
text-decoration:none;
|
5
|
-
color: color('gray-darker');
|
6
|
-
border: 1px solid color('gray');
|
7
|
-
&:hover{
|
8
|
-
background: lighten(color('blue'), 50);
|
9
|
-
}
|
10
|
-
}
|
11
|
-
@include size-rule('md') {
|
12
|
-
.uniformRowContainer{
|
13
|
-
display: table;
|
14
|
-
width: 100%;
|
15
|
-
border-left: 1px solid color('gray');
|
16
|
-
border-right: 1px solid color('gray');
|
17
|
-
border-bottom: 1px solid color('gray');
|
18
|
-
.uniformRow{
|
19
|
-
display: table-row;
|
20
|
-
}
|
21
|
-
&.-nest{
|
22
|
-
border-left: none;
|
23
|
-
border-right: none;
|
24
|
-
border-bottom: none;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
.uniformRow{
|
28
|
-
display: table;
|
29
|
-
width: 100%;
|
30
|
-
border-left: 1px solid color('gray');
|
31
|
-
border-right: 1px solid color('gray');
|
32
|
-
box-shadow: 0px 1px 0 color('gray');
|
33
|
-
&.-middle{
|
34
|
-
& > * {
|
35
|
-
vertical-align: middle;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
& > * {
|
39
|
-
display: table-cell;
|
40
|
-
border-top: 1px solid color('gray');
|
41
|
-
&.fix-overflow{
|
42
|
-
max-width: 0;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
}
|
46
|
-
}
|
47
|
-
|
48
|
-
@include size-rule('sm') {
|
49
|
-
.uniformRowContainer{
|
50
|
-
display: block;
|
51
|
-
border: none;
|
52
|
-
.uniformRow {
|
53
|
-
display: block;
|
54
|
-
}
|
55
|
-
}
|
56
|
-
.uniformRow {
|
57
|
-
margin: 0.5em 0;
|
58
|
-
display: block;
|
59
|
-
border: 1px solid color('gray');
|
60
|
-
box-shadow: none;
|
61
|
-
& > * {
|
62
|
-
max-width: inherit;
|
63
|
-
display: block;
|
64
|
-
border-top: none;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
}
|
@@ -1,41 +0,0 @@
|
|
1
|
-
.uniformTooltip{
|
2
|
-
position:relative;
|
3
|
-
cursor: help;
|
4
|
-
&.active{
|
5
|
-
z-index:2;
|
6
|
-
}
|
7
|
-
}
|
8
|
-
.uniformTooltip-popup{
|
9
|
-
position: relative;
|
10
|
-
background: white;
|
11
|
-
border: 1px solid color('gray');
|
12
|
-
padding: 0.5em;
|
13
|
-
color: color('gray-darkest');
|
14
|
-
font-size:0.9em;
|
15
|
-
border-radius: 0.25em;
|
16
|
-
max-width: 30vw;
|
17
|
-
white-space: normal;
|
18
|
-
p:last-child{
|
19
|
-
margin-bottom: 0;
|
20
|
-
}
|
21
|
-
.uniformTooltip-pointer{
|
22
|
-
position:absolute;
|
23
|
-
top: 100%;
|
24
|
-
left: 50%;
|
25
|
-
transform: translateX(-50%);
|
26
|
-
width: 1em;
|
27
|
-
height: 1em;
|
28
|
-
overflow: hidden;
|
29
|
-
&:after{
|
30
|
-
content: "";
|
31
|
-
position: absolute;
|
32
|
-
width: 100%;
|
33
|
-
height: 100%;
|
34
|
-
background: white;
|
35
|
-
transform: rotate(-45deg);
|
36
|
-
top: -85%;
|
37
|
-
left: 0;
|
38
|
-
border: 1px solid color('gray');
|
39
|
-
}
|
40
|
-
}
|
41
|
-
}
|
@@ -1,133 +0,0 @@
|
|
1
|
-
//----------------------------------------------------------------
|
2
|
-
// Overflow
|
3
|
-
//----------------------------------------------------------------
|
4
|
-
.overflow-hidden{
|
5
|
-
overflow: hidden;
|
6
|
-
}
|
7
|
-
.overflow-hidden{
|
8
|
-
overflow:hidden;
|
9
|
-
}
|
10
|
-
.overflow-y{
|
11
|
-
overflow-y: auto;
|
12
|
-
}
|
13
|
-
|
14
|
-
|
15
|
-
//----------------------------------------------------------------
|
16
|
-
// Rounded
|
17
|
-
//----------------------------------------------------------------
|
18
|
-
.round{
|
19
|
-
border-radius:50%;
|
20
|
-
}
|
21
|
-
.rounded{
|
22
|
-
border-radius: 0.25em;
|
23
|
-
&.clip{
|
24
|
-
overflow:hidden;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|
28
|
-
.rounded-top{
|
29
|
-
border-top-right-radius: 0.25em;
|
30
|
-
border-top-left-radius: 0.25em;
|
31
|
-
}
|
32
|
-
.rounded-bottom{
|
33
|
-
border-bottom-right-radius: 0.25em;
|
34
|
-
border-bottom-left-radius: 0.25em;
|
35
|
-
}
|
36
|
-
|
37
|
-
|
38
|
-
//----------------------------------------------------------------
|
39
|
-
// Raw
|
40
|
-
//----------------------------------------------------------------
|
41
|
-
.raw{
|
42
|
-
margin: 0;
|
43
|
-
padding: 0;
|
44
|
-
list-style:none;
|
45
|
-
outline: none;
|
46
|
-
appearance: none;
|
47
|
-
}
|
48
|
-
.reset{
|
49
|
-
outline: none;
|
50
|
-
appearance: none;
|
51
|
-
border: none;
|
52
|
-
background:none;
|
53
|
-
padding: 0;
|
54
|
-
}
|
55
|
-
|
56
|
-
//----------------------------------------------------------------
|
57
|
-
// Cursors
|
58
|
-
//----------------------------------------------------------------
|
59
|
-
[data-href],
|
60
|
-
.cursor-pointer{
|
61
|
-
cursor: pointer !important;
|
62
|
-
}
|
63
|
-
.cursor-help{
|
64
|
-
cursor: help;
|
65
|
-
}
|
66
|
-
.cursor-handle{
|
67
|
-
cursor: grab;
|
68
|
-
}
|
69
|
-
|
70
|
-
//----------------------------------------------------------------
|
71
|
-
// Layout
|
72
|
-
//----------------------------------------------------------------
|
73
|
-
@include size-rules('.float-right'){
|
74
|
-
float:right;
|
75
|
-
&.margin{
|
76
|
-
margin: 0 0 1rem 1rem;
|
77
|
-
}
|
78
|
-
}
|
79
|
-
@include size-rules('.float-left'){
|
80
|
-
float: left;
|
81
|
-
&.margin{
|
82
|
-
margin: 0 1rem 1rem 0;
|
83
|
-
}
|
84
|
-
}
|
85
|
-
@include size-rules('.show'){
|
86
|
-
display:inherit !important;
|
87
|
-
&.block{
|
88
|
-
display:block !important;
|
89
|
-
}
|
90
|
-
}
|
91
|
-
@include size-rules('.block') {
|
92
|
-
display: block !important;
|
93
|
-
}
|
94
|
-
@include size-rules('.inline-block') {
|
95
|
-
display:inline-block !important;
|
96
|
-
}
|
97
|
-
@include size-rules('.hide'){
|
98
|
-
display:none !important;
|
99
|
-
}
|
100
|
-
.bleed-fix{
|
101
|
-
position:static;
|
102
|
-
overflow:hidden;
|
103
|
-
}
|
104
|
-
.clear{
|
105
|
-
clear:both;
|
106
|
-
}
|
107
|
-
|
108
|
-
//----------------------------------------------------------------
|
109
|
-
// Transitions
|
110
|
-
//----------------------------------------------------------------
|
111
|
-
.transition-all{
|
112
|
-
transition: all 0.2s;
|
113
|
-
}
|
114
|
-
|
115
|
-
//----------------------------------------------------------------
|
116
|
-
// Misc
|
117
|
-
//----------------------------------------------------------------
|
118
|
-
.honeypot{
|
119
|
-
position:absolute !important;
|
120
|
-
left:-999999px !important;
|
121
|
-
width:1px !important;
|
122
|
-
display:block !important;
|
123
|
-
}
|
124
|
-
img.disabled{
|
125
|
-
@include grayscale(1, 0.3)
|
126
|
-
}
|
127
|
-
table.layout-fixed{
|
128
|
-
table-layout: fixed;
|
129
|
-
}
|
130
|
-
|
131
|
-
.shadow{
|
132
|
-
box-shadow: 0 1px 3px 2px rgba(black, 0.2);
|
133
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
.border{
|
2
|
-
border: 1px solid color('gray');
|
3
|
-
}
|
4
|
-
|
5
|
-
.border-dashed{
|
6
|
-
border: 1px dashed color('gray');
|
7
|
-
}
|
8
|
-
@include colors('.border', 'border-color'){
|
9
|
-
border-width: 1px;
|
10
|
-
border-style: solid;
|
11
|
-
}
|
12
|
-
|
13
|
-
@include colors('.border-dashed', 'border-color'){
|
14
|
-
border-width: 1px;
|
15
|
-
border-style: dashed;
|
16
|
-
}
|
17
|
-
|
18
|
-
@each $direction in 'top' 'right' 'bottom' 'left' {
|
19
|
-
@include size-rules('.border-#{$direction}'){
|
20
|
-
border-#{$direction}-color: color('gray-light') !important;
|
21
|
-
border-#{$direction}-style: solid;
|
22
|
-
border-#{$direction}-width: 1px;
|
23
|
-
}
|
24
|
-
@include colors('.border-#{$direction}', 'border-#{$direction}-color'){
|
25
|
-
border-#{$direction}-width: 1px;
|
26
|
-
border-#{$direction}-style: solid;
|
27
|
-
}
|
28
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
@each $key, $value in $colors {
|
2
|
-
.text-#{$key} { color: $value !important;}
|
3
|
-
.a-hover-#{$key} a:hover { color: $value !important;}
|
4
|
-
.hover-#{$key}:hover { color: $value !important;}
|
5
|
-
.bg-hover-#{$key}:hover { background-color: $value !important;}
|
6
|
-
.bg-#{$key} { background-color: $value !important;}
|
7
|
-
.a-#{$key} a {
|
8
|
-
color: $value;
|
9
|
-
&:hover{
|
10
|
-
color: lighten($value, 20);
|
11
|
-
}
|
12
|
-
&:visited{
|
13
|
-
color: $value;
|
14
|
-
}
|
15
|
-
}
|
16
|
-
}
|
17
|
-
|
18
|
-
@for $i from 0 through 20 {
|
19
|
-
.opacity-#{$i * 5} { opacity: #{$i * 5 / 100.0}; }
|
20
|
-
}
|
21
|
-
|
22
|
-
.bg-none{
|
23
|
-
background: transparent;
|
24
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
//----------------------------------------------------------------
|
2
|
-
// Margin
|
3
|
-
//----------------------------------------------------------------
|
4
|
-
|
5
|
-
@include sizes('.margin', 'margin');
|
6
|
-
@include sizes('.margin-v', ('margin-top' 'margin-bottom'));
|
7
|
-
@include sizes('.margin-h', ('margin-left' 'margin-right'));
|
8
|
-
@each $direction in 'top' 'right' 'bottom' 'left' {
|
9
|
-
@include sizes('.margin-#{$direction}', 'margin-#{$direction}');
|
10
|
-
.margin-#{$direction}-nest{
|
11
|
-
margin-#{$direction}: -1em;
|
12
|
-
}
|
13
|
-
}
|
14
|
-
@include size-rules('.margin-nest'){
|
15
|
-
margin: -1em;
|
16
|
-
}
|
17
|
-
@include size-rules('.margin-v-nest'){
|
18
|
-
margin-top: -1em;
|
19
|
-
margin-bottom: -1em;
|
20
|
-
}
|
21
|
-
@include size-rules('.margin-h-nest'){
|
22
|
-
margin-left: -1em;
|
23
|
-
margin-right: -1em;
|
24
|
-
}
|
25
|
-
@include size-rules('.margin-nest-half'){
|
26
|
-
margin: -0.5em;
|
27
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
//----------------------------------------------------------------
|
2
|
-
// Pad
|
3
|
-
//----------------------------------------------------------------
|
4
|
-
@include sizes('.pad', 'padding');
|
5
|
-
@include sizes('.pad-v', ('padding-top' 'padding-bottom'));
|
6
|
-
@include sizes('.pad-h', ('padding-left' 'padding-right'));
|
7
|
-
@each $direction in 'top' 'right' 'bottom' 'left' {
|
8
|
-
@include sizes('.pad-#{$direction}', 'padding-#{$direction}');
|
9
|
-
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
.relative{ position:relative;}
|
2
|
-
.absolute{ position:absolute;}
|
3
|
-
.fixed{ position:fixed;}
|
4
|
-
.position-top{ top: 0;}
|
5
|
-
.position-left{ left: 0;}
|
6
|
-
.position-right{ right: 0;}
|
7
|
-
.position-bottom{ bottom: 0;}
|
8
|
-
.position-fill{ @include position-fill;}
|
9
|
-
.position-center{ @include position-center;}
|
10
|
-
.position-v-center{ @include position-v-center;}
|
11
|
-
.position-h-center{ @include position-h-center;}
|
12
|
-
@for $i from 1 through 100 {
|
13
|
-
.z-#{$i} { z-index: #{$i}; }
|
14
|
-
}
|
15
|
-
|
16
|
-
.hide-empty{
|
17
|
-
&:empty{
|
18
|
-
display: none;
|
19
|
-
}
|
20
|
-
}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
@for $i from 0 through 100 {
|
2
|
-
@include size-rules(".width-#{$i * 5}-px"){
|
3
|
-
width: #{$i * 5 + "px"};
|
4
|
-
}
|
5
|
-
.min-width-#{$i * 5}-px { min-width: #{$i * 5 + "px"}; }
|
6
|
-
.max-width-#{$i * 5}-px { max-width: #{$i * 5 + "px"}; }
|
7
|
-
|
8
|
-
.height-#{$i * 5}-px { height: #{$i * 5 + "px"}; }
|
9
|
-
.max-height-#{$i * 5}-px { max-height: #{$i * 5 + "px"}; }
|
10
|
-
.min-height-#{$i * 5}-px { min-height: #{$i * 5 + "px"}; }
|
11
|
-
}
|
12
|
-
@for $i from 0 through 20 {
|
13
|
-
@include size-rules(".width-#{$i * 5}-p"){
|
14
|
-
width: #{$i * 5 + "%"};
|
15
|
-
}
|
16
|
-
.width-#{$i * 5}-vw { width: #{$i * 5 +"vw"}; }
|
17
|
-
|
18
|
-
.min-width-#{$i * 5}-vh { min-width: #{$i * 5 +"vh"}; }
|
19
|
-
.min-width-#{$i * 5}-p { min-width: #{$i * 5 +"%"}; }
|
20
|
-
|
21
|
-
.max-width-#{$i * 5}-vh { max-width: #{$i * 5 +"vh"}; }
|
22
|
-
.max-width-#{$i * 5}-p { max-width: #{$i * 5 +"%"}; }
|
23
|
-
|
24
|
-
@include size-rules(".height-#{$i * 5}-vh"){
|
25
|
-
height: #{$i * 5 + "vh"};
|
26
|
-
}
|
27
|
-
.height-#{$i * 5}-p { height: #{$i * 5 +"%"}; }
|
28
|
-
|
29
|
-
.min-height-#{$i * 5}-vh { min-height: #{$i * 5 +"vh"}; }
|
30
|
-
.min-height-#{$i * 5}-p { min-height: #{$i * 5 +"%"}; }
|
31
|
-
}
|
32
|
-
|
33
|
-
.height-auto{
|
34
|
-
height: auto;
|
35
|
-
}
|
36
|
-
.width-auto{
|
37
|
-
width:auto;
|
38
|
-
}
|
@@ -1,152 +0,0 @@
|
|
1
|
-
//----------------------------------------------------------------
|
2
|
-
// Size
|
3
|
-
//----------------------------------------------------------------
|
4
|
-
|
5
|
-
@include sizes('.text', 'font-size');
|
6
|
-
@for $i from 1 through 20 {
|
7
|
-
.text-#{str-replace(str-replace('' + $i * 0.2, '.', '_'), '_0', '')}-em { font-size: #{$i * 0.2 +"em"}; }
|
8
|
-
}
|
9
|
-
.text-1rem{
|
10
|
-
font-size: 1rem;
|
11
|
-
}
|
12
|
-
|
13
|
-
//----------------------------------------------------------------
|
14
|
-
// Modifiers
|
15
|
-
//----------------------------------------------------------------
|
16
|
-
|
17
|
-
.text-mono{
|
18
|
-
font-family: monospace, monospace;
|
19
|
-
}
|
20
|
-
.text-caps{
|
21
|
-
text-transform: uppercase;
|
22
|
-
}
|
23
|
-
.text-boldest{
|
24
|
-
font-weight: 900;
|
25
|
-
}
|
26
|
-
.text-bold{
|
27
|
-
font-weight: 700;
|
28
|
-
}
|
29
|
-
.text-light{
|
30
|
-
font-weight: 300;
|
31
|
-
}
|
32
|
-
.text-lightest{
|
33
|
-
font-weight: 100;
|
34
|
-
}
|
35
|
-
.text-normal{
|
36
|
-
font-weight: normal !important;
|
37
|
-
}
|
38
|
-
.text-italic{
|
39
|
-
font-style: italic;
|
40
|
-
}
|
41
|
-
.text-no-decoration{
|
42
|
-
text-decoration: none;
|
43
|
-
a{
|
44
|
-
text-decoration: none;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
.text-underline{
|
48
|
-
text-decoration: underline;
|
49
|
-
}
|
50
|
-
.hover-underline{
|
51
|
-
&:hover{
|
52
|
-
text-decoration: underline;
|
53
|
-
}
|
54
|
-
}
|
55
|
-
|
56
|
-
//----------------------------------------------------------------
|
57
|
-
// Styles
|
58
|
-
//----------------------------------------------------------------
|
59
|
-
.text-subtle{
|
60
|
-
font-size: 90%;
|
61
|
-
opacity: 0.8;
|
62
|
-
}
|
63
|
-
.text-subtle-more{
|
64
|
-
font-size: 80%;
|
65
|
-
opacity: 0.6;
|
66
|
-
}
|
67
|
-
|
68
|
-
.text-muted{
|
69
|
-
opacity: 0.8;
|
70
|
-
}
|
71
|
-
.text-muted-less{
|
72
|
-
opacity: 0.85;
|
73
|
-
}
|
74
|
-
.text-muted-more{
|
75
|
-
opacity: 0.6;
|
76
|
-
}
|
77
|
-
p.large{
|
78
|
-
font-size:1.5em;
|
79
|
-
font-weight:300;
|
80
|
-
}
|
81
|
-
|
82
|
-
blockquote.quote{
|
83
|
-
font-style: italic;
|
84
|
-
border:none;
|
85
|
-
position:relative;
|
86
|
-
z-index: 2;
|
87
|
-
padding-left: 2em;
|
88
|
-
&::before{
|
89
|
-
font-family: $system-font;
|
90
|
-
z-index: -1;
|
91
|
-
position:absolute;
|
92
|
-
top: 0;
|
93
|
-
left: -1rem;
|
94
|
-
line-height: 0.7;
|
95
|
-
font-size:8em;
|
96
|
-
color: rgba(black, 0.1);
|
97
|
-
content: "“";
|
98
|
-
}
|
99
|
-
}
|
100
|
-
|
101
|
-
//----------------------------------------------------------------
|
102
|
-
// Positioning
|
103
|
-
//----------------------------------------------------------------
|
104
|
-
|
105
|
-
@include size-rules('.text-left'){
|
106
|
-
text-align: left !important;
|
107
|
-
}
|
108
|
-
@include size-rules('.text-right'){
|
109
|
-
text-align: right;
|
110
|
-
}
|
111
|
-
@include size-rules('.text-center'){
|
112
|
-
text-align: center;
|
113
|
-
}
|
114
|
-
.text-middle{
|
115
|
-
vertical-align:middle;
|
116
|
-
}
|
117
|
-
.text-top{
|
118
|
-
vertical-align:top;
|
119
|
-
}
|
120
|
-
.text-tight{
|
121
|
-
line-height:1.3;
|
122
|
-
}
|
123
|
-
.text-height-1{
|
124
|
-
line-height: 1;
|
125
|
-
}
|
126
|
-
@include size-rules('.text-col-2'){
|
127
|
-
column-count: 2;
|
128
|
-
column-gap: 5em;
|
129
|
-
}
|
130
|
-
@include size-rules('.text-col-3'){
|
131
|
-
column-count: 3;
|
132
|
-
column-gap: 5em;
|
133
|
-
}
|
134
|
-
.text-col-no-break{
|
135
|
-
break-inside: avoid-column;
|
136
|
-
}
|
137
|
-
|
138
|
-
//----------------------------------------------------------------
|
139
|
-
// Breaking
|
140
|
-
//----------------------------------------------------------------
|
141
|
-
.text-break{
|
142
|
-
word-break: break-all;
|
143
|
-
}
|
144
|
-
.text-justify{
|
145
|
-
text-align: justify;
|
146
|
-
}
|
147
|
-
.text-overflow{
|
148
|
-
@include text-overflow;
|
149
|
-
}
|
150
|
-
.text-nowrap{
|
151
|
-
white-space: nowrap;
|
152
|
-
}
|