@eeacms/volto-eea-design-system 0.2.1 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/auto-comment.yml +20 -0
- package/CHANGELOG.md +165 -1
- package/package.json +1 -1
- package/src/semantic.less +1 -5
- package/src/ui/Banner/Banner.jsx +1 -1
- package/src/ui/Breadcrumbs/Breadcrumb.stories.jsx +3 -0
- package/src/ui/Breadcrumbs/Breadcrumbs.jsx +1 -0
- package/src/ui/CallToAction/CallToAction.stories.jsx +239 -0
- package/src/ui/{AvatarGrid → Card/AvatarGrid}/AvatarGrid.jsx +14 -14
- package/src/ui/{AvatarGrid → Card/AvatarGrid}/AvatarGrid.stories.jsx +24 -21
- package/src/ui/Card/Card.stories.jsx +249 -0
- package/src/ui/Card/PublicationCard.stories.jsx +46 -0
- package/src/ui/Card/RelatedContent/RelatedContent.jsx +76 -0
- package/src/ui/Card/RelatedContent/RelatedContent.stories.jsx +313 -0
- package/src/ui/Card/RoundedCard.stories.jsx +96 -0
- package/src/ui/{Button → Form/Button}/Button.stories.jsx +88 -52
- package/src/ui/KeyContent/KeyContent.jsx +9 -3
- package/src/ui/KeyContent/KeyContent.stories.jsx +1 -22
- package/src/ui/Loader/Loader.stories.jsx +21 -3
- package/src/ui/Testimonial/Testimonial.jsx +9 -8
- package/src/ui/Testimonial/Testimonial.stories.jsx +14 -11
- package/src/ui/Timeline/Timeline.jsx +1 -1
- package/src/ui/Timeline/Timeline.stories.jsx +12 -12
- package/src/ui/index.js +2 -4
- package/theme/theme.config +2 -4
- package/theme/themes/eea/collections/breadcrumb.overrides +12 -20
- package/theme/themes/eea/collections/breadcrumb.variables +3 -3
- package/theme/themes/eea/collections/form.overrides +116 -0
- package/theme/themes/eea/elements/button.overrides +172 -113
- package/theme/themes/eea/elements/button.variables +20 -6
- package/theme/themes/eea/elements/container.overrides +4 -19
- package/theme/themes/eea/elements/container.variables +5 -4
- package/theme/themes/eea/elements/label.overrides +12 -3
- package/theme/themes/eea/elements/label.variables +1 -1
- package/theme/themes/eea/elements/list.overrides +10 -0
- package/theme/themes/eea/elements/list.variables +3 -1
- package/theme/themes/eea/elements/loader.overrides +197 -0
- package/theme/themes/eea/elements/loader.variables +12 -1
- package/theme/themes/eea/elements/segment.overrides +77 -0
- package/theme/themes/eea/elements/segment.variables +2 -2
- package/theme/themes/eea/extras/avatarGrid.less +22 -24
- package/theme/themes/eea/extras/avatarGrid.variables +4 -8
- package/theme/themes/eea/extras/banner.less +32 -41
- package/theme/themes/eea/extras/blockquote.less +6 -3
- package/theme/themes/eea/extras/footer.less +239 -241
- package/theme/themes/eea/extras/header.less +1 -1
- package/theme/themes/eea/extras/keyContent.less +18 -16
- package/theme/themes/eea/extras/keyContent.variables +13 -7
- package/theme/themes/eea/extras/main.overrides +9 -0
- package/theme/themes/eea/extras/main.variables +3 -0
- package/theme/themes/eea/extras/pullquote.less +3 -3
- package/theme/themes/eea/extras/relatedContent.less +27 -0
- package/theme/themes/eea/extras/relatedContent.variables +3 -0
- package/theme/themes/eea/extras/tagList.less +0 -1
- package/theme/themes/eea/globals/site.variables +16 -12
- package/theme/themes/eea/modules/modal.overrides +4 -0
- package/theme/themes/eea/modules/progress.variables +1 -1
- package/theme/themes/eea/modules/tab.overrides +24 -0
- package/theme/themes/eea/modules/tab.variables +11 -1
- package/theme/themes/eea/views/card.overrides +242 -25
- package/theme/themes/eea/views/card.variables +92 -8
- package/src/ui/Avatar/Avatar.jsx +0 -32
- package/src/ui/Avatar/Avatar.stories.jsx +0 -61
- package/src/ui/PublicationCard/PublicationCard.jsx +0 -27
- package/src/ui/PublicationCard/PublicationCard.stories.jsx +0 -69
- package/src/ui/RelatedContent/RelatedContent.jsx +0 -90
- package/src/ui/RelatedContent/RelatedContent.stories.jsx +0 -80
- package/theme/themes/eea/extras/avatar.less +0 -97
- package/theme/themes/eea/extras/avatar.variables +0 -34
- package/theme/themes/eea/extras/publicationCard.less +0 -62
- package/theme/themes/eea/extras/publicationCard.variables +0 -24
|
@@ -1,3 +1,119 @@
|
|
|
1
|
+
/*******************************
|
|
2
|
+
Pastanaga Theme Overrides
|
|
3
|
+
*******************************/
|
|
4
|
+
|
|
5
|
+
.ui.form .inline.field {
|
|
6
|
+
margin: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.ui.form .inline.field.help .wrapper {
|
|
10
|
+
border-bottom: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.ui.form .inline.field.help {
|
|
14
|
+
padding-bottom: @15px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ui.form .inline.field .help {
|
|
18
|
+
padding-top: @10px;
|
|
19
|
+
padding-bottom: @10px;
|
|
20
|
+
border-bottom: 1px solid @lightGreyBorderColor;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.ui.form p.help {
|
|
24
|
+
color: #878f93;
|
|
25
|
+
font-size: @13px;
|
|
26
|
+
font-weight: 300;
|
|
27
|
+
line-height: initial;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.ui.form .ui.input input:not([type]),
|
|
31
|
+
.ui.form .ui.input input[type='date'],
|
|
32
|
+
.ui.form .ui.input input[type='datetime-local'],
|
|
33
|
+
.ui.form .ui.input input[type='email'],
|
|
34
|
+
.ui.form .ui.input input[type='number'],
|
|
35
|
+
.ui.form .ui.input input[type='password'],
|
|
36
|
+
.ui.form .ui.input input[type='search'],
|
|
37
|
+
.ui.form .ui.input input[type='tel'],
|
|
38
|
+
.ui.form .ui.input input[type='time'],
|
|
39
|
+
.ui.form .ui.input input[type='text'],
|
|
40
|
+
.ui.form .ui.input input[type='file'],
|
|
41
|
+
.ui.form .ui.input input[type='url'],
|
|
42
|
+
.ui.form textarea {
|
|
43
|
+
height: 60px;
|
|
44
|
+
padding: @inputVerticalPadding 0;
|
|
45
|
+
border-width: 0 0 @1px 0;
|
|
46
|
+
border-radius: 0;
|
|
47
|
+
|
|
48
|
+
&:focus {
|
|
49
|
+
border-radius: 0;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ui.form .field > .selection.dropdown {
|
|
54
|
+
height: 60px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ui.form .DraftEditor-root {
|
|
58
|
+
border-bottom: @inputBorder;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// From the original, due to the wrapper around label
|
|
62
|
+
.ui.form .field .wrapper > label {
|
|
63
|
+
display: block;
|
|
64
|
+
margin: @labelMargin;
|
|
65
|
+
color: @labelColor;
|
|
66
|
+
font-size: @labelFontSize;
|
|
67
|
+
font-weight: @labelFontWeight;
|
|
68
|
+
hyphens: auto;
|
|
69
|
+
text-transform: @labelTextTransform;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.ui.form .toolbar {
|
|
73
|
+
position: absolute;
|
|
74
|
+
z-index: 1;
|
|
75
|
+
top: 0;
|
|
76
|
+
right: 0;
|
|
77
|
+
display: flex;
|
|
78
|
+
height: 60px;
|
|
79
|
+
align-items: center;
|
|
80
|
+
margin-right: 1rem;
|
|
81
|
+
|
|
82
|
+
.item {
|
|
83
|
+
cursor: pointer;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.ui.form .field .ui.basic.button.delete-button {
|
|
88
|
+
padding: 0;
|
|
89
|
+
border: none;
|
|
90
|
+
margin-left: 10px;
|
|
91
|
+
-webkit-box-shadow: none;
|
|
92
|
+
box-shadow: none;
|
|
93
|
+
|
|
94
|
+
&:hover,
|
|
95
|
+
&:focus {
|
|
96
|
+
-webkit-box-shadow: none;
|
|
97
|
+
box-shadow: none;
|
|
98
|
+
color: #e40166 !important;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.ui.form .inline.field .link-form-container {
|
|
103
|
+
.wrapper {
|
|
104
|
+
display: flex;
|
|
105
|
+
border-bottom: 1px solid @lightGreyBorderColor;
|
|
106
|
+
|
|
107
|
+
.ui.input.input-anchorlink-theme {
|
|
108
|
+
vertical-align: unset;
|
|
109
|
+
|
|
110
|
+
input {
|
|
111
|
+
height: unset;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
1
117
|
/*******************************
|
|
2
118
|
Theme Overrides
|
|
3
119
|
*******************************/
|
|
@@ -1,142 +1,130 @@
|
|
|
1
1
|
/*******************************
|
|
2
|
-
|
|
2
|
+
Pastanaga Theme Overrides
|
|
3
3
|
*******************************/
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
.ui.circular.icon.button {
|
|
6
|
+
padding: @circularButtonPadding;
|
|
7
|
+
|
|
8
|
+
.icon {
|
|
9
|
+
font-size: @circularButtonIconFontSize;
|
|
10
|
+
}
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
// border: @buttonBorder @backgroundColor;
|
|
20
|
-
//
|
|
21
|
-
// &:hover,
|
|
22
|
-
// &:active,
|
|
23
|
-
// &:focus {
|
|
24
|
-
// border-color: @hoverBackgroundColor;
|
|
25
|
-
// }
|
|
26
|
-
//}
|
|
27
|
-
|
|
28
|
-
/* Primary Button Border */
|
|
29
|
-
.ui.button.primary,
|
|
30
|
-
.ui.buttons.primary {
|
|
31
|
-
border: @buttonBorder @primaryButtonColor;
|
|
13
|
+
.searchbox.field > .ui.action.input > .icon.button {
|
|
14
|
+
padding-top: 0;
|
|
15
|
+
padding-right: 0;
|
|
16
|
+
background: none;
|
|
17
|
+
color: @blue;
|
|
18
|
+
line-height: 1.6;
|
|
32
19
|
|
|
33
|
-
&:hover
|
|
34
|
-
|
|
35
|
-
border: @buttonBorder @primaryColorHover;
|
|
20
|
+
&:hover {
|
|
21
|
+
background: none;
|
|
36
22
|
}
|
|
37
23
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
background: @primaryButtonBackgroundActive;
|
|
24
|
+
.icon {
|
|
25
|
+
font-weight: bold;
|
|
41
26
|
}
|
|
42
27
|
}
|
|
43
28
|
|
|
44
|
-
.ui.
|
|
45
|
-
|
|
46
|
-
border:
|
|
47
|
-
background:
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
/* Secondary Button */
|
|
52
|
-
.ui.button.secondary,
|
|
53
|
-
.ui.buttons.secondary {
|
|
54
|
-
border: @buttonBorder @secondaryButtonColor;
|
|
55
|
-
background-color: @secondaryButtonBackground;
|
|
56
|
-
color: @secondaryButtonColor;
|
|
29
|
+
.ui.basic.icon.button {
|
|
30
|
+
padding: 0;
|
|
31
|
+
border: 0;
|
|
32
|
+
background: transparent;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
text-align: initial;
|
|
57
35
|
|
|
58
|
-
&:hover,
|
|
59
|
-
&:active,
|
|
60
36
|
&:focus {
|
|
61
|
-
|
|
62
|
-
color: @secondaryButtonColorHover;
|
|
37
|
+
outline: none;
|
|
63
38
|
}
|
|
64
39
|
}
|
|
65
40
|
|
|
66
|
-
.ui.
|
|
67
|
-
.ui.
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
41
|
+
.ui.basic.icon.primary.button,
|
|
42
|
+
.ui.basic.icon.secondary.button {
|
|
43
|
+
box-shadow: none !important;
|
|
44
|
+
|
|
45
|
+
&:hover,
|
|
46
|
+
&:active {
|
|
47
|
+
background: transparent !important;
|
|
48
|
+
box-shadow: none !important;
|
|
49
|
+
}
|
|
71
50
|
}
|
|
72
51
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
52
|
+
.ui.noborder.button {
|
|
53
|
+
padding: 0 !important;
|
|
54
|
+
border: 0;
|
|
55
|
+
background: transparent;
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
text-align: initial;
|
|
78
58
|
|
|
79
|
-
&:hover,
|
|
80
|
-
&:active,
|
|
81
59
|
&:focus {
|
|
82
|
-
|
|
83
|
-
color: @japaneseIndigo;
|
|
60
|
+
outline: none;
|
|
84
61
|
}
|
|
85
62
|
}
|
|
86
63
|
|
|
87
|
-
ui.
|
|
88
|
-
|
|
89
|
-
box-shadow: none !important; // to override the important box shadow - button.less:3271
|
|
64
|
+
.ui.noborder.button:not(.icon) > .icon:not(.button):not(.dropdown) {
|
|
65
|
+
margin: 0;
|
|
90
66
|
}
|
|
91
67
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
border: @buttonBorder @actionButtonBackground;
|
|
95
|
-
background-color: @actionButtonBackground;
|
|
96
|
-
color: @actionButtonColor;
|
|
68
|
+
.ui.button.gallery {
|
|
69
|
+
background-color: transparent;
|
|
97
70
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
border: @buttonBorder @actionButtonBackgroundHover;
|
|
101
|
-
background-color: @actionButtonBackgroundHover;
|
|
71
|
+
.icon.circled {
|
|
72
|
+
margin: 0;
|
|
102
73
|
}
|
|
74
|
+
}
|
|
103
75
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
76
|
+
/*******************************
|
|
77
|
+
EEA Theme Overrides
|
|
78
|
+
*******************************/
|
|
79
|
+
// ensure circular button gets the border color of the current text color
|
|
80
|
+
// and acts as a circular button
|
|
81
|
+
.ui.circular.icon.button {
|
|
82
|
+
padding: @circularButtonPadding;
|
|
83
|
+
border-width: @circularButtonBorderWidth;
|
|
84
|
+
border-color: @circularButtonBorderColor;
|
|
85
|
+
line-height: @circularButtonLineHeight;
|
|
108
86
|
}
|
|
109
87
|
|
|
110
|
-
|
|
111
|
-
|
|
88
|
+
// toolbar yes and cancel icons go outside the button area with default line
|
|
89
|
+
// height
|
|
90
|
+
#toolbar .toolbar-content button,
|
|
91
|
+
#toolbar .toolbar button {
|
|
92
|
+
line-height: @toolbarButtonLineHeight;
|
|
93
|
+
}
|
|
112
94
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
95
|
+
// Maps, Video and Image blocks use buttons without
|
|
96
|
+
// icons, fix them in css for now
|
|
97
|
+
#page-edit .basic.button {
|
|
98
|
+
padding: 0;
|
|
99
|
+
background-color: transparent !important;
|
|
100
|
+
box-shadow: none !important;
|
|
116
101
|
}
|
|
117
102
|
|
|
103
|
+
// sidebar.less has original code
|
|
104
|
+
// bump z-index of sidenav btn due to itml
|
|
105
|
+
// .ui.secondary.pointing.menu:not(.vertical) overrides
|
|
106
|
+
.ui.button.full-size-sidenav-btn {
|
|
107
|
+
z-index: 1;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* Global Button Styles */
|
|
118
111
|
/* Text Button */
|
|
119
112
|
button.ui.button.text,
|
|
120
113
|
button.ui.buttons.text,
|
|
121
114
|
p.ui.button {
|
|
122
|
-
border: none;
|
|
123
115
|
background-color: @textButtonBackground;
|
|
124
116
|
color: @primaryColor;
|
|
117
|
+
text-decoration: underline;
|
|
125
118
|
|
|
126
119
|
&:hover,
|
|
127
120
|
&:active,
|
|
128
121
|
&:focus {
|
|
129
|
-
border: none;
|
|
130
122
|
background-color: @textButtonBackground;
|
|
131
123
|
color: @primaryColorHover;
|
|
132
124
|
}
|
|
133
|
-
}
|
|
134
125
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
.icon {
|
|
139
|
-
font-size: @circularButtonIconFontSize;
|
|
126
|
+
&:focus {
|
|
127
|
+
box-shadow: @textButtonFocusedBoxShadow;
|
|
140
128
|
}
|
|
141
129
|
}
|
|
142
130
|
|
|
@@ -159,6 +147,26 @@ p.ui.button {
|
|
|
159
147
|
}
|
|
160
148
|
}
|
|
161
149
|
|
|
150
|
+
/* Labeled and left and right icons on buttons */
|
|
151
|
+
.ui.button:not(.icon) > .left.icon:not(.button):not(.dropdown),
|
|
152
|
+
.ui.button:not(.icon) > .icon:not(.right) {
|
|
153
|
+
margin: @iconMargin;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* Left Labeled */
|
|
157
|
+
.ui.labeled.icon.buttons > .button > .icon,
|
|
158
|
+
.ui.labeled.icon.button > .icon {
|
|
159
|
+
top: @labeledLeftTop;
|
|
160
|
+
left: @labeledLeftLeft;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* Right Labeled */
|
|
164
|
+
.ui[class*='right labeled'].icon.button > .icon {
|
|
165
|
+
top: @labeledRightTop;
|
|
166
|
+
right: @labeledRightRight;
|
|
167
|
+
left: @labeledRightLeft;
|
|
168
|
+
}
|
|
169
|
+
|
|
162
170
|
.ui.icon.left.labeled.button.search {
|
|
163
171
|
padding-left: 3.375em !important;
|
|
164
172
|
}
|
|
@@ -170,30 +178,81 @@ p.ui.button {
|
|
|
170
178
|
opacity: @searchButtonIconOpacity;
|
|
171
179
|
}
|
|
172
180
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
padding-right: 0;
|
|
176
|
-
background: none;
|
|
177
|
-
color: @blue;
|
|
178
|
-
line-height: 1.6;
|
|
181
|
+
/************* Inverted Buttons *************/
|
|
182
|
+
// Override the light colors with the defaults
|
|
179
183
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
184
|
+
/* Primary - button.less - L:3128 */
|
|
185
|
+
.ui.inverted.primary.buttons .button,
|
|
186
|
+
.ui.inverted.primary.button {
|
|
187
|
+
box-shadow: 0px 0px 0px @invertedBorderSize @primaryColor inset !important;
|
|
188
|
+
color: @primaryColor;
|
|
189
|
+
}
|
|
183
190
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
191
|
+
.ui.inverted.primary.buttons .button:hover,
|
|
192
|
+
.ui.inverted.primary.button:hover,
|
|
193
|
+
.ui.inverted.primary.buttons .button:focus,
|
|
194
|
+
.ui.inverted.primary.button:focus,
|
|
195
|
+
.ui.inverted.primary.buttons .button.active,
|
|
196
|
+
.ui.inverted.primary.button.active,
|
|
197
|
+
.ui.inverted.primary.buttons .button:active,
|
|
198
|
+
.ui.inverted.primary.button:active {
|
|
199
|
+
color: @invertedHoveredTextColor;
|
|
187
200
|
}
|
|
188
201
|
|
|
189
|
-
.ui.
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
cursor: pointer;
|
|
194
|
-
text-align: initial;
|
|
202
|
+
.ui.inverted.primary.buttons .button:hover,
|
|
203
|
+
.ui.inverted.primary.button:hover {
|
|
204
|
+
background-color: @primaryColorHover;
|
|
205
|
+
}
|
|
195
206
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
207
|
+
.ui.inverted.primary.buttons .button:focus,
|
|
208
|
+
.ui.inverted.primary.button:focus {
|
|
209
|
+
background-color: @primaryColorFocus;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.ui.inverted.primary.buttons .active.button,
|
|
213
|
+
.ui.inverted.primary.active.button {
|
|
214
|
+
background-color: @primaryColorActive;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.ui.inverted.primary.buttons .button:active,
|
|
218
|
+
.ui.inverted.primary.button:active {
|
|
219
|
+
background-color: @primaryColorDown;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/* Secondary - button.less - L:3128 */
|
|
223
|
+
.ui.inverted.secondary.buttons .button,
|
|
224
|
+
.ui.inverted.secondary.button {
|
|
225
|
+
box-shadow: 0px 0px 0px @invertedBorderSize @secondaryColor inset !important;
|
|
226
|
+
color: @secondaryColor;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.ui.inverted.secondary.buttons .button:hover,
|
|
230
|
+
.ui.inverted.secondary.button:hover,
|
|
231
|
+
.ui.inverted.secondary.buttons .button:focus,
|
|
232
|
+
.ui.inverted.secondary.button:focus,
|
|
233
|
+
.ui.inverted.secondary.buttons .button.active,
|
|
234
|
+
.ui.inverted.secondary.button.active,
|
|
235
|
+
.ui.inverted.secondary.buttons .button:active,
|
|
236
|
+
.ui.inverted.secondary.button:active {
|
|
237
|
+
color: @invertedHoveredTextColor;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.ui.inverted.secondary.buttons .button:hover,
|
|
241
|
+
.ui.inverted.secondary.button:hover {
|
|
242
|
+
background-color: @secondaryColorHover;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.ui.inverted.secondary.buttons .button:focus,
|
|
246
|
+
.ui.inverted.secondary.button:focus {
|
|
247
|
+
background-color: @secondaryColorFocus;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.ui.inverted.secondary.buttons .active.button,
|
|
251
|
+
.ui.inverted.secondary.active.button {
|
|
252
|
+
background-color: @secondaryColorActive;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.ui.inverted.secondary.buttons .button:active,
|
|
256
|
+
.ui.inverted.secondary.button:active {
|
|
257
|
+
background-color: @secondaryColorDown;
|
|
199
258
|
}
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
/* Text Button */
|
|
40
40
|
@textButtonBackground: transparent;
|
|
41
|
+
@textButtonFocusedBoxShadow: 0 0 0 2px @primaryColorHover inset;
|
|
41
42
|
|
|
42
43
|
/* Search Button */
|
|
43
44
|
@searchButtonBackground: transparent;
|
|
@@ -56,7 +57,7 @@
|
|
|
56
57
|
|
|
57
58
|
/* Button defaults to using same height as input globally */
|
|
58
59
|
@verticalPadding: @inputVerticalPadding;
|
|
59
|
-
@horizontalPadding: 1.
|
|
60
|
+
@horizontalPadding: 1.75em;
|
|
60
61
|
|
|
61
62
|
/* Text */
|
|
62
63
|
@textTransform: none;
|
|
@@ -92,8 +93,8 @@
|
|
|
92
93
|
@iconTransition: opacity @defaultDuration @defaultEasing;
|
|
93
94
|
@iconVerticalAlign: '';
|
|
94
95
|
|
|
95
|
-
@iconMargin:
|
|
96
|
-
@rightIconMargin:
|
|
96
|
+
@iconMargin: 0 @iconDistance 0 -(@iconDistance / 2); // 0 means there is no margin between the icon and the button
|
|
97
|
+
@rightIconMargin: 0 -(@iconDistance / 2) 0 @iconDistance;
|
|
97
98
|
|
|
98
99
|
/* Loader */
|
|
99
100
|
@invertedLoaderFillColor: rgba(0, 0, 0, 0.15);
|
|
@@ -213,11 +214,18 @@
|
|
|
213
214
|
@labeledLabelBorderOffset: -@borderBoxShadowWidth;
|
|
214
215
|
@labeledTagLabelSize: 1.85em; /* hypotenuse of triangle */
|
|
215
216
|
@labeledIconMargin: 0em;
|
|
217
|
+
/* Labeled left */
|
|
218
|
+
@labeledLeftTop: 0;
|
|
219
|
+
@labeledLeftLeft: 0.85em;
|
|
220
|
+
/* Labeled Right */
|
|
221
|
+
@labeledRightTop: 0;
|
|
222
|
+
@labeledRightLeft: auto;
|
|
223
|
+
@labeledRightRight: 0.85em;
|
|
216
224
|
|
|
217
225
|
/* Labeled Icon */
|
|
218
226
|
@labeledIconWidth: 1em + (@verticalPadding * 2);
|
|
219
227
|
@labeledIconBackgroundColor: none;
|
|
220
|
-
@labeledIconPadding: (@horizontalPadding + @labeledIconWidth);
|
|
228
|
+
@labeledIconPadding: 3em; //(@horizontalPadding + @labeledIconWidth);
|
|
221
229
|
@labeledIconBorder: transparent;
|
|
222
230
|
@labeledIconColor: '';
|
|
223
231
|
|
|
@@ -292,8 +300,11 @@
|
|
|
292
300
|
@basicGroupBoxShadow: none;
|
|
293
301
|
|
|
294
302
|
/* Circular */
|
|
295
|
-
@
|
|
296
|
-
@
|
|
303
|
+
@circularButtonBorderWidth: 2px;
|
|
304
|
+
@circularButtonBorderColor: currentColor;
|
|
305
|
+
@circularButtonPadding: 0.25em;
|
|
306
|
+
@circularButtonIconFontSize: 1.375em;
|
|
307
|
+
@circularButtonLineHeight: 1;
|
|
297
308
|
|
|
298
309
|
/*-------------------
|
|
299
310
|
Variations
|
|
@@ -403,3 +414,6 @@
|
|
|
403
414
|
@animationEasing: ease;
|
|
404
415
|
@fadeScaleHigh: 1.5;
|
|
405
416
|
@fadeScaleLow: 0.75;
|
|
417
|
+
|
|
418
|
+
/* Pastanaga Toolbar Button */
|
|
419
|
+
@toolbarButtonLineHeight: 0.75;
|
|
@@ -4,31 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
/* All Sizes */
|
|
6
6
|
.ui.container {
|
|
7
|
-
width: 100%;
|
|
8
|
-
padding-right: @mobilePadding;
|
|
9
|
-
padding-left: @mobilePadding;
|
|
10
7
|
transition: width 0.3s cubic-bezier(0.6, -0.28, 0.735, 0.045),
|
|
11
8
|
margin-left 0.3s cubic-bezier(0.6, -0.28, 0.735, 0.045),
|
|
12
9
|
margin-right 0.3s cubic-bezier(0.6, -0.28, 0.735, 0.045);
|
|
13
10
|
}
|
|
14
11
|
|
|
15
|
-
// TODO fix issue of large container padding and then remove this fix
|
|
16
|
-
#toolbar .pastanaga-menu .ui.container {
|
|
17
|
-
padding: @profileSectionPadding;
|
|
18
|
-
}
|
|
19
12
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@media only screen and (min-width: @computerBreakpoint) {
|
|
28
|
-
.ui.container {
|
|
29
|
-
padding-right: @computerPadding;
|
|
30
|
-
padding-left: @computerPadding;
|
|
31
|
-
}
|
|
13
|
+
// add padding to containers on edit section so that we display add and delete buttons
|
|
14
|
+
.section-edit .container {
|
|
15
|
+
padding: 0 3rem;
|
|
16
|
+
width: auto !important;
|
|
32
17
|
}
|
|
33
18
|
|
|
34
19
|
.contentWidth(@offset) {
|
|
@@ -13,14 +13,16 @@
|
|
|
13
13
|
|
|
14
14
|
/* Minimum Gutter is used to determine the maximum container width for a given device */
|
|
15
15
|
|
|
16
|
-
@maxWidth:
|
|
16
|
+
@maxWidth: 100%;
|
|
17
|
+
@scrollbarWidth: 16px;
|
|
17
18
|
|
|
18
19
|
/* Devices */
|
|
19
20
|
@mobileMinimumGutter: 0em;
|
|
20
21
|
@mobileWidth: auto;
|
|
21
|
-
@mobileGutter:
|
|
22
|
+
@mobileGutter: 1.25rem;
|
|
22
23
|
|
|
23
|
-
@
|
|
24
|
+
@tabletEmSize: 14px;
|
|
25
|
+
@tabletMinimumGutter: (@tabletEmSize * 1);
|
|
24
26
|
@tabletWidth: @tabletBreakpoint - (@tabletMinimumGutter * 2) - @scrollbarWidth;
|
|
25
27
|
@tabletGutter: auto;
|
|
26
28
|
|
|
@@ -63,4 +65,3 @@
|
|
|
63
65
|
@textSize: @large;
|
|
64
66
|
|
|
65
67
|
/* Section */
|
|
66
|
-
@profileSectionPadding: 0px;
|
|
@@ -20,30 +20,39 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
// Custom variations and combinations in slate
|
|
23
|
-
.ui.label.medium,
|
|
23
|
+
.ui.label.medium,
|
|
24
|
+
.ui.label.high,
|
|
25
|
+
.ui.label.highlight {
|
|
24
26
|
a {
|
|
25
27
|
color: @color;
|
|
26
28
|
opacity: @labelOpacity;
|
|
27
29
|
text-decoration: @labelTextDecoration;
|
|
30
|
+
|
|
28
31
|
&:hover {
|
|
29
32
|
text-decoration: @labelNoTextDecoration;
|
|
30
33
|
}
|
|
31
34
|
}
|
|
35
|
+
|
|
32
36
|
.slate-editor-link {
|
|
33
37
|
color: @color;
|
|
34
38
|
text-decoration: @labelTextDecoration;
|
|
35
39
|
}
|
|
40
|
+
|
|
36
41
|
span[aria-describedby='footnote-label'] {
|
|
37
42
|
color: @color;
|
|
38
43
|
}
|
|
39
|
-
|
|
44
|
+
|
|
45
|
+
.footnote-edit-node,
|
|
46
|
+
.citation-item {
|
|
40
47
|
background: @labelNoBackground;
|
|
41
48
|
|
|
42
49
|
&::after {
|
|
43
50
|
color: @color;
|
|
44
51
|
}
|
|
45
52
|
}
|
|
46
|
-
|
|
53
|
+
|
|
54
|
+
.metadata.mention.edit,
|
|
55
|
+
.metadata.mention.empty {
|
|
47
56
|
background: @labelNoBackground;
|
|
48
57
|
}
|
|
49
58
|
}
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
@lowImportanceBackground: @deepBlue;
|
|
157
157
|
@mediumImportanceBackground: #346F83;
|
|
158
158
|
@highImportanceBackground: #005293;
|
|
159
|
-
@highlightImportanceBackground:
|
|
159
|
+
@highlightImportanceBackground: @secondaryColor;
|
|
160
160
|
|
|
161
161
|
@redTextColor: @white;
|
|
162
162
|
@orangeTextColor: @white;
|
|
@@ -14,6 +14,10 @@ div.ui.list > .item .description {
|
|
|
14
14
|
margin: @itemDescriptionMarginTop;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
dl dd {
|
|
18
|
+
margin-inline-start: @descriptionMarginInlineStart;
|
|
19
|
+
}
|
|
20
|
+
|
|
17
21
|
/* Unordered list */
|
|
18
22
|
.ui.bulleted.list .list > .item:before,
|
|
19
23
|
.ui.bulleted.list .list > a.item:before,
|
|
@@ -23,6 +27,12 @@ ul.ui.list li:before {
|
|
|
23
27
|
font-size: @bulletSize;
|
|
24
28
|
}
|
|
25
29
|
|
|
30
|
+
// Third layer margin fix
|
|
26
31
|
.ui.ordered.list .list .list > .item:before {
|
|
27
32
|
margin-left: @orderedGrandchildCountOffset;
|
|
28
33
|
}
|
|
34
|
+
|
|
35
|
+
// Fourth layer margin fix
|
|
36
|
+
.ui.ordered.list .list .list .list > .item:before {
|
|
37
|
+
margin-left: @orderedGreatGrandchildCountOffset;
|
|
38
|
+
}
|