ethosstyles 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/assets/stylesheets/_ethosstyles.scss +7 -0
- data/app/assets/stylesheets/components/_base.scss +130 -0
- data/app/assets/stylesheets/components/_blurbs.scss +37 -0
- data/app/assets/stylesheets/components/{buttons.scss → _buttons.scss} +44 -23
- data/app/assets/stylesheets/components/{checks.scss → _checks.scss} +14 -3
- data/app/assets/stylesheets/components/_forms.scss +73 -0
- data/app/assets/stylesheets/components/{grid.scss → _grid.scss} +41 -1
- data/app/assets/stylesheets/components/_icons.scss +53 -0
- data/app/assets/stylesheets/components/{links.scss → _links.scss} +4 -3
- data/app/assets/stylesheets/components/{lists.scss → _lists.scss} +87 -1
- data/app/assets/stylesheets/components/{logs.scss → _logs.scss} +0 -0
- data/app/assets/stylesheets/components/_notices.scss +15 -0
- data/app/assets/stylesheets/components/_panels.scss +10 -0
- data/app/assets/stylesheets/components/{pills.scss → _pills.scss} +0 -0
- data/app/assets/stylesheets/components/{progress.scss → _progress.scss} +0 -0
- data/app/assets/stylesheets/components/_sections.scss +21 -0
- data/app/assets/stylesheets/components/_sliders.scss +59 -0
- data/app/assets/stylesheets/components/_tables.scss +104 -0
- data/app/assets/stylesheets/components/{timestamp.scss → _timestamp.scss} +0 -0
- data/app/assets/stylesheets/components/{well.scss → _well.scss} +9 -0
- data/app/assets/stylesheets/settings/_variables.scss +7 -0
- data/app/assets/stylesheets/utilities/_animations.scss +13 -0
- data/app/assets/stylesheets/utilities/_mixins.scss +196 -0
- data/app/assets/stylesheets/utilities/_shame.scss +18 -0
- data/app/assets/stylesheets/utilities/_utilities.scss +166 -0
- data/lib/ethosstyles/version.rb +1 -1
- metadata +25 -18
- data/app/assets/stylesheets/components/base.scss +0 -37
- data/app/assets/stylesheets/components/forms.scss +0 -4
- data/app/assets/stylesheets/components/tables.scss +0 -66
- data/app/assets/stylesheets/utilities/mixins.scss +0 -75
- data/app/assets/stylesheets/utilities/shame.scss +0 -9
- data/app/assets/stylesheets/utilities/utilities.scss +0 -74
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f93a29da7f695a2ad65f55ee9c4e3cdd9180bf54
|
4
|
+
data.tar.gz: e2c313062cd88dfe7a0a33d7486751127c5ce2d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae358ace682be21f4a11212139e4dacde9c087fb739d653c82b407dfdda0977d9ccbf63c8dec7623d8d8ef7aa44168830fda6b96fd2f10ddfdd3c17134d8f9f7
|
7
|
+
data.tar.gz: 38788a0b70659a9d2a5523ad29a4361984266838772f65267b970f9484300f75c83c5a59108cb77bd9e30d836cb2c2539e29ef85222bc109ee69a6bf0364ab57
|
data/README.md
CHANGED
@@ -1,20 +1,27 @@
|
|
1
1
|
@import 'settings/test';
|
2
2
|
@import 'settings/variables';
|
3
3
|
|
4
|
+
@import 'utilities/animations';
|
4
5
|
@import 'utilities/mixins';
|
5
6
|
@import 'utilities/utilities';
|
6
7
|
@import 'utilities/shame';
|
7
8
|
|
8
9
|
@import 'components/base';
|
10
|
+
@import 'components/blurbs';
|
9
11
|
@import 'components/buttons';
|
10
12
|
@import 'components/checks';
|
11
13
|
@import 'components/forms';
|
12
14
|
@import 'components/grid';
|
15
|
+
@import 'components/icons';
|
13
16
|
@import 'components/links';
|
14
17
|
@import 'components/lists';
|
15
18
|
@import 'components/logs';
|
19
|
+
@import 'components/notices';
|
20
|
+
@import 'components/panels';
|
16
21
|
@import 'components/pills';
|
17
22
|
@import 'components/progress';
|
23
|
+
@import 'components/sections';
|
24
|
+
@import 'components/sliders';
|
18
25
|
@import 'components/tables';
|
19
26
|
@import 'components/timestamp';
|
20
27
|
@import 'components/well';
|
@@ -0,0 +1,130 @@
|
|
1
|
+
body {
|
2
|
+
color: $charcoal;
|
3
|
+
font-family: acumin-pro, sans-serif;
|
4
|
+
font-size: 14px;
|
5
|
+
line-height: 18px;
|
6
|
+
}
|
7
|
+
|
8
|
+
h1 {
|
9
|
+
color: $charcoal;
|
10
|
+
font-size: 30px;
|
11
|
+
font-weight: 500;
|
12
|
+
line-height: 36px;
|
13
|
+
padding-bottom: 15px;
|
14
|
+
margin-top: 20px;
|
15
|
+
}
|
16
|
+
|
17
|
+
h2 {
|
18
|
+
@include remove_bootstrap_styles();
|
19
|
+
color: $charcoal;
|
20
|
+
font-size: 18px;
|
21
|
+
font-weight: 700;
|
22
|
+
line-height: 22px;
|
23
|
+
padding-bottom: 6px;
|
24
|
+
}
|
25
|
+
|
26
|
+
h3 {
|
27
|
+
@include remove_bootstrap_styles();
|
28
|
+
color: $charcoal;
|
29
|
+
font-size: 14px;
|
30
|
+
font-weight: bold;
|
31
|
+
line-height: 18px;
|
32
|
+
padding-bottom: 6px;
|
33
|
+
}
|
34
|
+
|
35
|
+
h4 {
|
36
|
+
@include remove_bootstrap_styles();
|
37
|
+
color: $charcoal;
|
38
|
+
font-size: 16px;
|
39
|
+
font-weight: normal;
|
40
|
+
line-height: 18px;
|
41
|
+
padding-bottom: 8px;
|
42
|
+
}
|
43
|
+
|
44
|
+
h5 {
|
45
|
+
@include remove_bootstrap_styles();
|
46
|
+
color: $slate;
|
47
|
+
font-size: 9px;
|
48
|
+
font-weight: semibold;
|
49
|
+
letter-spacing: 0.78px;
|
50
|
+
line-height: 12px;
|
51
|
+
padding-bottom: 6px;
|
52
|
+
text-align: left;
|
53
|
+
text-transform: uppercase;
|
54
|
+
}
|
55
|
+
|
56
|
+
a {
|
57
|
+
color: $blue-bright;
|
58
|
+
}
|
59
|
+
|
60
|
+
a:hover {
|
61
|
+
color: $blue-bright;
|
62
|
+
}
|
63
|
+
|
64
|
+
p {
|
65
|
+
color: $slate;
|
66
|
+
font-size: 14px;
|
67
|
+
line-height: 18px;
|
68
|
+
}
|
69
|
+
|
70
|
+
.rf-p--lead,
|
71
|
+
%rf-p--lead {
|
72
|
+
font-size: 16px;
|
73
|
+
line-height: 22px;
|
74
|
+
}
|
75
|
+
|
76
|
+
.rf-p--light {
|
77
|
+
color: $white;
|
78
|
+
|
79
|
+
a {
|
80
|
+
color: $white;
|
81
|
+
|
82
|
+
@include hocus() {
|
83
|
+
color: $white;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
.rf-ul--lead {
|
89
|
+
@extend %rf-p--lead;
|
90
|
+
}
|
91
|
+
|
92
|
+
small,
|
93
|
+
.rf-small {
|
94
|
+
font-size: 11px;
|
95
|
+
}
|
96
|
+
|
97
|
+
|
98
|
+
//
|
99
|
+
// LISTS
|
100
|
+
//
|
101
|
+
|
102
|
+
.rf-ul--plain {
|
103
|
+
list-style-type: none;
|
104
|
+
padding-left: 6px;
|
105
|
+
text-indent: -6px;
|
106
|
+
}
|
107
|
+
|
108
|
+
.rf-ul--plain li {
|
109
|
+
margin-left: 6px;
|
110
|
+
position: relative;
|
111
|
+
}
|
112
|
+
|
113
|
+
.rf-ul--plain li:before {
|
114
|
+
color: $slate;
|
115
|
+
content: '•';
|
116
|
+
display: inline-block;
|
117
|
+
width: 6px;
|
118
|
+
}
|
119
|
+
|
120
|
+
|
121
|
+
//
|
122
|
+
// CONTAINER
|
123
|
+
//
|
124
|
+
|
125
|
+
.rf-container {
|
126
|
+
margin: auto;
|
127
|
+
max-width: 1100px;
|
128
|
+
padding: 40px;
|
129
|
+
width: 100%;
|
130
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
//
|
2
|
+
// BLURBS
|
3
|
+
// todo: add success and info styles
|
4
|
+
//
|
5
|
+
|
6
|
+
.rf-blurb {
|
7
|
+
@extend %p;
|
8
|
+
|
9
|
+
background-color: $prewhite;
|
10
|
+
border-radius: $border-radius;
|
11
|
+
padding: $list-padding;
|
12
|
+
position: relative;
|
13
|
+
width: 100%;
|
14
|
+
|
15
|
+
&:before {
|
16
|
+
background-color: $white;
|
17
|
+
border-radius: 10px;
|
18
|
+
content: '';
|
19
|
+
display: block;
|
20
|
+
font-family: 'Glyphicons Halflings';
|
21
|
+
font-size: 18px;
|
22
|
+
height: 18px;
|
23
|
+
left: -11px;
|
24
|
+
position: absolute;
|
25
|
+
top: 16px;
|
26
|
+
width: 18px;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
.rf-blurb--error {
|
31
|
+
border-left: 4px solid $red;
|
32
|
+
|
33
|
+
&:before {
|
34
|
+
color: $red;
|
35
|
+
content: "\e101";;
|
36
|
+
}
|
37
|
+
}
|
@@ -31,13 +31,10 @@
|
|
31
31
|
color: $white;
|
32
32
|
|
33
33
|
@include hocus {
|
34
|
-
background-color:
|
35
|
-
border-color:
|
36
|
-
|
37
|
-
|
38
|
-
&:active {
|
39
|
-
background-color: shade($blue-bright, 40%);
|
40
|
-
border-color: shade($blue-bright, 40%);
|
34
|
+
background-color: $navy;
|
35
|
+
border-color: $navy;
|
36
|
+
color: $white;
|
37
|
+
text-decoration: none;
|
41
38
|
}
|
42
39
|
}
|
43
40
|
|
@@ -48,16 +45,10 @@
|
|
48
45
|
color: $charcoal;
|
49
46
|
|
50
47
|
@include hocus {
|
51
|
-
background-color:
|
52
|
-
border-color: shade($cloudy, 4%);
|
48
|
+
background-color: $prewhite;
|
53
49
|
color: $charcoal;
|
54
50
|
text-decoration: none;
|
55
51
|
}
|
56
|
-
|
57
|
-
&:active {
|
58
|
-
background-color: shade($white, 12%);
|
59
|
-
border-color: shade($cloudy, 12%);
|
60
|
-
}
|
61
52
|
}
|
62
53
|
|
63
54
|
.rf-btn--small {
|
@@ -75,17 +66,9 @@
|
|
75
66
|
font-size: 11px;
|
76
67
|
height: 24px;
|
77
68
|
line-height: 14px;
|
78
|
-
padding: 0px 6px;
|
69
|
+
padding: 0px 6px;
|
79
70
|
}
|
80
71
|
|
81
|
-
|
82
|
-
// Side by side
|
83
|
-
|
84
|
-
.rf-btn + .rf-btn {
|
85
|
-
margin-left: 4%;
|
86
|
-
}
|
87
|
-
|
88
|
-
|
89
72
|
// Disabled
|
90
73
|
|
91
74
|
.rf-btn--disabled,
|
@@ -94,3 +77,41 @@
|
|
94
77
|
opacity: .2;
|
95
78
|
pointer-events: none;
|
96
79
|
}
|
80
|
+
|
81
|
+
// Side by side buttons
|
82
|
+
|
83
|
+
.rf-btn + .rf-btn {
|
84
|
+
margin-left: 4px;
|
85
|
+
}
|
86
|
+
|
87
|
+
|
88
|
+
//
|
89
|
+
// ERROR BUTTON (should not click)
|
90
|
+
//
|
91
|
+
|
92
|
+
.rf-btn--error {
|
93
|
+
@include hocus() {
|
94
|
+
background-color: $red;
|
95
|
+
border: 1px solid $red;
|
96
|
+
color: $white;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
//
|
102
|
+
// LIGHT BUTTON
|
103
|
+
// For use on top of dark backgrounds
|
104
|
+
//
|
105
|
+
|
106
|
+
.rf-btn--light {
|
107
|
+
background-color: rgba(255,255,255, .3);
|
108
|
+
border: 1px solid $white;
|
109
|
+
color: $white;
|
110
|
+
|
111
|
+
@include hocus() {
|
112
|
+
background-color: transparent;
|
113
|
+
border-color: $white;
|
114
|
+
color: $white;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
@@ -1,7 +1,7 @@
|
|
1
|
-
// Checkbox HTML structure:
|
1
|
+
// Checkbox HTML structure:
|
2
2
|
// <div class="rf-check">
|
3
3
|
// <label class="rf-check__container">
|
4
|
-
// <input class="rf-check__input" type="checkbox" name
|
4
|
+
// <input class="rf-check__input" type="checkbox" name="name" id="id" value="true" checked="checked">
|
5
5
|
// <span class="rf-check__label">Checkbox Label</span>
|
6
6
|
// </label>
|
7
7
|
// </div>
|
@@ -11,6 +11,7 @@
|
|
11
11
|
//
|
12
12
|
|
13
13
|
.rf-check {
|
14
|
+
clear: both;
|
14
15
|
display: inline-block;
|
15
16
|
font-size: 14px;
|
16
17
|
line-height: 14px;
|
@@ -25,7 +26,7 @@
|
|
25
26
|
margin-bottom: 0;
|
26
27
|
margin-left: 22px;
|
27
28
|
padding-left: 0;
|
28
|
-
position: relative;
|
29
|
+
position: relative;
|
29
30
|
}
|
30
31
|
|
31
32
|
.rf-check__input {
|
@@ -73,3 +74,13 @@
|
|
73
74
|
cursor: default;
|
74
75
|
opacity: .4;
|
75
76
|
}
|
77
|
+
|
78
|
+
|
79
|
+
//
|
80
|
+
// NO LABEL
|
81
|
+
// Checkbox without label text
|
82
|
+
//
|
83
|
+
|
84
|
+
.rf-check--nolabel {
|
85
|
+
width: 14px;
|
86
|
+
}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
//
|
2
|
+
// FORMS
|
3
|
+
//
|
4
|
+
|
5
|
+
%rf-form-control--text {
|
6
|
+
background-color: $white;
|
7
|
+
border: $input-border-default;
|
8
|
+
border-radius: $border-radius;
|
9
|
+
cursor: pointer;
|
10
|
+
display: block;
|
11
|
+
font-size: 13px;
|
12
|
+
line-height: 16px;
|
13
|
+
outline: 0;
|
14
|
+
width: 100%;
|
15
|
+
|
16
|
+
@include hocus() {
|
17
|
+
box-shadow: none;
|
18
|
+
outline: 0;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
.rf-textarea {
|
23
|
+
min-height: 50px;
|
24
|
+
}
|
25
|
+
|
26
|
+
.rf-preview {
|
27
|
+
@extend %rf-form-control--text;
|
28
|
+
border-color: transparent;
|
29
|
+
height: auto;
|
30
|
+
padding-top: $input-padding-v;
|
31
|
+
padding-bottom: $input-padding-v;
|
32
|
+
}
|
33
|
+
|
34
|
+
.rf-form-control {
|
35
|
+
@extend %rf-form-control--text;
|
36
|
+
color: $charcoal;
|
37
|
+
height: 34px;
|
38
|
+
padding: $input-padding-v $input-padding-h;
|
39
|
+
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
|
40
|
+
|
41
|
+
@include hocus() {
|
42
|
+
border-color: $blue-bright;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
.rf-form-group {
|
47
|
+
display: block;
|
48
|
+
margin-bottom: 6px;
|
49
|
+
}
|
50
|
+
|
51
|
+
.rf-form-group:last-child {
|
52
|
+
margin-bottom: 0;
|
53
|
+
}
|
54
|
+
|
55
|
+
.rf-form-group--inline {
|
56
|
+
align-items: center;
|
57
|
+
display: flex;
|
58
|
+
justify-content: space-between;
|
59
|
+
|
60
|
+
.rf-label {
|
61
|
+
margin-bottom: 0;
|
62
|
+
margin-left: 10px;
|
63
|
+
margin-right: 4px;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
.rf-label--inline {
|
68
|
+
margin-bottom: 0;
|
69
|
+
}
|
70
|
+
|
71
|
+
.rf-editable-text {
|
72
|
+
width: 100%;
|
73
|
+
}
|
@@ -1,8 +1,21 @@
|
|
1
|
+
//
|
2
|
+
// ROWS
|
3
|
+
//
|
4
|
+
|
1
5
|
.rf-row {
|
2
6
|
align-items: center;
|
3
7
|
display: flex;
|
4
8
|
}
|
5
9
|
|
10
|
+
.rf-row--space-between {
|
11
|
+
justify-content: space-between;
|
12
|
+
}
|
13
|
+
|
14
|
+
|
15
|
+
//
|
16
|
+
// COLUMNS
|
17
|
+
//
|
18
|
+
|
6
19
|
.rf-col--1 {
|
7
20
|
width: 8.333333%;
|
8
21
|
}
|
@@ -51,8 +64,35 @@
|
|
51
64
|
width: 100%;
|
52
65
|
}
|
53
66
|
|
67
|
+
|
68
|
+
//
|
69
|
+
// ACTIONS COLUMN
|
70
|
+
//
|
71
|
+
|
72
|
+
// Two action buttons
|
54
73
|
.rf-col--actions {
|
55
|
-
display: flex;
|
56
74
|
align-items: center;
|
75
|
+
display: flex;
|
57
76
|
justify-content: flex-end;
|
77
|
+
|
78
|
+
.rf-btn {
|
79
|
+
float: left;
|
80
|
+
min-width: 50px;
|
81
|
+
padding-left: 0;
|
82
|
+
padding-right: 0;
|
83
|
+
width: 48%;
|
84
|
+
|
85
|
+
&:first-child {
|
86
|
+
margin-right: 4%;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
// Single action button
|
92
|
+
.rf-col--action {
|
93
|
+
.rf-btn {
|
94
|
+
padding-left: 0;
|
95
|
+
padding-right: 0;
|
96
|
+
width: 100%;
|
97
|
+
}
|
58
98
|
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
//
|
2
|
+
// Icons
|
3
|
+
//
|
4
|
+
|
5
|
+
.rf-icon {
|
6
|
+
position: relative;
|
7
|
+
top: 1px;
|
8
|
+
display: inline-block;
|
9
|
+
font-family: 'Glyphicons Halflings';
|
10
|
+
font-style: normal;
|
11
|
+
font-weight: normal;
|
12
|
+
line-height: 1;
|
13
|
+
-webkit-font-smoothing: antialiased;
|
14
|
+
-moz-osx-font-smoothing: grayscale;
|
15
|
+
}
|
16
|
+
|
17
|
+
.rf-icon--pending:after {
|
18
|
+
color: $stormy;
|
19
|
+
content: "\e083";
|
20
|
+
}
|
21
|
+
|
22
|
+
.rf-icon--success:after {
|
23
|
+
content: "\e084";
|
24
|
+
color: $green;
|
25
|
+
}
|
26
|
+
|
27
|
+
.rf-icon--failure:after {
|
28
|
+
content: "\e083";
|
29
|
+
color: $red;
|
30
|
+
}
|
31
|
+
|
32
|
+
.rf-icon--ongoing {
|
33
|
+
// @include rf-loader( $white, 14px );
|
34
|
+
border: 3px solid $blue-bright;
|
35
|
+
border-radius: 100%;
|
36
|
+
height: 14px;
|
37
|
+
width: 14px;
|
38
|
+
}
|
39
|
+
|
40
|
+
.rf-icon--irrelevant:after {
|
41
|
+
content: "\2212";
|
42
|
+
color: $stormy;
|
43
|
+
}
|
44
|
+
|
45
|
+
// Grip Icon
|
46
|
+
|
47
|
+
.rf-icon--grip {
|
48
|
+
cursor: -webkit-grab;
|
49
|
+
|
50
|
+
&:active {
|
51
|
+
cursor: -webkit-grabbing;
|
52
|
+
}
|
53
|
+
}
|
@@ -6,12 +6,13 @@
|
|
6
6
|
color: $slate;
|
7
7
|
cursor: pointer;
|
8
8
|
font-size: 12px;
|
9
|
+
text-decoration: underline;
|
9
10
|
|
10
11
|
&:after {
|
11
12
|
display: inline-block;
|
12
13
|
font-family: 'Glyphicons Halflings';
|
13
14
|
font-size: 9px;
|
14
|
-
margin-left:
|
15
|
+
margin-left: 4px;
|
15
16
|
}
|
16
17
|
|
17
18
|
&:hover {
|
@@ -24,11 +25,11 @@
|
|
24
25
|
}
|
25
26
|
|
26
27
|
.rf-infolink--external:after {
|
27
|
-
content: '\e164';
|
28
|
+
content: '\e164';
|
28
29
|
}
|
29
30
|
|
30
31
|
.rf-infolink--external:before {
|
31
|
-
content: 'Open ';
|
32
|
+
content: 'Open ';
|
32
33
|
}
|
33
34
|
|
34
35
|
.rf-infolink--trigger[aria-expanded='false']:before {
|
@@ -16,10 +16,11 @@
|
|
16
16
|
|
17
17
|
|
18
18
|
//
|
19
|
-
// LIST
|
19
|
+
// LIST GROUP
|
20
20
|
//
|
21
21
|
|
22
22
|
.rf-list-group {
|
23
|
+
clear: both;
|
23
24
|
list-style-type: none;
|
24
25
|
margin: 0;
|
25
26
|
padding: 0;
|
@@ -35,6 +36,7 @@
|
|
35
36
|
border-top-left-radius: $border-radius;
|
36
37
|
border-top-right-radius: $border-radius;
|
37
38
|
}
|
39
|
+
|
38
40
|
.rf-list-group__item:last-child {
|
39
41
|
border-bottom-right-radius: $border-radius;
|
40
42
|
border-bottom-left-radius: $border-radius;
|
@@ -50,6 +52,14 @@
|
|
50
52
|
position: relative;
|
51
53
|
}
|
52
54
|
|
55
|
+
.rf-list-group__title--wrap {
|
56
|
+
@include untrunc;
|
57
|
+
}
|
58
|
+
|
59
|
+
.rf-list-group__title--notbold {
|
60
|
+
font-weight: normal;
|
61
|
+
}
|
62
|
+
|
53
63
|
.rf-list-group__titlelink {
|
54
64
|
color: $charcoal;
|
55
65
|
|
@@ -93,3 +103,79 @@
|
|
93
103
|
.rf-list-group__item--success {
|
94
104
|
border-left: 6px solid $green;
|
95
105
|
}
|
106
|
+
|
107
|
+
.rf-list-group__item--irrelevant {
|
108
|
+
border-left: 6px solid $stormy;
|
109
|
+
opacity: $opacity-default;
|
110
|
+
}
|
111
|
+
|
112
|
+
//
|
113
|
+
// LISTS GROUP W/ LINES
|
114
|
+
//
|
115
|
+
|
116
|
+
.rf-list-group--lines {
|
117
|
+
|
118
|
+
.rf-list-group__item {
|
119
|
+
border-color: $prewhite;
|
120
|
+
border-left-width: 0;
|
121
|
+
border-radius: 0;
|
122
|
+
border-right-width: 0;
|
123
|
+
}
|
124
|
+
|
125
|
+
.rf-list-group__item:first-child {
|
126
|
+
border-top-width: 0;
|
127
|
+
}
|
128
|
+
|
129
|
+
.rf-list-group__item:last-child {
|
130
|
+
border-bottom-width: 0;
|
131
|
+
}
|
132
|
+
}
|
133
|
+
|
134
|
+
.rf-list-group__item--condensed {
|
135
|
+
padding: $list-padding/2;
|
136
|
+
|
137
|
+
.rf-list-group__item__trigger {
|
138
|
+
padding: $list-padding/2;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
|
143
|
+
// List item with accordion trigger
|
144
|
+
|
145
|
+
// Format:
|
146
|
+
|
147
|
+
// <li class="rf-list-group__item rf-list-group__item--hastrigger">
|
148
|
+
// <a aria-expanded="false"
|
149
|
+
// data-toggle="collapse"
|
150
|
+
// class="rf-list-group__item__trigger"
|
151
|
+
// href="#id">
|
152
|
+
// <h3 class="rf-h3 rf-list-group__title">Title</h3>
|
153
|
+
// </a>
|
154
|
+
// <div class="rf-well collapse">
|
155
|
+
// Collapsed content
|
156
|
+
// </div>
|
157
|
+
// </li>
|
158
|
+
|
159
|
+
.rf-list-group__item--hastrigger {
|
160
|
+
padding: 0;
|
161
|
+
}
|
162
|
+
|
163
|
+
.rf-list-group__item__trigger {
|
164
|
+
@include trigger_arrow( $arrow-pos: $list-padding/2 );
|
165
|
+
color: $charcoal;
|
166
|
+
display: block;
|
167
|
+
padding: $list-padding;
|
168
|
+
position: relative;
|
169
|
+
width: 100%;
|
170
|
+
|
171
|
+
@include hocus() {
|
172
|
+
background-color: $prewhite;
|
173
|
+
color: $charcoal;
|
174
|
+
text-decoration: none;
|
175
|
+
}
|
176
|
+
|
177
|
+
&[aria-expanded='true'] {
|
178
|
+
background-color: $prewhite;
|
179
|
+
border-bottom: $mercury;
|
180
|
+
}
|
181
|
+
}
|
File without changes
|
File without changes
|