@saooti/octopus-sdk 1.0.0 → 29.0.2
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/README.md +73 -0
- package/index.d.ts +4 -0
- package/index.ts +12 -0
- package/package.json +61 -39
- package/public/css/fonts/saooti-ui.eot +0 -0
- package/public/css/fonts/saooti-ui.svg +30 -19
- package/public/css/fonts/saooti-ui.ttf +0 -0
- package/public/css/fonts/saooti-ui.woff +0 -0
- package/public/css/fonts/style.css +48 -5
- package/public/img/ACPM.png +0 -0
- package/public/img/article.png +0 -0
- package/src/App.vue +97 -31
- package/src/api/comments.ts +3 -1
- package/src/api/emissions.ts +5 -2
- package/src/api/initialize.ts +3 -2
- package/src/api/podcasts.ts +5 -2
- package/src/api/profile.ts +4 -2
- package/src/api/studio.ts +12 -1
- package/src/assets/bootstrap-diff.scss +265 -0
- package/src/assets/form.scss +23 -0
- package/src/assets/general.scss +47 -20
- package/src/assets/modal.scss +9 -10
- package/src/assets/multiselect.scss +19 -2
- package/src/assets/octopus-library.scss +16 -4
- package/src/assets/share.scss +343 -0
- package/src/components/display/aggregator/RssSection.vue +4 -4
- package/src/components/display/categories/CategoryChooser.vue +152 -105
- package/src/components/display/categories/CategoryFilter.vue +108 -0
- package/src/components/display/categories/CategoryList.vue +138 -109
- package/src/components/display/comments/AddCommentModal.vue +104 -87
- package/src/components/display/comments/CommentInput.vue +137 -118
- package/src/components/display/comments/CommentItem.vue +155 -137
- package/src/components/display/comments/CommentList.vue +142 -120
- package/src/components/display/comments/CommentParentInfo.vue +39 -35
- package/src/components/display/comments/CommentPlayer.vue +54 -48
- package/src/components/display/comments/CommentSection.vue +57 -58
- package/src/components/display/edit/EditBox.vue +4 -4
- package/src/components/display/edit/EditCommentBox.vue +25 -31
- package/src/components/display/emission/EmissionChooser.vue +82 -80
- package/src/components/display/emission/EmissionInlineList.vue +118 -105
- package/src/components/display/emission/EmissionItem.vue +66 -167
- package/src/components/display/emission/EmissionList.vue +96 -122
- package/src/components/display/emission/EmissionPlayerItem.vue +131 -126
- package/src/components/display/filter/AdvancedSearch.vue +306 -372
- package/src/components/display/filter/CategoryFilter.vue +117 -0
- package/src/components/display/filter/MonetizableFilter.vue +24 -10
- package/src/components/display/filter/ProductorSearch.vue +131 -135
- package/src/components/display/filter/RubriqueChoice.vue +104 -0
- package/src/components/display/filter/RubriqueFilter.vue +235 -0
- package/src/components/display/live/CountDown.vue +30 -29
- package/src/components/display/live/LiveHorizontalList.vue +40 -34
- package/src/components/display/live/LiveItem.vue +146 -158
- package/src/components/display/live/LiveList.vue +167 -154
- package/src/components/display/organisation/OrganisationChooser.vue +125 -124
- package/src/components/display/organisation/OrganisationChooserLight.vue +40 -47
- package/src/components/display/participant/ParticipantItem.vue +92 -108
- package/src/components/display/participant/ParticipantList.vue +76 -69
- package/src/components/display/playlist/PlaylistItem.vue +45 -56
- package/src/components/display/playlist/PlaylistList.vue +57 -48
- package/src/components/display/playlist/PodcastList.vue +94 -70
- package/src/components/display/podcasts/AnimatorsItem.vue +26 -23
- package/src/components/display/podcasts/ParticipantDescription.vue +115 -0
- package/src/components/display/podcasts/PodcastFilterList.vue +84 -85
- package/src/components/display/podcasts/PodcastImage.vue +244 -208
- package/src/components/display/podcasts/PodcastInlineList.vue +145 -207
- package/src/components/display/podcasts/PodcastItem.vue +150 -132
- package/src/components/display/podcasts/PodcastList.vue +89 -110
- package/src/components/display/podcasts/TagList.vue +23 -16
- package/src/components/display/rubriques/RubriqueChooser.vue +137 -123
- package/src/components/display/rubriques/RubriqueList.vue +227 -0
- package/src/components/display/sharing/PlayerParameters.vue +154 -106
- package/src/components/display/sharing/QrCode.vue +58 -0
- package/src/components/display/sharing/ShareButtons.vue +214 -92
- package/src/components/display/sharing/ShareDistribution.vue +110 -121
- package/src/components/display/sharing/SharePlayer.vue +245 -190
- package/src/components/display/sharing/SubscribeButtons.vue +130 -66
- package/src/components/display/studio/RecordingItemButton.vue +4 -4
- package/src/components/misc/ErrorMessage.vue +21 -16
- package/src/components/misc/Footer.vue +131 -66
- package/src/components/misc/HomeDropdown.vue +166 -123
- package/src/components/misc/LeftMenu.vue +151 -134
- package/src/components/misc/Player.vue +332 -328
- package/src/components/misc/Snackbar.vue +27 -29
- package/src/components/misc/TopBar.vue +204 -174
- package/src/components/misc/modal/ClipboardModal.vue +46 -26
- package/src/components/misc/modal/MessageModal.vue +67 -51
- package/src/components/misc/modal/NewsletterModal.vue +179 -136
- package/src/components/misc/modal/QrCodeModal.vue +83 -0
- package/src/components/misc/modal/ShareModalPlayer.vue +133 -74
- package/src/components/mixins/functions.ts +21 -18
- package/src/components/mixins/init.ts +24 -0
- package/src/components/mixins/organisationFilter.ts +24 -0
- package/src/components/pages/Category.vue +26 -26
- package/src/components/pages/Emission.vue +120 -92
- package/src/components/pages/Emissions.vue +109 -86
- package/src/components/pages/Home.vue +70 -16
- package/src/components/pages/Lives.vue +57 -47
- package/src/components/pages/Participant.vue +93 -77
- package/src/components/pages/Participants.vue +44 -31
- package/src/components/pages/Playlist.vue +63 -52
- package/src/components/pages/Playlists.vue +41 -39
- package/src/components/pages/Podcast.vue +265 -251
- package/src/components/pages/Podcasts.vue +135 -104
- package/src/components/pages/Rubrique.vue +25 -19
- package/src/components/pages/Search.vue +71 -67
- package/src/helper/dom.ts +2 -2
- package/src/helper/duration.ts +18 -8
- package/src/locale/educationen.ts +14 -0
- package/src/locale/en.ts +299 -1
- package/src/locale/fr.ts +25 -10
- package/src/locale/messages.ts +3 -2
- package/src/main.ts +54 -32
- package/src/router/router.ts +184 -159
- package/src/shims-tsx.d.ts +13 -0
- package/src/shims-vue-recaptcha-v3.d.ts +9 -0
- package/src/shims-vue.d.ts +5 -6
- package/src/store/AppStore.ts +36 -171
- package/src/store/class/category.ts +8 -0
- package/src/store/class/comment.ts +17 -0
- package/src/store/class/conference.ts +27 -0
- package/src/store/class/customPlayer.ts +8 -0
- package/src/store/class/emission.ts +20 -0
- package/src/store/class/fetchParam.ts +16 -0
- package/src/store/class/media.ts +13 -0
- package/src/store/class/organisation.ts +19 -0
- package/src/store/class/participant.ts +12 -0
- package/src/store/class/person.ts +13 -0
- package/src/store/class/player.ts +12 -0
- package/src/store/class/playlist.ts +15 -0
- package/src/store/class/podcast.ts +37 -0
- package/src/store/class/rubriquage.ts +9 -0
- package/src/store/class/rubriquageFilter.ts +5 -0
- package/src/store/class/rubrique.ts +8 -0
- package/src/store/paramStore.ts +70 -29
- package/src/store/typeAppStore.ts +171 -237
- package/src/vuex-shim.d.ts +8 -0
- package/tsconfig.json +4 -0
- package/vue.config.js +14 -0
- package/public/img/ACPM.PNG +0 -0
- package/src/assets/bootstrap_scss/_alert.scss +0 -51
- package/src/assets/bootstrap_scss/_badge.scss +0 -54
- package/src/assets/bootstrap_scss/_breadcrumb.scss +0 -42
- package/src/assets/bootstrap_scss/_button-group.scss +0 -164
- package/src/assets/bootstrap_scss/_buttons.scss +0 -291
- package/src/assets/bootstrap_scss/_card.scss +0 -278
- package/src/assets/bootstrap_scss/_carousel.scss +0 -197
- package/src/assets/bootstrap_scss/_close.scss +0 -41
- package/src/assets/bootstrap_scss/_code.scss +0 -48
- package/src/assets/bootstrap_scss/_custom-forms.scss +0 -522
- package/src/assets/bootstrap_scss/_dropdown.scss +0 -201
- package/src/assets/bootstrap_scss/_forms.scss +0 -352
- package/src/assets/bootstrap_scss/_functions.scss +0 -134
- package/src/assets/bootstrap_scss/_grid.scss +0 -69
- package/src/assets/bootstrap_scss/_images.scss +0 -42
- package/src/assets/bootstrap_scss/_input-group.scss +0 -191
- package/src/assets/bootstrap_scss/_jumbotron.scss +0 -17
- package/src/assets/bootstrap_scss/_list-group.scss +0 -158
- package/src/assets/bootstrap_scss/_media.scss +0 -8
- package/src/assets/bootstrap_scss/_mixins.scss +0 -47
- package/src/assets/bootstrap_scss/_modal.scss +0 -243
- package/src/assets/bootstrap_scss/_nav.scss +0 -120
- package/src/assets/bootstrap_scss/_navbar.scss +0 -324
- package/src/assets/bootstrap_scss/_pagination.scss +0 -74
- package/src/assets/bootstrap_scss/_popover.scss +0 -170
- package/src/assets/bootstrap_scss/_print.scss +0 -141
- package/src/assets/bootstrap_scss/_progress.scss +0 -46
- package/src/assets/bootstrap_scss/_reboot.scss +0 -482
- package/src/assets/bootstrap_scss/_root.scss +0 -20
- package/src/assets/bootstrap_scss/_spinners.scss +0 -55
- package/src/assets/bootstrap_scss/_tables.scss +0 -185
- package/src/assets/bootstrap_scss/_toasts.scss +0 -44
- package/src/assets/bootstrap_scss/_tooltip.scss +0 -115
- package/src/assets/bootstrap_scss/_transitions.scss +0 -20
- package/src/assets/bootstrap_scss/_type.scss +0 -125
- package/src/assets/bootstrap_scss/_utilities.scss +0 -17
- package/src/assets/bootstrap_scss/_variables.scss +0 -1145
- package/src/assets/bootstrap_scss/bootstrap-grid.scss +0 -29
- package/src/assets/bootstrap_scss/bootstrap-reboot.scss +0 -12
- package/src/assets/bootstrap_scss/bootstrap.scss +0 -44
- package/src/assets/bootstrap_scss/mixins/_alert.scss +0 -13
- package/src/assets/bootstrap_scss/mixins/_background-variant.scss +0 -22
- package/src/assets/bootstrap_scss/mixins/_badge.scss +0 -17
- package/src/assets/bootstrap_scss/mixins/_border-radius.scss +0 -63
- package/src/assets/bootstrap_scss/mixins/_box-shadow.scss +0 -20
- package/src/assets/bootstrap_scss/mixins/_breakpoints.scss +0 -123
- package/src/assets/bootstrap_scss/mixins/_buttons.scss +0 -110
- package/src/assets/bootstrap_scss/mixins/_caret.scss +0 -62
- package/src/assets/bootstrap_scss/mixins/_clearfix.scss +0 -7
- package/src/assets/bootstrap_scss/mixins/_deprecate.scss +0 -10
- package/src/assets/bootstrap_scss/mixins/_float.scss +0 -14
- package/src/assets/bootstrap_scss/mixins/_forms.scss +0 -177
- package/src/assets/bootstrap_scss/mixins/_gradients.scss +0 -45
- package/src/assets/bootstrap_scss/mixins/_grid-framework.scss +0 -71
- package/src/assets/bootstrap_scss/mixins/_grid.scss +0 -69
- package/src/assets/bootstrap_scss/mixins/_hover.scss +0 -37
- package/src/assets/bootstrap_scss/mixins/_image.scss +0 -36
- package/src/assets/bootstrap_scss/mixins/_list-group.scss +0 -21
- package/src/assets/bootstrap_scss/mixins/_lists.scss +0 -7
- package/src/assets/bootstrap_scss/mixins/_nav-divider.scss +0 -11
- package/src/assets/bootstrap_scss/mixins/_pagination.scss +0 -22
- package/src/assets/bootstrap_scss/mixins/_reset-text.scss +0 -17
- package/src/assets/bootstrap_scss/mixins/_resize.scss +0 -6
- package/src/assets/bootstrap_scss/mixins/_screen-reader.scss +0 -34
- package/src/assets/bootstrap_scss/mixins/_size.scss +0 -7
- package/src/assets/bootstrap_scss/mixins/_table-row.scss +0 -39
- package/src/assets/bootstrap_scss/mixins/_text-emphasis.scss +0 -17
- package/src/assets/bootstrap_scss/mixins/_text-hide.scss +0 -11
- package/src/assets/bootstrap_scss/mixins/_text-truncate.scss +0 -8
- package/src/assets/bootstrap_scss/mixins/_transition.scss +0 -16
- package/src/assets/bootstrap_scss/mixins/_visibility.scss +0 -8
- package/src/assets/bootstrap_scss/utilities/_align.scss +0 -8
- package/src/assets/bootstrap_scss/utilities/_background.scss +0 -19
- package/src/assets/bootstrap_scss/utilities/_borders.scss +0 -75
- package/src/assets/bootstrap_scss/utilities/_clearfix.scss +0 -3
- package/src/assets/bootstrap_scss/utilities/_display.scss +0 -26
- package/src/assets/bootstrap_scss/utilities/_embed.scss +0 -39
- package/src/assets/bootstrap_scss/utilities/_flex.scss +0 -51
- package/src/assets/bootstrap_scss/utilities/_float.scss +0 -11
- package/src/assets/bootstrap_scss/utilities/_overflow.scss +0 -5
- package/src/assets/bootstrap_scss/utilities/_position.scss +0 -32
- package/src/assets/bootstrap_scss/utilities/_screenreaders.scss +0 -11
- package/src/assets/bootstrap_scss/utilities/_shadows.scss +0 -6
- package/src/assets/bootstrap_scss/utilities/_sizing.scss +0 -20
- package/src/assets/bootstrap_scss/utilities/_spacing.scss +0 -73
- package/src/assets/bootstrap_scss/utilities/_stretched-link.scss +0 -19
- package/src/assets/bootstrap_scss/utilities/_text.scss +0 -72
- package/src/assets/bootstrap_scss/utilities/_visibility.scss +0 -13
- package/src/assets/bootstrap_scss/vendor/_rfs.scss +0 -204
- package/src/shims-vuex.d.ts +0 -7
- package/src/views/Home.vue +0 -18
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
.breadcrumb {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-wrap: wrap;
|
|
4
|
-
padding: $breadcrumb-padding-y $breadcrumb-padding-x;
|
|
5
|
-
margin-bottom: $breadcrumb-margin-bottom;
|
|
6
|
-
@include font-size($breadcrumb-font-size);
|
|
7
|
-
list-style: none;
|
|
8
|
-
background-color: $breadcrumb-bg;
|
|
9
|
-
@include border-radius($breadcrumb-border-radius);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.breadcrumb-item {
|
|
13
|
-
// The separator between breadcrumbs (by default, a forward-slash: "/")
|
|
14
|
-
+ .breadcrumb-item {
|
|
15
|
-
padding-left: $breadcrumb-item-padding;
|
|
16
|
-
|
|
17
|
-
&::before {
|
|
18
|
-
display: inline-block; // Suppress underlining of the separator in modern browsers
|
|
19
|
-
padding-right: $breadcrumb-item-padding;
|
|
20
|
-
color: $breadcrumb-divider-color;
|
|
21
|
-
content: escape-svg($breadcrumb-divider);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built
|
|
26
|
-
// without `<ul>`s. The `::before` pseudo-element generates an element
|
|
27
|
-
// *within* the .breadcrumb-item and thereby inherits the `text-decoration`.
|
|
28
|
-
//
|
|
29
|
-
// To trick IE into suppressing the underline, we give the pseudo-element an
|
|
30
|
-
// underline and then immediately remove it.
|
|
31
|
-
+ .breadcrumb-item:hover::before {
|
|
32
|
-
text-decoration: underline;
|
|
33
|
-
}
|
|
34
|
-
// stylelint-disable-next-line no-duplicate-selectors
|
|
35
|
-
+ .breadcrumb-item:hover::before {
|
|
36
|
-
text-decoration: none;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&.active {
|
|
40
|
-
color: $breadcrumb-active-color;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
// stylelint-disable selector-no-qualifying-type
|
|
2
|
-
|
|
3
|
-
// Make the div behave like a button
|
|
4
|
-
.btn-group,
|
|
5
|
-
.btn-group-vertical {
|
|
6
|
-
position: relative;
|
|
7
|
-
display: inline-flex;
|
|
8
|
-
vertical-align: middle; // match .btn alignment given font-size hack above
|
|
9
|
-
|
|
10
|
-
> .btn {
|
|
11
|
-
position: relative;
|
|
12
|
-
flex: 1 1 auto;
|
|
13
|
-
|
|
14
|
-
// Bring the hover, focused, and "active" buttons to the front to overlay
|
|
15
|
-
// the borders properly
|
|
16
|
-
@include hover() {
|
|
17
|
-
z-index: 1;
|
|
18
|
-
}
|
|
19
|
-
&:focus,
|
|
20
|
-
&:active,
|
|
21
|
-
&.active {
|
|
22
|
-
z-index: 1;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// Optional: Group multiple button groups together for a toolbar
|
|
28
|
-
.btn-toolbar {
|
|
29
|
-
display: flex;
|
|
30
|
-
flex-wrap: wrap;
|
|
31
|
-
justify-content: flex-start;
|
|
32
|
-
|
|
33
|
-
.input-group {
|
|
34
|
-
width: auto;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.btn-group {
|
|
39
|
-
// Prevent double borders when buttons are next to each other
|
|
40
|
-
> .btn:not(:first-child),
|
|
41
|
-
> .btn-group:not(:first-child) {
|
|
42
|
-
margin-left: 5px;
|
|
43
|
-
display: flex;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// Reset rounded corners
|
|
47
|
-
> .btn:not(:last-child):not(.dropdown-toggle),
|
|
48
|
-
> .btn-group:not(:last-child) > .btn {
|
|
49
|
-
@include border-right-radius(0);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
> .btn:not(:first-child),
|
|
53
|
-
> .btn-group:not(:first-child) > .btn {
|
|
54
|
-
@include border-left-radius(0);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
// Sizing
|
|
59
|
-
//
|
|
60
|
-
// Remix the default button sizing classes into new ones for easier manipulation.
|
|
61
|
-
|
|
62
|
-
.btn-group-sm > .btn { @extend .btn-sm; }
|
|
63
|
-
.btn-group-lg > .btn { @extend .btn-lg; }
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
//
|
|
67
|
-
// Split button dropdowns
|
|
68
|
-
//
|
|
69
|
-
|
|
70
|
-
.dropdown-toggle-split {
|
|
71
|
-
padding-right: $btn-padding-x * .75;
|
|
72
|
-
padding-left: $btn-padding-x * .75;
|
|
73
|
-
|
|
74
|
-
&::after,
|
|
75
|
-
.dropup &::after,
|
|
76
|
-
.dropright &::after {
|
|
77
|
-
margin-left: 0;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.dropleft &::before {
|
|
81
|
-
margin-right: 0;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.btn-sm + .dropdown-toggle-split {
|
|
86
|
-
padding-right: $btn-padding-x-sm * .75;
|
|
87
|
-
padding-left: $btn-padding-x-sm * .75;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.btn-lg + .dropdown-toggle-split {
|
|
91
|
-
padding-right: $btn-padding-x-lg * .75;
|
|
92
|
-
padding-left: $btn-padding-x-lg * .75;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
// The clickable button for toggling the menu
|
|
97
|
-
// Set the same inset shadow as the :active state
|
|
98
|
-
.btn-group.show .dropdown-toggle {
|
|
99
|
-
@include box-shadow($btn-active-box-shadow);
|
|
100
|
-
|
|
101
|
-
// Show no shadow for `.btn-link` since it has no other button styles.
|
|
102
|
-
&.btn-link {
|
|
103
|
-
@include box-shadow(none);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
//
|
|
109
|
-
// Vertical button groups
|
|
110
|
-
//
|
|
111
|
-
|
|
112
|
-
.btn-group-vertical {
|
|
113
|
-
flex-direction: column;
|
|
114
|
-
align-items: flex-start;
|
|
115
|
-
justify-content: center;
|
|
116
|
-
|
|
117
|
-
> .btn,
|
|
118
|
-
> .btn-group {
|
|
119
|
-
width: 100%;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
> .btn:not(:first-child),
|
|
123
|
-
> .btn-group:not(:first-child) {
|
|
124
|
-
margin-top: -$btn-border-width;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
// Reset rounded corners
|
|
128
|
-
> .btn:not(:last-child):not(.dropdown-toggle),
|
|
129
|
-
> .btn-group:not(:last-child) > .btn {
|
|
130
|
-
@include border-bottom-radius(0);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
> .btn:not(:first-child),
|
|
134
|
-
> .btn-group:not(:first-child) > .btn {
|
|
135
|
-
@include border-top-radius(0);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
// Checkbox and radio options
|
|
141
|
-
//
|
|
142
|
-
// In order to support the browser's form validation feedback, powered by the
|
|
143
|
-
// `required` attribute, we have to "hide" the inputs via `clip`. We cannot use
|
|
144
|
-
// `display: none;` or `visibility: hidden;` as that also hides the popover.
|
|
145
|
-
// Simply visually hiding the inputs via `opacity` would leave them clickable in
|
|
146
|
-
// certain cases which is prevented by using `clip` and `pointer-events`.
|
|
147
|
-
// This way, we ensure a DOM element is visible to position the popover from.
|
|
148
|
-
//
|
|
149
|
-
// See https://github.com/twbs/bootstrap/pull/12794 and
|
|
150
|
-
// https://github.com/twbs/bootstrap/pull/14559 for more information.
|
|
151
|
-
|
|
152
|
-
.btn-group-toggle {
|
|
153
|
-
> .btn,
|
|
154
|
-
> .btn-group > .btn {
|
|
155
|
-
margin-bottom: 0; // Override default `<label>` value
|
|
156
|
-
|
|
157
|
-
input[type="radio"],
|
|
158
|
-
input[type="checkbox"] {
|
|
159
|
-
position: absolute;
|
|
160
|
-
clip: rect(0, 0, 0, 0);
|
|
161
|
-
pointer-events: none;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
@@ -1,291 +0,0 @@
|
|
|
1
|
-
// stylelint-disable selector-no-qualifying-type
|
|
2
|
-
|
|
3
|
-
// Buttons
|
|
4
|
-
.btn {
|
|
5
|
-
display: inline-block;
|
|
6
|
-
@include button-size($btn-padding-y, $btn-padding-x, $btn-font-size, $btn-line-height, $btn-border-radius);
|
|
7
|
-
@include transition($btn-transition);
|
|
8
|
-
|
|
9
|
-
background: $octopus-light-secondary-color ;
|
|
10
|
-
border: 0;
|
|
11
|
-
border-radius: 50px;
|
|
12
|
-
font-size: 0.7rem;
|
|
13
|
-
cursor: pointer;
|
|
14
|
-
text-align: center;
|
|
15
|
-
transition: background .2s, border .2s, box-shadow .2s, color .2s;
|
|
16
|
-
vertical-align: middle;
|
|
17
|
-
white-space: nowrap;
|
|
18
|
-
color: black;
|
|
19
|
-
@media (max-width: 500px){
|
|
20
|
-
white-space: unset;
|
|
21
|
-
}
|
|
22
|
-
&:hover,
|
|
23
|
-
&:focus,
|
|
24
|
-
&:active,
|
|
25
|
-
&.active {
|
|
26
|
-
outline: none !important;
|
|
27
|
-
box-shadow: none;
|
|
28
|
-
text-decoration: none;
|
|
29
|
-
}
|
|
30
|
-
&:hover{
|
|
31
|
-
background: rgba($octopus-primary-color, 0.3) ;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&[disabled],
|
|
35
|
-
&:disabled,
|
|
36
|
-
&.disabled {
|
|
37
|
-
cursor: default;
|
|
38
|
-
opacity: .5;
|
|
39
|
-
pointer-events: none;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// Button Primary
|
|
43
|
-
&.btn-primary {
|
|
44
|
-
background: $octopus-third-color;
|
|
45
|
-
background: -moz-linear-gradient(-45deg, $octopus-third-color 0%, $octopus-primary-color 100%);
|
|
46
|
-
background: -webkit-gradient(left top, right bottom, color-stop(0%, $octopus-third-color), color-stop(100%, $octopus-primary-color));
|
|
47
|
-
background: -webkit-linear-gradient(-45deg, $octopus-third-color 0%, $octopus-primary-color 100%);
|
|
48
|
-
background: -o-linear-gradient(-45deg, $octopus-third-color 0%, $octopus-primary-color 100%);
|
|
49
|
-
background: -ms-linear-gradient(-45deg, $octopus-third-color 0%, $octopus-primary-color 100%);
|
|
50
|
-
background: linear-gradient(135deg, $octopus-third-color 0%, $octopus-primary-color 100%);
|
|
51
|
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d6d91f', endColorstr='#50b685', GradientType=1 );
|
|
52
|
-
border-color: $octopus-primary-color;
|
|
53
|
-
border-radius: 50px;
|
|
54
|
-
height: auto;
|
|
55
|
-
border-bottom: 0 solid transparent;
|
|
56
|
-
color: white !important;
|
|
57
|
-
&:focus,
|
|
58
|
-
&:hover {
|
|
59
|
-
background:$octopus-third-color;
|
|
60
|
-
background: -moz-linear-gradient(-45deg, $octopus-third-color 0%, $octopus-primary-color 100%);
|
|
61
|
-
background: -webkit-gradient(left top, right bottom, color-stop(0%, $octopus-third-color), color-stop(100%, $octopus-primary-color));
|
|
62
|
-
background: -webkit-linear-gradient(-45deg, $octopus-third-color 0%, $octopus-primary-color 100%);
|
|
63
|
-
background: -o-linear-gradient(-45deg, $octopus-third-color 0%, $octopus-primary-color 100%);
|
|
64
|
-
background: -ms-linear-gradient(-45deg, $octopus-third-color 0%, $octopus-primary-color 100%);
|
|
65
|
-
background: linear-gradient(135deg, $octopus-third-color 0%, $octopus-primary-color 100%);
|
|
66
|
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d6d91f', endColorstr='#4fcf91', GradientType=1 );
|
|
67
|
-
border: 0;
|
|
68
|
-
}
|
|
69
|
-
&:active,
|
|
70
|
-
&.active {
|
|
71
|
-
background: darken($octopus-primary-color, 4%);
|
|
72
|
-
border-color: darken($octopus-primary-color, 7%);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
&.btn-light{
|
|
76
|
-
color: $octopus-primary-color;
|
|
77
|
-
background: transparent;
|
|
78
|
-
}
|
|
79
|
-
&.btn-auth{
|
|
80
|
-
&:focus,
|
|
81
|
-
&:hover {
|
|
82
|
-
background:$octopus-third-color;
|
|
83
|
-
background: -moz-linear-gradient(-45deg, $octopus-third-color 0%, $octopus-primary-color 100%);
|
|
84
|
-
background: -webkit-gradient(left top, right bottom, color-stop(0%, $octopus-third-color), color-stop(100%, $octopus-primary-color));
|
|
85
|
-
background: -webkit-linear-gradient(-45deg, $octopus-third-color 0%, $octopus-primary-color 100%);
|
|
86
|
-
background: -o-linear-gradient(-45deg, $octopus-third-color 0%, $octopus-primary-color 100%);
|
|
87
|
-
background: -ms-linear-gradient(-45deg, $octopus-third-color 0%, $octopus-primary-color 100%);
|
|
88
|
-
background: linear-gradient(135deg, $octopus-third-color 0%, $octopus-primary-color 100%);
|
|
89
|
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d6d91f', endColorstr='#4fcf91', GradientType=1 );
|
|
90
|
-
border: 0;
|
|
91
|
-
}
|
|
92
|
-
&:active,
|
|
93
|
-
&.active {
|
|
94
|
-
background: darken($octopus-primary-color, 4%);
|
|
95
|
-
border-color: darken($octopus-primary-color, 7%);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
//Button disable halo after click
|
|
99
|
-
.no-effect{
|
|
100
|
-
&:focus,
|
|
101
|
-
&:hover {
|
|
102
|
-
border-bottom: 0 !important;
|
|
103
|
-
outline: 0;
|
|
104
|
-
box-shadow: 0 0 0 0 transparent !important;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
&.btn-underline{
|
|
108
|
-
background: none;
|
|
109
|
-
padding: 0;
|
|
110
|
-
margin: 0 2rem 1rem 0;
|
|
111
|
-
border-radius: 0;
|
|
112
|
-
@media (max-width: 600px) {
|
|
113
|
-
margin: 0 1rem 1rem 0;
|
|
114
|
-
font-size: 0.8em;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
&.btn-arrow {
|
|
119
|
-
border-radius: 50px;
|
|
120
|
-
margin: 0.2rem;
|
|
121
|
-
width: 1.8rem;
|
|
122
|
-
height: 1.8rem;
|
|
123
|
-
background: $octopus-secondary-color;
|
|
124
|
-
padding: 0;
|
|
125
|
-
&:hover {
|
|
126
|
-
border: 0;
|
|
127
|
-
background: $octopus-secondary-color;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
&.btn-link {
|
|
132
|
-
background: $octopus-secondary-color;
|
|
133
|
-
color: $octopus-primary-color;
|
|
134
|
-
font-weight: bold;
|
|
135
|
-
margin: 2rem;
|
|
136
|
-
width: fit-content;
|
|
137
|
-
align-self: center;
|
|
138
|
-
&:focus,
|
|
139
|
-
&:hover,
|
|
140
|
-
&:active,
|
|
141
|
-
&.active {
|
|
142
|
-
background: darken($octopus-secondary-color, 5%);
|
|
143
|
-
color: $octopus-primary-color;
|
|
144
|
-
}
|
|
145
|
-
@media (max-width: 500px){
|
|
146
|
-
margin: 0.3rem;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
&.btn-linkPlus {
|
|
151
|
-
padding: 8px 16px;
|
|
152
|
-
font-size: 0.8rem;
|
|
153
|
-
border-radius: 50px;
|
|
154
|
-
background-color: #ddd;
|
|
155
|
-
color: #000;
|
|
156
|
-
box-shadow: none;
|
|
157
|
-
display: flex;
|
|
158
|
-
.saooti-plus{
|
|
159
|
-
line-height: 1.5 !important;
|
|
160
|
-
margin-left: 5px;
|
|
161
|
-
}
|
|
162
|
-
&:focus,
|
|
163
|
-
&:hover,
|
|
164
|
-
&:active,
|
|
165
|
-
&.active {
|
|
166
|
-
background: $octopus-primary-color;
|
|
167
|
-
color: white;
|
|
168
|
-
border: 1px solid $octopus-primary-color;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
&.btn-more{
|
|
173
|
-
background: $octopus-primary-color;
|
|
174
|
-
color: $octopus-background;
|
|
175
|
-
width: 2rem;
|
|
176
|
-
height: 2rem;
|
|
177
|
-
display: flex;
|
|
178
|
-
align-items: center;
|
|
179
|
-
justify-content: center;
|
|
180
|
-
border-radius: 50px;
|
|
181
|
-
margin: 1rem;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
&.btn-bigRound{
|
|
185
|
-
border: 1px #aaa solid;
|
|
186
|
-
background: none;
|
|
187
|
-
font-size: 3rem !important;
|
|
188
|
-
color: #666;
|
|
189
|
-
border-radius: 50%;
|
|
190
|
-
padding: 1rem;
|
|
191
|
-
margin-right: 1rem;
|
|
192
|
-
width: 5rem;
|
|
193
|
-
height: 5rem;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
&.admin-button {
|
|
197
|
-
padding: 0.3rem;
|
|
198
|
-
height: 1.8rem;
|
|
199
|
-
width: 1.8rem;
|
|
200
|
-
font-size: 1rem;
|
|
201
|
-
display: inline-flex;
|
|
202
|
-
align-items: center;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
.share-btn {
|
|
208
|
-
font-size: 1.3rem;
|
|
209
|
-
width: 2.5rem;
|
|
210
|
-
height: 2.5rem !important;
|
|
211
|
-
padding: 0.5rem;
|
|
212
|
-
display: inline-flex;
|
|
213
|
-
align-items: center;
|
|
214
|
-
justify-content: center;
|
|
215
|
-
}
|
|
216
|
-
.share-btn.m-3 {
|
|
217
|
-
margin: 0 1rem 0 0!important;
|
|
218
|
-
}
|
|
219
|
-
.btn-rss {
|
|
220
|
-
background: #ddd !important;
|
|
221
|
-
&:hover {
|
|
222
|
-
border: 0;
|
|
223
|
-
background: #ccc !important;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
.btn-facebook {
|
|
227
|
-
background: #d8dfea !important;
|
|
228
|
-
color: #3b5998 !important;
|
|
229
|
-
&:hover {
|
|
230
|
-
background: #afbdd4 !important;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
.btn-twitter {
|
|
234
|
-
background: #d2ecfc !important;
|
|
235
|
-
color: #1da1f2 !important;
|
|
236
|
-
&:hover {
|
|
237
|
-
background: #bbe3fb !important;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
.btn-linkedin {
|
|
241
|
-
background: #0077b550 !important;
|
|
242
|
-
color: #0077b5 !important;
|
|
243
|
-
&:hover {
|
|
244
|
-
background: #00a0dc !important;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
// Future-proof disabling of clicks on `<a>` elements
|
|
249
|
-
a.btn.disabled,
|
|
250
|
-
fieldset:disabled a.btn {
|
|
251
|
-
pointer-events: none;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
//
|
|
258
|
-
// Button Sizes
|
|
259
|
-
//
|
|
260
|
-
|
|
261
|
-
.btn-lg {
|
|
262
|
-
@include button-size($btn-padding-y-lg, $btn-padding-x-lg, $btn-font-size-lg, $btn-line-height-lg, $btn-border-radius-lg);
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.btn-sm {
|
|
266
|
-
@include button-size($btn-padding-y-sm, $btn-padding-x-sm, $btn-font-size-sm, $btn-line-height-sm, $btn-border-radius-sm);
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
//
|
|
271
|
-
// Block button
|
|
272
|
-
//
|
|
273
|
-
|
|
274
|
-
.btn-block {
|
|
275
|
-
display: block;
|
|
276
|
-
width: 100%;
|
|
277
|
-
|
|
278
|
-
// Vertically space out multiple block buttons
|
|
279
|
-
+ .btn-block {
|
|
280
|
-
margin-top: $btn-block-spacing-y;
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
// Specificity overrides
|
|
285
|
-
input[type="submit"],
|
|
286
|
-
input[type="reset"],
|
|
287
|
-
input[type="button"] {
|
|
288
|
-
&.btn-block {
|
|
289
|
-
width: 100%;
|
|
290
|
-
}
|
|
291
|
-
}
|