@weavy/uikit-react 11.0.1 → 12.1.0
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/publish.yml +1 -1
- package/README.md +3 -4
- package/changelog.md +30 -0
- package/dist/cjs/index.js +6 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/client/WeavyClient.d.ts +1 -1
- package/dist/cjs/types/components/Image.d.ts +2 -0
- package/dist/cjs/types/components/PdfViewer.d.ts +6 -0
- package/dist/cjs/types/components/Preview.d.ts +58 -0
- package/dist/cjs/types/contexts/MessengerContext.d.ts +1 -2
- package/dist/cjs/types/hooks/useUser.d.ts +2 -1
- package/dist/cjs/types/types/Messenger.d.ts +0 -1
- package/dist/cjs/types/types/types.d.ts +11 -6
- package/dist/cjs/types/utils/fileUtilities.d.ts +16 -1
- package/dist/css/weavy-chat.css +2684 -0
- package/dist/css/weavy-messenger.css +3039 -0
- package/dist/css/weavy.css +3039 -0
- package/dist/esm/index.js +6 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/client/WeavyClient.d.ts +1 -1
- package/dist/esm/types/components/Image.d.ts +2 -0
- package/dist/esm/types/components/PdfViewer.d.ts +6 -0
- package/dist/esm/types/components/Preview.d.ts +58 -0
- package/dist/esm/types/contexts/MessengerContext.d.ts +1 -2
- package/dist/esm/types/hooks/useUser.d.ts +2 -1
- package/dist/esm/types/types/Messenger.d.ts +0 -1
- package/dist/esm/types/types/types.d.ts +11 -6
- package/dist/esm/types/utils/fileUtilities.d.ts +16 -1
- package/dist/index.d.ts +2 -3
- package/package.json +14 -4
- package/rollup.config.js +0 -2
- package/src/client/WeavyClient.ts +3 -3
- package/src/components/Attachment.tsx +5 -6
- package/src/components/Avatar.tsx +2 -3
- package/src/components/Chat.tsx +10 -14
- package/src/components/Conversation.tsx +21 -30
- package/src/components/ConversationBadge.tsx +1 -2
- package/src/components/ConversationForm.tsx +11 -18
- package/src/components/ConversationList.tsx +4 -5
- package/src/components/ConversationListItem.tsx +13 -15
- package/src/components/FileBrowser.tsx +2 -3
- package/src/components/Image.tsx +39 -7
- package/src/components/MeetingCard.tsx +7 -8
- package/src/components/Message.tsx +12 -13
- package/src/components/Messages.tsx +19 -19
- package/src/components/Messenger.tsx +5 -6
- package/src/components/NewConversation.tsx +5 -7
- package/src/components/PdfViewer.tsx +271 -0
- package/src/components/Presence.tsx +2 -2
- package/src/components/Preview.tsx +294 -0
- package/src/components/Reactions.tsx +8 -8
- package/src/components/SearchUsers.tsx +18 -17
- package/src/components/SeenBy.tsx +1 -2
- package/src/components/Typing.tsx +4 -4
- package/src/contexts/MessengerContext.tsx +4 -12
- package/src/contexts/PreviewContext.tsx +4 -6
- package/src/contexts/WeavyContext.tsx +8 -1
- package/src/hooks/useBadge.ts +1 -1
- package/src/hooks/useChat.ts +1 -1
- package/src/hooks/useConversation.ts +1 -2
- package/src/hooks/useConversations.ts +1 -1
- package/src/hooks/useFileUploader.ts +5 -1
- package/src/hooks/useMembers.ts +1 -1
- package/src/hooks/useMessages.ts +1 -1
- package/src/hooks/useMutateChat.ts +1 -1
- package/src/hooks/useMutateConversation.ts +1 -1
- package/src/hooks/useMutateConversationName.ts +1 -1
- package/src/hooks/useMutateDeleteReaction.ts +1 -1
- package/src/hooks/useMutateExternalBlobs.ts +1 -1
- package/src/hooks/useMutateMeeting.ts +1 -1
- package/src/hooks/useMutateMembers.ts +1 -1
- package/src/hooks/useMutateMessage.ts +2 -1
- package/src/hooks/useMutatePinned.ts +1 -1
- package/src/hooks/useMutateReaction.ts +1 -1
- package/src/hooks/useMutateRead.ts +1 -1
- package/src/hooks/useMutateRemoveMembers.ts +1 -1
- package/src/hooks/useMutateTyping.ts +1 -1
- package/src/hooks/usePresence.ts +8 -5
- package/src/hooks/useReactions.ts +0 -1
- package/src/hooks/useSearchUsers.ts +1 -1
- package/src/hooks/useUser.ts +4 -3
- package/src/index.ts +2 -2
- package/src/scss/theme/_alert.scss +73 -0
- package/src/scss/theme/_appbar.scss +112 -0
- package/src/scss/theme/_attachments.scss +74 -0
- package/src/scss/theme/_avatar.scss +54 -0
- package/src/scss/theme/_badge.scss +47 -0
- package/src/scss/theme/_buttons.scss +96 -0
- package/src/scss/theme/_card.scss +7 -0
- package/src/scss/theme/_checkbox.scss +56 -0
- package/src/scss/theme/_cm-editor.scss +42 -0
- package/src/scss/theme/_code.scss +115 -0
- package/src/scss/theme/_colors.scss +520 -0
- package/src/scss/theme/_config.scss +6 -0
- package/src/scss/theme/_content.scss +15 -0
- package/src/scss/theme/_conversations.scss +91 -0
- package/src/scss/theme/_dropdown.scss +86 -0
- package/src/scss/theme/_emoji.scss +5 -0
- package/src/scss/theme/_filebrowser.scss +26 -0
- package/src/scss/theme/_files.scss +140 -0
- package/src/scss/theme/_icons.scss +62 -0
- package/src/scss/theme/_image-grid.scss +63 -0
- package/src/scss/theme/_inputs.scss +28 -0
- package/src/scss/theme/_message-editor.scss +90 -0
- package/src/scss/theme/_messages.scss +238 -0
- package/src/scss/theme/_nav.scss +52 -0
- package/src/scss/theme/_overlays.scss +157 -0
- package/src/scss/theme/_pager.scss +19 -0
- package/src/scss/theme/_palette.scss +165 -0
- package/src/scss/theme/_pane.scss +16 -0
- package/src/scss/theme/_panels.scss +137 -0
- package/src/scss/theme/_picker-list.scss +37 -0
- package/src/scss/theme/_preview-embed.scss +38 -0
- package/src/scss/theme/_preview-html.scss +7 -0
- package/src/scss/theme/_preview-icon.scss +41 -0
- package/src/scss/theme/_preview-image.scss +86 -0
- package/src/scss/theme/_preview-media.scss +28 -0
- package/src/scss/theme/_preview-pdf.scss +838 -0
- package/src/scss/theme/_preview-text.scss +5 -0
- package/src/scss/theme/_preview.scss +105 -0
- package/src/scss/theme/_reactions.scss +58 -0
- package/src/scss/theme/_reboot.scss +41 -0
- package/src/scss/theme/_root.scss +2 -0
- package/src/scss/theme/_scroll.scss +55 -0
- package/src/scss/theme/_search.scss +68 -0
- package/src/scss/theme/_spinner.scss +63 -0
- package/src/scss/theme/_tables.scss +53 -0
- package/src/scss/theme/_toasts.scss +47 -0
- package/src/scss/theme/_turbo.scss +17 -0
- package/src/scss/theme/_typing.scss +26 -0
- package/src/scss/theme/_variables.scss +139 -0
- package/src/scss/theme/bootstrap/_accordion.scss +146 -0
- package/src/scss/theme/bootstrap/_alert.scss +71 -0
- package/src/scss/theme/bootstrap/_badge.scss +38 -0
- package/src/scss/theme/bootstrap/_breadcrumb.scss +40 -0
- package/src/scss/theme/bootstrap/_button-group.scss +142 -0
- package/src/scss/theme/bootstrap/_buttons.scss +186 -0
- package/src/scss/theme/bootstrap/_card.scss +234 -0
- package/src/scss/theme/bootstrap/_carousel.scss +229 -0
- package/src/scss/theme/bootstrap/_close.scss +40 -0
- package/src/scss/theme/bootstrap/_containers.scss +41 -0
- package/src/scss/theme/bootstrap/_dropdown.scss +248 -0
- package/src/scss/theme/bootstrap/_forms.scss +9 -0
- package/src/scss/theme/bootstrap/_functions.scss +302 -0
- package/src/scss/theme/bootstrap/_grid.scss +33 -0
- package/src/scss/theme/bootstrap/_helpers.scss +10 -0
- package/src/scss/theme/bootstrap/_images.scss +42 -0
- package/src/scss/theme/bootstrap/_list-group.scss +191 -0
- package/src/scss/theme/bootstrap/_maps.scss +54 -0
- package/src/scss/theme/bootstrap/_mixins.scss +43 -0
- package/src/scss/theme/bootstrap/_modal.scss +237 -0
- package/src/scss/theme/bootstrap/_nav.scss +172 -0
- package/src/scss/theme/bootstrap/_navbar.scss +276 -0
- package/src/scss/theme/bootstrap/_offcanvas.scss +143 -0
- package/src/scss/theme/bootstrap/_pagination.scss +109 -0
- package/src/scss/theme/bootstrap/_placeholders.scss +51 -0
- package/src/scss/theme/bootstrap/_popover.scss +196 -0
- package/src/scss/theme/bootstrap/_progress.scss +59 -0
- package/src/scss/theme/bootstrap/_reboot.scss +610 -0
- package/src/scss/theme/bootstrap/_root.scss +73 -0
- package/src/scss/theme/bootstrap/_spinners.scss +85 -0
- package/src/scss/theme/bootstrap/_tables.scss +164 -0
- package/src/scss/theme/bootstrap/_toasts.scss +70 -0
- package/src/scss/theme/bootstrap/_tooltip.scss +120 -0
- package/src/scss/theme/bootstrap/_transitions.scss +27 -0
- package/src/scss/theme/bootstrap/_type.scss +106 -0
- package/src/scss/theme/bootstrap/_utilities.scss +647 -0
- package/src/scss/theme/bootstrap/_variables.scss +1633 -0
- package/src/scss/theme/bootstrap/forms/_floating-labels.scss +74 -0
- package/src/scss/theme/bootstrap/forms/_form-check.scss +175 -0
- package/src/scss/theme/bootstrap/forms/_form-control.scss +194 -0
- package/src/scss/theme/bootstrap/forms/_form-range.scss +91 -0
- package/src/scss/theme/bootstrap/forms/_form-select.scss +71 -0
- package/src/scss/theme/bootstrap/forms/_form-text.scss +11 -0
- package/src/scss/theme/bootstrap/forms/_input-group.scss +129 -0
- package/src/scss/theme/bootstrap/forms/_labels.scss +36 -0
- package/src/scss/theme/bootstrap/forms/_validation.scss +12 -0
- package/src/scss/theme/bootstrap/helpers/_clearfix.scss +3 -0
- package/src/scss/theme/bootstrap/helpers/_color-bg.scss +10 -0
- package/src/scss/theme/bootstrap/helpers/_colored-links.scss +12 -0
- package/src/scss/theme/bootstrap/helpers/_position.scss +36 -0
- package/src/scss/theme/bootstrap/helpers/_ratio.scss +26 -0
- package/src/scss/theme/bootstrap/helpers/_stacks.scss +15 -0
- package/src/scss/theme/bootstrap/helpers/_stretched-link.scss +15 -0
- package/src/scss/theme/bootstrap/helpers/_text-truncation.scss +7 -0
- package/src/scss/theme/bootstrap/helpers/_visually-hidden.scss +8 -0
- package/src/scss/theme/bootstrap/helpers/_vr.scss +8 -0
- package/src/scss/theme/bootstrap/mixins/_alert.scss +15 -0
- package/src/scss/theme/bootstrap/mixins/_backdrop.scss +14 -0
- package/src/scss/theme/bootstrap/mixins/_banner.scss +9 -0
- package/src/scss/theme/bootstrap/mixins/_border-radius.scss +78 -0
- package/src/scss/theme/bootstrap/mixins/_box-shadow.scss +18 -0
- package/src/scss/theme/bootstrap/mixins/_breakpoints.scss +127 -0
- package/src/scss/theme/bootstrap/mixins/_buttons.scss +70 -0
- package/src/scss/theme/bootstrap/mixins/_caret.scss +64 -0
- package/src/scss/theme/bootstrap/mixins/_clearfix.scss +9 -0
- package/src/scss/theme/bootstrap/mixins/_color-scheme.scss +7 -0
- package/src/scss/theme/bootstrap/mixins/_container.scss +11 -0
- package/src/scss/theme/bootstrap/mixins/_deprecate.scss +10 -0
- package/src/scss/theme/bootstrap/mixins/_forms.scss +152 -0
- package/src/scss/theme/bootstrap/mixins/_gradients.scss +47 -0
- package/src/scss/theme/bootstrap/mixins/_grid.scss +151 -0
- package/src/scss/theme/bootstrap/mixins/_image.scss +16 -0
- package/src/scss/theme/bootstrap/mixins/_list-group.scss +24 -0
- package/src/scss/theme/bootstrap/mixins/_lists.scss +7 -0
- package/src/scss/theme/bootstrap/mixins/_pagination.scss +10 -0
- package/src/scss/theme/bootstrap/mixins/_reset-text.scss +17 -0
- package/src/scss/theme/bootstrap/mixins/_resize.scss +6 -0
- package/src/scss/theme/bootstrap/mixins/_table-variants.scss +24 -0
- package/src/scss/theme/bootstrap/mixins/_text-truncate.scss +8 -0
- package/src/scss/theme/bootstrap/mixins/_transition.scss +26 -0
- package/src/scss/theme/bootstrap/mixins/_utilities.scss +97 -0
- package/src/scss/theme/bootstrap/mixins/_visually-hidden.scss +29 -0
- package/src/scss/theme/bootstrap/utilities/_api.scss +47 -0
- package/src/scss/theme/bootstrap/vendor/_rfs.scss +354 -0
- package/src/scss/theme/bs/_badge.scss +20 -0
- package/src/scss/theme/bs/_buttons.scss +185 -0
- package/src/scss/theme/bs/_dropdown.scss +86 -0
- package/src/scss/theme/bs/_forms.scss +161 -0
- package/src/scss/theme/bs/_list-group.scss +73 -0
- package/src/scss/theme/bs/_tables.scss +46 -0
- package/src/scss/theme/fonts/_fontmapping-roboto.scss +129 -0
- package/src/scss/theme/fonts/_fontmapping-segoe-ui.scss +127 -0
- package/src/scss/theme/fonts/_index.scss +2 -0
- package/src/scss/theme/mixins/_backdrop.scss +13 -0
- package/src/scss/theme/mixins/_palette.scss +165 -0
- package/src/scss/theme/mixins/_position.scss +33 -0
- package/src/scss/theme/mixins/_scrollbar.scss +110 -0
- package/src/scss/weavy-chat.scss +31 -0
- package/src/scss/weavy-messenger.scss +60 -0
- package/src/scss/weavy.scss +2 -0
- package/src/types/Messenger.ts +1 -1
- package/src/types/types.ts +14 -9
- package/src/ui/Button.tsx +3 -4
- package/src/ui/Dropdown.tsx +4 -5
- package/src/ui/Icon.tsx +75 -39
- package/src/ui/Overlay.tsx +2 -3
- package/src/utils/fileUtilities.ts +280 -72
- package/src/utils/scrollbarDetection.js +48 -0
- package/dist/cjs/types/utils/styles.d.ts +0 -17
- package/dist/esm/types/utils/styles.d.ts +0 -17
- package/src/utils/styles.ts +0 -42
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
%btn {
|
|
5
|
+
// scss-docs-start btn-css-vars
|
|
6
|
+
--#{$prefix}btn-padding-x: #{$btn-padding-x};
|
|
7
|
+
--#{$prefix}btn-padding-y: #{$btn-padding-y};
|
|
8
|
+
--#{$prefix}btn-font-family: #{$btn-font-family};
|
|
9
|
+
@include rfs($btn-font-size, --#{$prefix}btn-font-size);
|
|
10
|
+
--#{$prefix}btn-font-weight: #{$btn-font-weight};
|
|
11
|
+
--#{$prefix}btn-line-height: #{$btn-line-height};
|
|
12
|
+
--#{$prefix}btn-color: #{$body-color};
|
|
13
|
+
--#{$prefix}btn-bg: transparent;
|
|
14
|
+
--#{$prefix}btn-border-width: #{$btn-border-width};
|
|
15
|
+
--#{$prefix}btn-border-color: transparent;
|
|
16
|
+
--#{$prefix}btn-border-radius: #{$btn-border-radius};
|
|
17
|
+
--#{$prefix}btn-box-shadow: #{$btn-box-shadow};
|
|
18
|
+
--#{$prefix}btn-disabled-opacity: #{$btn-disabled-opacity};
|
|
19
|
+
--#{$prefix}btn-focus-box-shadow: 0 0 0 #{$btn-focus-width} rgba(var(--#{$prefix}btn-focus-shadow-rgb), .5);
|
|
20
|
+
// scss-docs-end btn-css-vars
|
|
21
|
+
|
|
22
|
+
display: inline-block;
|
|
23
|
+
padding: var(--#{$prefix}btn-padding-y) var(--#{$prefix}btn-padding-x);
|
|
24
|
+
font-family: var(--#{$prefix}btn-font-family);
|
|
25
|
+
@include font-size(var(--#{$prefix}btn-font-size));
|
|
26
|
+
font-weight: var(--#{$prefix}btn-font-weight);
|
|
27
|
+
line-height: var(--#{$prefix}btn-line-height);
|
|
28
|
+
color: var(--#{$prefix}btn-color);
|
|
29
|
+
text-align: center;
|
|
30
|
+
text-decoration: if($link-decoration == none, null, none);
|
|
31
|
+
white-space: $btn-white-space;
|
|
32
|
+
vertical-align: middle;
|
|
33
|
+
cursor: if($enable-button-pointers, pointer, null);
|
|
34
|
+
user-select: none;
|
|
35
|
+
border: var(--#{$prefix}btn-border-width) solid var(--#{$prefix}btn-border-color);
|
|
36
|
+
@include border-radius(var(--#{$prefix}btn-border-radius));
|
|
37
|
+
@include gradient-bg(var(--#{$prefix}btn-bg));
|
|
38
|
+
@include box-shadow(var(--#{$prefix}btn-box-shadow));
|
|
39
|
+
@include transition($btn-transition);
|
|
40
|
+
|
|
41
|
+
&:hover {
|
|
42
|
+
color: var(--#{$prefix}btn-hover-color);
|
|
43
|
+
text-decoration: if($link-hover-decoration == underline, none, null);
|
|
44
|
+
background-color: var(--#{$prefix}btn-hover-bg);
|
|
45
|
+
border-color: var(--#{$prefix}btn-hover-border-color);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.btn-check:focus + &,
|
|
49
|
+
&:focus {
|
|
50
|
+
color: var(--#{$prefix}btn-hover-color);
|
|
51
|
+
@include gradient-bg(var(--#{$prefix}btn-hover-bg));
|
|
52
|
+
border-color: var(--#{$prefix}btn-hover-border-color);
|
|
53
|
+
outline: 0;
|
|
54
|
+
// Avoid using mixin so we can pass custom focus shadow properly
|
|
55
|
+
@if $enable-shadows {
|
|
56
|
+
box-shadow: var(--#{$prefix}btn-box-shadow), var(--#{$prefix}btn-focus-box-shadow);
|
|
57
|
+
} @else {
|
|
58
|
+
box-shadow: var(--#{$prefix}btn-focus-box-shadow);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.btn-check:checked + &,
|
|
63
|
+
.btn-check:active + &,
|
|
64
|
+
&:active,
|
|
65
|
+
&.active,
|
|
66
|
+
&.show {
|
|
67
|
+
color: var(--#{$prefix}btn-active-color);
|
|
68
|
+
background-color: var(--#{$prefix}btn-active-bg);
|
|
69
|
+
// Remove CSS gradients if they're enabled
|
|
70
|
+
background-image: if($enable-gradients, none, null);
|
|
71
|
+
border-color: var(--#{$prefix}btn-active-border-color);
|
|
72
|
+
@include box-shadow(var(--#{$prefix}btn-active-shadow));
|
|
73
|
+
|
|
74
|
+
&:focus {
|
|
75
|
+
// Avoid using mixin so we can pass custom focus shadow properly
|
|
76
|
+
@if $enable-shadows {
|
|
77
|
+
box-shadow: var(--#{$prefix}btn-active-shadow), var(--#{$prefix}btn-focus-box-shadow);
|
|
78
|
+
} @else {
|
|
79
|
+
box-shadow: var(--#{$prefix}btn-focus-box-shadow);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&:disabled,
|
|
85
|
+
&.disabled,
|
|
86
|
+
fieldset:disabled & {
|
|
87
|
+
color: var(--#{$prefix}btn-disabled-color);
|
|
88
|
+
pointer-events: none;
|
|
89
|
+
background-color: var(--#{$prefix}btn-disabled-bg);
|
|
90
|
+
background-image: if($enable-gradients, none, null);
|
|
91
|
+
border-color: var(--#{$prefix}btn-disabled-border-color);
|
|
92
|
+
opacity: var(--#{$prefix}btn-disabled-opacity);
|
|
93
|
+
@include box-shadow(none);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
//
|
|
99
|
+
// Alternate buttons
|
|
100
|
+
//
|
|
101
|
+
|
|
102
|
+
// scss-docs-start btn-variant-loops
|
|
103
|
+
@each $color, $value in $theme-colors {
|
|
104
|
+
%btn-#{$color} {
|
|
105
|
+
@if $color == "light" {
|
|
106
|
+
@include button-variant(
|
|
107
|
+
$value,
|
|
108
|
+
$value,
|
|
109
|
+
$hover-background: shade-color($value, $btn-hover-bg-shade-amount),
|
|
110
|
+
$hover-border: shade-color($value, $btn-hover-border-shade-amount),
|
|
111
|
+
$active-background: shade-color($value, $btn-active-bg-shade-amount),
|
|
112
|
+
$active-border: shade-color($value, $btn-active-border-shade-amount)
|
|
113
|
+
);
|
|
114
|
+
} @else if $color == "dark" {
|
|
115
|
+
@include button-variant(
|
|
116
|
+
$value,
|
|
117
|
+
$value,
|
|
118
|
+
$hover-background: tint-color($value, $btn-hover-bg-tint-amount),
|
|
119
|
+
$hover-border: tint-color($value, $btn-hover-border-tint-amount),
|
|
120
|
+
$active-background: tint-color($value, $btn-active-bg-tint-amount),
|
|
121
|
+
$active-border: tint-color($value, $btn-active-border-tint-amount)
|
|
122
|
+
);
|
|
123
|
+
} @else {
|
|
124
|
+
@include button-variant($value, $value);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@each $color, $value in $theme-colors {
|
|
130
|
+
%btn-outline-#{$color} {
|
|
131
|
+
@include button-outline-variant($value);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
// scss-docs-end btn-variant-loops
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
//
|
|
138
|
+
// Link buttons
|
|
139
|
+
//
|
|
140
|
+
|
|
141
|
+
// Make a button look and behave like a link
|
|
142
|
+
%btn-link {
|
|
143
|
+
--#{$prefix}btn-font-weight: #{$font-weight-normal};
|
|
144
|
+
--#{$prefix}btn-color: #{$btn-link-color};
|
|
145
|
+
--#{$prefix}btn-bg: transparent;
|
|
146
|
+
--#{$prefix}btn-border-color: transparent;
|
|
147
|
+
--#{$prefix}btn-hover-color: #{$btn-link-hover-color};
|
|
148
|
+
--#{$prefix}btn-hover-border-color: transparent;
|
|
149
|
+
--#{$prefix}btn-active-color: #{$btn-link-hover-color};
|
|
150
|
+
--#{$prefix}btn-active-border-color: transparent;
|
|
151
|
+
--#{$prefix}btn-disabled-color: #{$btn-link-disabled-color};
|
|
152
|
+
--#{$prefix}btn-disabled-border-color: transparent;
|
|
153
|
+
--#{$prefix}btn-box-shadow: none;
|
|
154
|
+
--#{$prefix}btn-focus-shadow-rgb: #{to-rgb(mix(color-contrast($primary), $primary, 15%))};
|
|
155
|
+
|
|
156
|
+
text-decoration: $link-decoration;
|
|
157
|
+
|
|
158
|
+
&:hover,
|
|
159
|
+
&:focus {
|
|
160
|
+
text-decoration: $link-hover-decoration;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
&:focus {
|
|
164
|
+
color: var(--#{$prefix}btn-color);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
&:hover {
|
|
168
|
+
color: var(--#{$prefix}btn-hover-color);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
// No need for an active state here
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
//
|
|
176
|
+
// Button Sizes
|
|
177
|
+
//
|
|
178
|
+
|
|
179
|
+
%btn-lg {
|
|
180
|
+
@include button-size($btn-padding-y-lg, $btn-padding-x-lg, $btn-font-size-lg, $btn-border-radius-lg);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
%btn-sm {
|
|
184
|
+
@include button-size($btn-padding-y-sm, $btn-padding-x-sm, $btn-font-size-sm, $btn-border-radius-sm);
|
|
185
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
3
|
+
$dropdown-spacer: $dropdown-spacer !default;
|
|
4
|
+
|
|
5
|
+
// The dropdown menu
|
|
6
|
+
%dropdown-menu {
|
|
7
|
+
position: absolute;
|
|
8
|
+
z-index: $zindex-dropdown;
|
|
9
|
+
display: none; // none by default, but block on "open" of the menu
|
|
10
|
+
min-width: $dropdown-min-width;
|
|
11
|
+
padding: $dropdown-padding-y $dropdown-padding-x;
|
|
12
|
+
margin: 0; // Override default margin of ul
|
|
13
|
+
@include font-size($dropdown-font-size);
|
|
14
|
+
color: $dropdown-color;
|
|
15
|
+
text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)
|
|
16
|
+
list-style: none;
|
|
17
|
+
background-color: $dropdown-bg;
|
|
18
|
+
background-clip: padding-box;
|
|
19
|
+
border: $dropdown-border-width solid $dropdown-border-color;
|
|
20
|
+
@include border-radius($dropdown-border-radius);
|
|
21
|
+
@include box-shadow($dropdown-box-shadow);
|
|
22
|
+
|
|
23
|
+
&[data-bs-popper] {
|
|
24
|
+
top: 100%;
|
|
25
|
+
left: 0;
|
|
26
|
+
margin-top: $dropdown-spacer;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Dividers (basically an `<hr>`) within the dropdown
|
|
31
|
+
%dropdown-divider {
|
|
32
|
+
height: 0;
|
|
33
|
+
margin: $dropdown-divider-margin-y 0;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
border-top: 1px solid $dropdown-divider-bg;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
%dropdown-item {
|
|
40
|
+
display: block;
|
|
41
|
+
width: 100%; // For `<button>`s
|
|
42
|
+
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
|
|
43
|
+
clear: both;
|
|
44
|
+
font-weight: $font-weight-normal;
|
|
45
|
+
color: $dropdown-link-color;
|
|
46
|
+
text-align: inherit; // For `<button>`s
|
|
47
|
+
text-decoration: if($link-decoration == none, null, none);
|
|
48
|
+
white-space: nowrap; // prevent links from randomly breaking onto new lines
|
|
49
|
+
background-color: transparent; // For `<button>`s
|
|
50
|
+
border: 0; // For `<button>`s
|
|
51
|
+
|
|
52
|
+
// Prevent dropdown overflow if there's no padding
|
|
53
|
+
// See https://github.com/twbs/bootstrap/pull/27703
|
|
54
|
+
@if $dropdown-padding-y == 0 {
|
|
55
|
+
&:first-child {
|
|
56
|
+
@include border-top-radius($dropdown-inner-border-radius);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&:last-child {
|
|
60
|
+
@include border-bottom-radius($dropdown-inner-border-radius);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&:hover,
|
|
65
|
+
&:focus {
|
|
66
|
+
color: $dropdown-link-hover-color;
|
|
67
|
+
text-decoration: if($link-hover-decoration == underline, none, null);
|
|
68
|
+
@include gradient-bg($dropdown-link-hover-bg);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&.active,
|
|
72
|
+
&:active {
|
|
73
|
+
color: $dropdown-link-active-color;
|
|
74
|
+
text-decoration: none;
|
|
75
|
+
@include gradient-bg($dropdown-link-active-bg);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.disabled,
|
|
79
|
+
&:disabled {
|
|
80
|
+
color: $dropdown-link-disabled-color;
|
|
81
|
+
pointer-events: none;
|
|
82
|
+
background-color: transparent;
|
|
83
|
+
// Remove CSS gradients if they're enabled
|
|
84
|
+
background-image: if($enable-gradients, none, null);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
3
|
+
%form-control {
|
|
4
|
+
display: block;
|
|
5
|
+
width: 100%;
|
|
6
|
+
padding: $input-padding-y $input-padding-x;
|
|
7
|
+
font-family: $input-font-family;
|
|
8
|
+
@include font-size($input-font-size);
|
|
9
|
+
font-weight: $input-font-weight;
|
|
10
|
+
line-height: $input-line-height;
|
|
11
|
+
color: $input-color;
|
|
12
|
+
background-color: $input-bg;
|
|
13
|
+
background-clip: padding-box;
|
|
14
|
+
border: $input-border-width solid $input-border-color;
|
|
15
|
+
appearance: none; // Fix appearance for date inputs in Safari
|
|
16
|
+
|
|
17
|
+
// Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS.
|
|
18
|
+
@include border-radius($input-border-radius, 0);
|
|
19
|
+
|
|
20
|
+
@include box-shadow($input-box-shadow);
|
|
21
|
+
@include transition($input-transition);
|
|
22
|
+
|
|
23
|
+
&[type="file"] {
|
|
24
|
+
overflow: hidden; // prevent pseudo element button overlap
|
|
25
|
+
|
|
26
|
+
&:not(:disabled):not([readonly]) {
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// Customize the `:focus` state to imitate native WebKit styles.
|
|
32
|
+
&:focus {
|
|
33
|
+
color: $input-focus-color;
|
|
34
|
+
background-color: $input-focus-bg;
|
|
35
|
+
border-color: $input-focus-border-color;
|
|
36
|
+
outline: 0;
|
|
37
|
+
@if $enable-shadows {
|
|
38
|
+
@include box-shadow($input-box-shadow, $input-focus-box-shadow);
|
|
39
|
+
} @else {
|
|
40
|
+
// Avoid using mixin so we can pass custom focus shadow properly
|
|
41
|
+
box-shadow: $input-focus-box-shadow;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// Add some height to date inputs on iOS
|
|
46
|
+
// https://github.com/twbs/bootstrap/issues/23307
|
|
47
|
+
// TODO: we can remove this workaround once https://bugs.webkit.org/show_bug.cgi?id=198959 is resolved
|
|
48
|
+
&::-webkit-date-and-time-value {
|
|
49
|
+
// Multiply line-height by 1em if it has no unit
|
|
50
|
+
height: if(unit($input-line-height) == "", $input-line-height * 1em, $input-line-height);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// Placeholder
|
|
54
|
+
&::placeholder {
|
|
55
|
+
color: $input-placeholder-color;
|
|
56
|
+
// Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526.
|
|
57
|
+
opacity: 1;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Disabled and read-only inputs
|
|
61
|
+
//
|
|
62
|
+
// HTML5 says that controls under a fieldset > legend:first-child won't be
|
|
63
|
+
// disabled if the fieldset is disabled. Due to implementation difficulty, we
|
|
64
|
+
// don't honor that edge case; we style them as disabled anyway.
|
|
65
|
+
&:disabled,
|
|
66
|
+
&[readonly] {
|
|
67
|
+
background-color: $input-disabled-bg;
|
|
68
|
+
border-color: $input-disabled-border-color;
|
|
69
|
+
// iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655.
|
|
70
|
+
opacity: 1;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// File input buttons theming
|
|
74
|
+
&::file-selector-button {
|
|
75
|
+
padding: $input-padding-y $input-padding-x;
|
|
76
|
+
margin: (-$input-padding-y) (-$input-padding-x);
|
|
77
|
+
margin-inline-end: $input-padding-x;
|
|
78
|
+
color: $form-file-button-color;
|
|
79
|
+
@include gradient-bg($form-file-button-bg);
|
|
80
|
+
pointer-events: none;
|
|
81
|
+
border-color: inherit;
|
|
82
|
+
border-style: solid;
|
|
83
|
+
border-width: 0;
|
|
84
|
+
border-inline-end-width: $input-border-width;
|
|
85
|
+
border-radius: 0; // stylelint-disable-line property-disallowed-list
|
|
86
|
+
@include transition($btn-transition);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&:hover:not(:disabled):not([readonly])::file-selector-button {
|
|
90
|
+
background-color: $form-file-button-hover-bg;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&::-webkit-file-upload-button {
|
|
94
|
+
padding: $input-padding-y $input-padding-x;
|
|
95
|
+
margin: (-$input-padding-y) (-$input-padding-x);
|
|
96
|
+
margin-inline-end: $input-padding-x;
|
|
97
|
+
color: $form-file-button-color;
|
|
98
|
+
@include gradient-bg($form-file-button-bg);
|
|
99
|
+
pointer-events: none;
|
|
100
|
+
border-color: inherit;
|
|
101
|
+
border-style: solid;
|
|
102
|
+
border-width: 0;
|
|
103
|
+
border-inline-end-width: $input-border-width;
|
|
104
|
+
border-radius: 0; // stylelint-disable-line property-disallowed-list
|
|
105
|
+
@include transition($btn-transition);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&:hover:not(:disabled):not([readonly])::-webkit-file-upload-button {
|
|
109
|
+
background-color: $form-file-button-hover-bg;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// Form control sizing
|
|
114
|
+
//
|
|
115
|
+
// Build on `.form-control` with modifier classes to decrease or increase the
|
|
116
|
+
// height and font-size of form controls.
|
|
117
|
+
//
|
|
118
|
+
// Repeated in `_input_group.scss` to avoid Sass extend issues.
|
|
119
|
+
|
|
120
|
+
%form-control-sm {
|
|
121
|
+
min-height: $input-height-sm;
|
|
122
|
+
padding: $input-padding-y-sm $input-padding-x-sm;
|
|
123
|
+
//@include font-size($input-font-size-sm);
|
|
124
|
+
@include font-size($input-font-size);
|
|
125
|
+
@include border-radius($input-border-radius-sm);
|
|
126
|
+
|
|
127
|
+
&::file-selector-button {
|
|
128
|
+
padding: $input-padding-y-sm $input-padding-x-sm;
|
|
129
|
+
margin: (-$input-padding-y-sm) (-$input-padding-x-sm);
|
|
130
|
+
margin-inline-end: $input-padding-x-sm;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&::-webkit-file-upload-button {
|
|
134
|
+
padding: $input-padding-y-sm $input-padding-x-sm;
|
|
135
|
+
margin: (-$input-padding-y-sm) (-$input-padding-x-sm);
|
|
136
|
+
margin-inline-end: $input-padding-x-sm;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
%form-text {
|
|
141
|
+
margin-top: $form-text-margin-top;
|
|
142
|
+
@include font-size($form-text-font-size);
|
|
143
|
+
font-style: $form-text-font-style;
|
|
144
|
+
font-weight: $form-text-font-weight;
|
|
145
|
+
color: $form-text-color;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
%form-label {
|
|
149
|
+
margin-bottom: $form-label-margin-bottom;
|
|
150
|
+
@include font-size($form-label-font-size);
|
|
151
|
+
font-style: $form-label-font-style;
|
|
152
|
+
font-weight: $form-label-font-weight;
|
|
153
|
+
color: $form-label-color;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
%form-invalid {
|
|
157
|
+
border-color: $danger;
|
|
158
|
+
&:focus {
|
|
159
|
+
border-color: $danger;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
3
|
+
// Interactive list items
|
|
4
|
+
//
|
|
5
|
+
// Use anchor or button elements instead of `li`s or `div`s to create interactive
|
|
6
|
+
// list items. Includes an extra `.active` modifier class for selected items.
|
|
7
|
+
|
|
8
|
+
%list-group-item-action {
|
|
9
|
+
width: 100%; // For `<button>`s (anchors become 100% by default though)
|
|
10
|
+
color: $list-group-action-color;
|
|
11
|
+
text-align: inherit; // For `<button>`s (anchors inherit)
|
|
12
|
+
|
|
13
|
+
// Hover state
|
|
14
|
+
&:hover,
|
|
15
|
+
&:focus {
|
|
16
|
+
z-index: 1; // Place hover/focus items above their siblings for proper border styling
|
|
17
|
+
color: $list-group-action-hover-color;
|
|
18
|
+
text-decoration: none;
|
|
19
|
+
background-color: $list-group-hover-bg;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&:active {
|
|
23
|
+
color: $list-group-action-active-color;
|
|
24
|
+
background-color: $list-group-action-active-bg;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
// Individual list items
|
|
30
|
+
//
|
|
31
|
+
// Use on `li`s or `div`s within the `.list-group` parent.
|
|
32
|
+
|
|
33
|
+
%list-group-item {
|
|
34
|
+
position: relative;
|
|
35
|
+
display: block;
|
|
36
|
+
padding: $list-group-item-padding-y $list-group-item-padding-x;
|
|
37
|
+
color: $list-group-color;
|
|
38
|
+
text-decoration: if($link-decoration == none, null, none);
|
|
39
|
+
background-color: $list-group-bg;
|
|
40
|
+
border: $list-group-border-width solid $list-group-border-color;
|
|
41
|
+
|
|
42
|
+
&:first-child {
|
|
43
|
+
@include border-top-radius(inherit);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:last-child {
|
|
47
|
+
@include border-bottom-radius(inherit);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.disabled,
|
|
51
|
+
&:disabled {
|
|
52
|
+
color: $list-group-disabled-color;
|
|
53
|
+
pointer-events: none;
|
|
54
|
+
background-color: $list-group-disabled-bg;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Include both here for `<a>`s and `<button>`s
|
|
58
|
+
&.active {
|
|
59
|
+
z-index: 2; // Place active items above their siblings for proper border styling
|
|
60
|
+
color: $list-group-active-color;
|
|
61
|
+
background-color: $list-group-active-bg;
|
|
62
|
+
border-color: $list-group-active-border-color;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
& + & {
|
|
66
|
+
border-top-width: 0;
|
|
67
|
+
|
|
68
|
+
&.active {
|
|
69
|
+
margin-top: -$list-group-border-width;
|
|
70
|
+
border-top-width: $list-group-border-width;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
3
|
+
%table {
|
|
4
|
+
--#{$variable-prefix}table-bg: #{$table-bg};
|
|
5
|
+
--#{$variable-prefix}table-accent-bg: #{$table-accent-bg};
|
|
6
|
+
--#{$variable-prefix}table-striped-color: #{$table-striped-color};
|
|
7
|
+
--#{$variable-prefix}table-striped-bg: #{$table-striped-bg};
|
|
8
|
+
--#{$variable-prefix}table-active-color: #{$table-active-color};
|
|
9
|
+
--#{$variable-prefix}table-active-bg: #{$table-active-bg};
|
|
10
|
+
--#{$variable-prefix}table-hover-color: #{$table-hover-color};
|
|
11
|
+
--#{$variable-prefix}table-hover-bg: #{$table-hover-bg};
|
|
12
|
+
|
|
13
|
+
width: 100%;
|
|
14
|
+
margin-bottom: $spacer;
|
|
15
|
+
color: $table-color;
|
|
16
|
+
vertical-align: $table-cell-vertical-align;
|
|
17
|
+
border-color: $table-border-color;
|
|
18
|
+
|
|
19
|
+
// Target th & td
|
|
20
|
+
// We need the child combinator to prevent styles leaking to nested tables which doesn't have a `.table` class.
|
|
21
|
+
// We use the universal selectors here to simplify the selector (else we would need 6 different selectors).
|
|
22
|
+
// Another advantage is that this generates less code and makes the selector less specific making it easier to override.
|
|
23
|
+
// stylelint-disable-next-line selector-max-universal
|
|
24
|
+
> :not(caption) > * > * {
|
|
25
|
+
padding: $table-cell-padding-y $table-cell-padding-x;
|
|
26
|
+
background-color: var(--#{$variable-prefix}table-bg);
|
|
27
|
+
border-bottom-width: $table-border-width;
|
|
28
|
+
box-shadow: inset 0 0 0 9999px var(--#{$variable-prefix}table-accent-bg);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
> tbody {
|
|
32
|
+
vertical-align: inherit;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
> thead {
|
|
36
|
+
vertical-align: bottom;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
%table-hover {
|
|
42
|
+
> tbody > tr:hover > * {
|
|
43
|
+
--#{$variable-prefix}table-accent-bg: var(--#{$variable-prefix}table-hover-bg);
|
|
44
|
+
color: var(--#{$variable-prefix}table-hover-color);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
// Based on http://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic
|
|
2
|
+
|
|
3
|
+
// Normal
|
|
4
|
+
@font-face {
|
|
5
|
+
font-family: 'Roboto';
|
|
6
|
+
font-style: normal;
|
|
7
|
+
font-weight: 100;
|
|
8
|
+
src: local('Roboto Thin'), local('Roboto-Thin'), local("sans-serif-thin");
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@font-face {
|
|
12
|
+
font-family: 'Roboto';
|
|
13
|
+
font-style: normal;
|
|
14
|
+
font-weight: 200;
|
|
15
|
+
src: local('Roboto Light'), local('Roboto-Light'), local("sans-serif-light");
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@font-face {
|
|
19
|
+
font-family: 'Roboto';
|
|
20
|
+
font-style: normal;
|
|
21
|
+
font-weight: 300;
|
|
22
|
+
src: local('Roboto Light'), local('Roboto-Light'), local("sans-serif-light");
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@font-face {
|
|
26
|
+
font-family: 'Roboto';
|
|
27
|
+
font-style: normal;
|
|
28
|
+
font-weight: 400;
|
|
29
|
+
src: local('Roboto'), local('Roboto-Regular'), local("sans-serif");
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@font-face {
|
|
33
|
+
font-family: 'Roboto';
|
|
34
|
+
font-style: normal;
|
|
35
|
+
font-weight: 500;
|
|
36
|
+
src: local('Roboto Medium'), local('Roboto-Medium'), local("sans-serif-medium");
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@font-face {
|
|
40
|
+
font-family: 'Roboto';
|
|
41
|
+
font-style: normal;
|
|
42
|
+
font-weight: 600;
|
|
43
|
+
src: local('Roboto Medium'), local('Roboto-Medium'), local("sans-serif-medium");
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@font-face {
|
|
47
|
+
font-family: 'Roboto';
|
|
48
|
+
font-style: normal;
|
|
49
|
+
font-weight: 700;
|
|
50
|
+
src: local('Roboto Bold'), local('Roboto-Bold'), local("sans-serif");
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@font-face {
|
|
54
|
+
font-family: 'Roboto';
|
|
55
|
+
font-style: normal;
|
|
56
|
+
font-weight: 800;
|
|
57
|
+
src: local('Roboto Black'), local('Roboto-Black'), local("sans-serif-black");
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@font-face {
|
|
61
|
+
font-family: 'Roboto';
|
|
62
|
+
font-style: normal;
|
|
63
|
+
font-weight: 900;
|
|
64
|
+
src: local('Roboto Black'), local('Roboto-Black'), local("sans-serif-black");
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// Italic
|
|
68
|
+
@font-face {
|
|
69
|
+
font-family: 'Roboto';
|
|
70
|
+
font-style: italic;
|
|
71
|
+
font-weight: 100;
|
|
72
|
+
src: local('Roboto Thin Italic'), local('Roboto-ThinItalic'), local("sans-serif-thin");
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@font-face {
|
|
76
|
+
font-family: 'Roboto';
|
|
77
|
+
font-style: italic;
|
|
78
|
+
font-weight: 200;
|
|
79
|
+
src: local('Roboto Light Italic'), local('Roboto-LightItalic'), local("sans-serif-light");
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@font-face {
|
|
83
|
+
font-family: 'Roboto';
|
|
84
|
+
font-style: italic;
|
|
85
|
+
font-weight: 300;
|
|
86
|
+
src: local('Roboto Light Italic'), local('Roboto-LightItalic'), local("sans-serif-light");
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@font-face {
|
|
90
|
+
font-family: 'Roboto';
|
|
91
|
+
font-style: italic;
|
|
92
|
+
font-weight: 400;
|
|
93
|
+
src: local('Roboto Italic'), local('Roboto-Italic'), local("sans-serif");
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@font-face {
|
|
97
|
+
font-family: 'Roboto';
|
|
98
|
+
font-style: italic;
|
|
99
|
+
font-weight: 500;
|
|
100
|
+
src: local('Roboto Medium Italic'), local('Roboto-MediumItalic'), local("sans-serif-medium");
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@font-face {
|
|
104
|
+
font-family: 'Roboto';
|
|
105
|
+
font-style: italic;
|
|
106
|
+
font-weight: 600;
|
|
107
|
+
src: local('Roboto Medium Italic'), local('Roboto-MediumItalic'), local("sans-serif-medium");
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@font-face {
|
|
111
|
+
font-family: 'Roboto';
|
|
112
|
+
font-style: italic;
|
|
113
|
+
font-weight: 700;
|
|
114
|
+
src: local('Roboto Bold Italic'), local('Roboto-BoldItalic'), local("sans-serif");
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@font-face {
|
|
118
|
+
font-family: 'Roboto';
|
|
119
|
+
font-style: italic;
|
|
120
|
+
font-weight: 800;
|
|
121
|
+
src: local('Roboto Black Italic'), local('Roboto-BlackItalic'), local("sans-serif-black");
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
@font-face {
|
|
125
|
+
font-family: 'Roboto';
|
|
126
|
+
font-style: italic;
|
|
127
|
+
font-weight: 900;
|
|
128
|
+
src: local('Roboto Black Italic'), local('Roboto-BlackItalic'), local("sans-serif-black");
|
|
129
|
+
}
|