@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,120 +0,0 @@
|
|
|
1
|
-
// Base class
|
|
2
|
-
//
|
|
3
|
-
// Kickstart any navigation component with a set of style resets. Works with
|
|
4
|
-
// `<nav>`s, `<ul>`s or `<ol>`s.
|
|
5
|
-
|
|
6
|
-
.nav {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-wrap: wrap;
|
|
9
|
-
padding-left: 0;
|
|
10
|
-
margin-bottom: 0;
|
|
11
|
-
list-style: none;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.nav-link {
|
|
15
|
-
display: block;
|
|
16
|
-
padding: $nav-link-padding-y $nav-link-padding-x;
|
|
17
|
-
|
|
18
|
-
@include hover-focus() {
|
|
19
|
-
text-decoration: none;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// Disabled state lightens text
|
|
23
|
-
&.disabled {
|
|
24
|
-
color: $nav-link-disabled-color;
|
|
25
|
-
pointer-events: none;
|
|
26
|
-
cursor: default;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
//
|
|
31
|
-
// Tabs
|
|
32
|
-
//
|
|
33
|
-
|
|
34
|
-
.nav-tabs {
|
|
35
|
-
border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color;
|
|
36
|
-
|
|
37
|
-
.nav-item {
|
|
38
|
-
margin-bottom: -$nav-tabs-border-width;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.nav-link {
|
|
42
|
-
border: $nav-tabs-border-width solid transparent;
|
|
43
|
-
@include border-top-radius($nav-tabs-border-radius);
|
|
44
|
-
|
|
45
|
-
@include hover-focus() {
|
|
46
|
-
border-color: $nav-tabs-link-hover-border-color;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&.disabled {
|
|
50
|
-
color: $nav-link-disabled-color;
|
|
51
|
-
background-color: transparent;
|
|
52
|
-
border-color: transparent;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.nav-link.active,
|
|
57
|
-
.nav-item.show .nav-link {
|
|
58
|
-
color: $nav-tabs-link-active-color;
|
|
59
|
-
background-color: $nav-tabs-link-active-bg;
|
|
60
|
-
border-color: $nav-tabs-link-active-border-color;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.dropdown-menu {
|
|
64
|
-
// Make dropdown border overlap tab border
|
|
65
|
-
margin-top: -$nav-tabs-border-width;
|
|
66
|
-
// Remove the top rounded corners here since there is a hard edge above the menu
|
|
67
|
-
@include border-top-radius(0);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
//
|
|
73
|
-
// Pills
|
|
74
|
-
//
|
|
75
|
-
|
|
76
|
-
.nav-pills {
|
|
77
|
-
.nav-link {
|
|
78
|
-
@include border-radius($nav-pills-border-radius);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.nav-link.active,
|
|
82
|
-
.show > .nav-link {
|
|
83
|
-
color: $nav-pills-link-active-color;
|
|
84
|
-
background-color: $nav-pills-link-active-bg;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
//
|
|
90
|
-
// Justified variants
|
|
91
|
-
//
|
|
92
|
-
|
|
93
|
-
.nav-fill {
|
|
94
|
-
.nav-item {
|
|
95
|
-
flex: 1 1 auto;
|
|
96
|
-
text-align: center;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.nav-justified {
|
|
101
|
-
.nav-item {
|
|
102
|
-
flex-basis: 0;
|
|
103
|
-
flex-grow: 1;
|
|
104
|
-
text-align: center;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
// Tabbable tabs
|
|
110
|
-
//
|
|
111
|
-
// Hide tabbable panes to start, show them when `.active`
|
|
112
|
-
|
|
113
|
-
.tab-content {
|
|
114
|
-
> .tab-pane {
|
|
115
|
-
display: none;
|
|
116
|
-
}
|
|
117
|
-
> .active {
|
|
118
|
-
display: block;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
@@ -1,324 +0,0 @@
|
|
|
1
|
-
// Contents
|
|
2
|
-
//
|
|
3
|
-
// Navbar
|
|
4
|
-
// Navbar brand
|
|
5
|
-
// Navbar nav
|
|
6
|
-
// Navbar text
|
|
7
|
-
// Navbar divider
|
|
8
|
-
// Responsive navbar
|
|
9
|
-
// Navbar position
|
|
10
|
-
// Navbar themes
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
// Navbar
|
|
14
|
-
//
|
|
15
|
-
// Provide a static navbar from which we expand to create full-width, fixed, and
|
|
16
|
-
// other navbar variations.
|
|
17
|
-
|
|
18
|
-
.navbar {
|
|
19
|
-
position: relative;
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-wrap: wrap; // allow us to do the line break for collapsing content
|
|
22
|
-
align-items: center;
|
|
23
|
-
justify-content: space-between; // space out brand from logo
|
|
24
|
-
padding: $navbar-padding-y $navbar-padding-x;
|
|
25
|
-
|
|
26
|
-
// Because flex properties aren't inherited, we need to redeclare these first
|
|
27
|
-
// few properties so that content nested within behave properly.
|
|
28
|
-
%container-flex-properties {
|
|
29
|
-
display: flex;
|
|
30
|
-
flex-wrap: wrap;
|
|
31
|
-
align-items: center;
|
|
32
|
-
justify-content: space-between;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.container,
|
|
36
|
-
.container-fluid {
|
|
37
|
-
@extend %container-flex-properties;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
@each $breakpoint, $container-max-width in $container-max-widths {
|
|
41
|
-
> .container#{breakpoint-infix($breakpoint, $container-max-widths)} {
|
|
42
|
-
@extend %container-flex-properties;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
// Navbar brand
|
|
49
|
-
//
|
|
50
|
-
// Used for brand, project, or site names.
|
|
51
|
-
|
|
52
|
-
.navbar-brand {
|
|
53
|
-
display: inline-block;
|
|
54
|
-
padding-top: $navbar-brand-padding-y;
|
|
55
|
-
padding-bottom: $navbar-brand-padding-y;
|
|
56
|
-
margin-right: $navbar-padding-x;
|
|
57
|
-
@include font-size($navbar-brand-font-size);
|
|
58
|
-
line-height: inherit;
|
|
59
|
-
white-space: nowrap;
|
|
60
|
-
|
|
61
|
-
@include hover-focus() {
|
|
62
|
-
text-decoration: none;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
// Navbar nav
|
|
68
|
-
//
|
|
69
|
-
// Custom navbar navigation (doesn't require `.nav`, but does make use of `.nav-link`).
|
|
70
|
-
|
|
71
|
-
.navbar-nav {
|
|
72
|
-
display: flex;
|
|
73
|
-
flex-direction: column; // cannot use `inherit` to get the `.navbar`s value
|
|
74
|
-
padding-left: 0;
|
|
75
|
-
margin-bottom: 0;
|
|
76
|
-
list-style: none;
|
|
77
|
-
|
|
78
|
-
.nav-link {
|
|
79
|
-
padding-right: 0;
|
|
80
|
-
padding-left: 0;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.dropdown-menu {
|
|
84
|
-
position: static;
|
|
85
|
-
float: none;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
// Navbar text
|
|
91
|
-
//
|
|
92
|
-
//
|
|
93
|
-
|
|
94
|
-
.navbar-text {
|
|
95
|
-
display: inline-block;
|
|
96
|
-
padding-top: $nav-link-padding-y;
|
|
97
|
-
padding-bottom: $nav-link-padding-y;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
// Responsive navbar
|
|
102
|
-
//
|
|
103
|
-
// Custom styles for responsive collapsing and toggling of navbar contents.
|
|
104
|
-
// Powered by the collapse Bootstrap JavaScript plugin.
|
|
105
|
-
|
|
106
|
-
// When collapsed, prevent the toggleable navbar contents from appearing in
|
|
107
|
-
// the default flexbox row orientation. Requires the use of `flex-wrap: wrap`
|
|
108
|
-
// on the `.navbar` parent.
|
|
109
|
-
.navbar-collapse {
|
|
110
|
-
flex-basis: 100%;
|
|
111
|
-
flex-grow: 1;
|
|
112
|
-
// For always expanded or extra full navbars, ensure content aligns itself
|
|
113
|
-
// properly vertically. Can be easily overridden with flex utilities.
|
|
114
|
-
align-items: center;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// Button for toggling the navbar when in its collapsed state
|
|
118
|
-
.navbar-toggler {
|
|
119
|
-
padding: $navbar-toggler-padding-y $navbar-toggler-padding-x;
|
|
120
|
-
@include font-size($navbar-toggler-font-size);
|
|
121
|
-
line-height: 1;
|
|
122
|
-
background-color: transparent; // remove default button style
|
|
123
|
-
border: $border-width solid transparent; // remove default button style
|
|
124
|
-
@include border-radius($navbar-toggler-border-radius);
|
|
125
|
-
|
|
126
|
-
@include hover-focus() {
|
|
127
|
-
text-decoration: none;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
// Keep as a separate element so folks can easily override it with another icon
|
|
132
|
-
// or image file as needed.
|
|
133
|
-
.navbar-toggler-icon {
|
|
134
|
-
display: inline-block;
|
|
135
|
-
width: 1.5em;
|
|
136
|
-
height: 1.5em;
|
|
137
|
-
vertical-align: middle;
|
|
138
|
-
content: "";
|
|
139
|
-
background: no-repeat center center;
|
|
140
|
-
background-size: 100% 100%;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
// Generate series of `.navbar-expand-*` responsive classes for configuring
|
|
144
|
-
// where your navbar collapses.
|
|
145
|
-
.navbar-expand {
|
|
146
|
-
@each $breakpoint in map-keys($grid-breakpoints) {
|
|
147
|
-
$next: breakpoint-next($breakpoint, $grid-breakpoints);
|
|
148
|
-
$infix: breakpoint-infix($next, $grid-breakpoints);
|
|
149
|
-
|
|
150
|
-
&#{$infix} {
|
|
151
|
-
@include media-breakpoint-down($breakpoint) {
|
|
152
|
-
%container-navbar-expand-#{$breakpoint} {
|
|
153
|
-
padding-right: 0;
|
|
154
|
-
padding-left: 0;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
> .container,
|
|
158
|
-
> .container-fluid {
|
|
159
|
-
@extend %container-navbar-expand-#{$breakpoint};
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
@each $size, $container-max-width in $container-max-widths {
|
|
163
|
-
> .container#{breakpoint-infix($size, $container-max-widths)} {
|
|
164
|
-
@extend %container-navbar-expand-#{$breakpoint};
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
@include media-breakpoint-up($next) {
|
|
170
|
-
flex-flow: row nowrap;
|
|
171
|
-
justify-content: flex-start;
|
|
172
|
-
|
|
173
|
-
.navbar-nav {
|
|
174
|
-
flex-direction: row;
|
|
175
|
-
|
|
176
|
-
.dropdown-menu {
|
|
177
|
-
position: absolute;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.nav-link {
|
|
181
|
-
padding-right: $navbar-nav-link-padding-x;
|
|
182
|
-
padding-left: $navbar-nav-link-padding-x;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
// For nesting containers, have to redeclare for alignment purposes
|
|
187
|
-
%container-nesting-#{$breakpoint} {
|
|
188
|
-
flex-wrap: nowrap;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
> .container,
|
|
192
|
-
> .container-fluid {
|
|
193
|
-
@extend %container-nesting-#{$breakpoint};
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
@each $size, $container-max-width in $container-max-widths {
|
|
197
|
-
> .container#{breakpoint-infix($size, $container-max-widths)} {
|
|
198
|
-
@extend %container-nesting-#{$breakpoint};
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.navbar-collapse {
|
|
203
|
-
display: flex !important; // stylelint-disable-line declaration-no-important
|
|
204
|
-
|
|
205
|
-
// Changes flex-bases to auto because of an IE10 bug
|
|
206
|
-
flex-basis: auto;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.navbar-toggler {
|
|
210
|
-
display: none;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
// Navbar themes
|
|
219
|
-
//
|
|
220
|
-
// Styles for switching between navbars with light or dark background.
|
|
221
|
-
|
|
222
|
-
// Dark links against a light background
|
|
223
|
-
.navbar-light {
|
|
224
|
-
.navbar-brand {
|
|
225
|
-
color: $navbar-light-brand-color;
|
|
226
|
-
|
|
227
|
-
@include hover-focus() {
|
|
228
|
-
color: $navbar-light-brand-hover-color;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.navbar-nav {
|
|
233
|
-
.nav-link {
|
|
234
|
-
color: $navbar-light-color;
|
|
235
|
-
|
|
236
|
-
@include hover-focus() {
|
|
237
|
-
color: $navbar-light-hover-color;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
&.disabled {
|
|
241
|
-
color: $navbar-light-disabled-color;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.show > .nav-link,
|
|
246
|
-
.active > .nav-link,
|
|
247
|
-
.nav-link.show,
|
|
248
|
-
.nav-link.active {
|
|
249
|
-
color: $navbar-light-active-color;
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.navbar-toggler {
|
|
254
|
-
color: $navbar-light-color;
|
|
255
|
-
border-color: $navbar-light-toggler-border-color;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.navbar-toggler-icon {
|
|
259
|
-
background-image: escape-svg($navbar-light-toggler-icon-bg);
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.navbar-text {
|
|
263
|
-
color: $navbar-light-color;
|
|
264
|
-
a {
|
|
265
|
-
color: $navbar-light-active-color;
|
|
266
|
-
|
|
267
|
-
@include hover-focus() {
|
|
268
|
-
color: $navbar-light-active-color;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
// White links against a dark background
|
|
275
|
-
.navbar-dark {
|
|
276
|
-
.navbar-brand {
|
|
277
|
-
color: $navbar-dark-brand-color;
|
|
278
|
-
|
|
279
|
-
@include hover-focus() {
|
|
280
|
-
color: $navbar-dark-brand-hover-color;
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.navbar-nav {
|
|
285
|
-
.nav-link {
|
|
286
|
-
color: $navbar-dark-color;
|
|
287
|
-
|
|
288
|
-
@include hover-focus() {
|
|
289
|
-
color: $navbar-dark-hover-color;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
&.disabled {
|
|
293
|
-
color: $navbar-dark-disabled-color;
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
.show > .nav-link,
|
|
298
|
-
.active > .nav-link,
|
|
299
|
-
.nav-link.show,
|
|
300
|
-
.nav-link.active {
|
|
301
|
-
color: $navbar-dark-active-color;
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.navbar-toggler {
|
|
306
|
-
color: $navbar-dark-color;
|
|
307
|
-
border-color: $navbar-dark-toggler-border-color;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
.navbar-toggler-icon {
|
|
311
|
-
background-image: escape-svg($navbar-dark-toggler-icon-bg);
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
.navbar-text {
|
|
315
|
-
color: $navbar-dark-color;
|
|
316
|
-
a {
|
|
317
|
-
color: $navbar-dark-active-color;
|
|
318
|
-
|
|
319
|
-
@include hover-focus() {
|
|
320
|
-
color: $navbar-dark-active-color;
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
.pagination {
|
|
2
|
-
display: flex;
|
|
3
|
-
@include list-unstyled();
|
|
4
|
-
@include border-radius();
|
|
5
|
-
align-items: center;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.page-link {
|
|
9
|
-
position: relative;
|
|
10
|
-
display: block;
|
|
11
|
-
padding: $pagination-padding-y $pagination-padding-x;
|
|
12
|
-
margin-left: -$pagination-border-width;
|
|
13
|
-
line-height: $pagination-line-height;
|
|
14
|
-
color: $pagination-color;
|
|
15
|
-
background-color: $pagination-bg;
|
|
16
|
-
border: $pagination-border-width solid $pagination-border-color;
|
|
17
|
-
|
|
18
|
-
&:hover {
|
|
19
|
-
z-index: 2;
|
|
20
|
-
color: $pagination-hover-color;
|
|
21
|
-
text-decoration: none;
|
|
22
|
-
background-color: $pagination-hover-bg;
|
|
23
|
-
border-color: $pagination-hover-border-color;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&:focus {
|
|
27
|
-
z-index: 3;
|
|
28
|
-
outline: $pagination-focus-outline;
|
|
29
|
-
box-shadow: $pagination-focus-box-shadow;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.page-item {
|
|
34
|
-
&:first-child {
|
|
35
|
-
.page-link {
|
|
36
|
-
margin-left: 0;
|
|
37
|
-
@include border-left-radius($border-radius);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
&:last-child {
|
|
41
|
-
.page-link {
|
|
42
|
-
@include border-right-radius($border-radius);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&.active .page-link {
|
|
47
|
-
z-index: 3;
|
|
48
|
-
color: $pagination-active-color;
|
|
49
|
-
background-color: $pagination-active-bg;
|
|
50
|
-
border-color: $pagination-active-border-color;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&.disabled .page-link {
|
|
54
|
-
color: $pagination-disabled-color;
|
|
55
|
-
pointer-events: none;
|
|
56
|
-
// Opinionated: remove the "hand" cursor set previously for .page-link
|
|
57
|
-
cursor: auto;
|
|
58
|
-
background-color: $pagination-disabled-bg;
|
|
59
|
-
border-color: $pagination-disabled-border-color;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
//
|
|
65
|
-
// Sizing
|
|
66
|
-
//
|
|
67
|
-
|
|
68
|
-
.pagination-lg {
|
|
69
|
-
@include pagination-size($pagination-padding-y-lg, $pagination-padding-x-lg, $font-size-lg, $line-height-lg, $border-radius-lg);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.pagination-sm {
|
|
73
|
-
@include pagination-size($pagination-padding-y-sm, $pagination-padding-x-sm, $font-size-sm, $line-height-sm, $border-radius-sm);
|
|
74
|
-
}
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
.popover {
|
|
2
|
-
position: absolute;
|
|
3
|
-
top: 0;
|
|
4
|
-
left: 0;
|
|
5
|
-
z-index: $zindex-popover;
|
|
6
|
-
display: block;
|
|
7
|
-
max-width: $popover-max-width;
|
|
8
|
-
// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
|
|
9
|
-
// So reset our font and text properties to avoid inheriting weird values.
|
|
10
|
-
@include reset-text();
|
|
11
|
-
@include font-size($popover-font-size);
|
|
12
|
-
// Allow breaking very long words so they don't overflow the popover's bounds
|
|
13
|
-
word-wrap: break-word;
|
|
14
|
-
background-color: $popover-bg;
|
|
15
|
-
background-clip: padding-box;
|
|
16
|
-
border: $popover-border-width solid $popover-border-color;
|
|
17
|
-
@include border-radius($popover-border-radius);
|
|
18
|
-
@include box-shadow($popover-box-shadow);
|
|
19
|
-
|
|
20
|
-
.arrow {
|
|
21
|
-
position: absolute;
|
|
22
|
-
display: block;
|
|
23
|
-
width: $popover-arrow-width;
|
|
24
|
-
height: $popover-arrow-height;
|
|
25
|
-
margin: 0 $popover-border-radius;
|
|
26
|
-
|
|
27
|
-
&::before,
|
|
28
|
-
&::after {
|
|
29
|
-
position: absolute;
|
|
30
|
-
display: block;
|
|
31
|
-
content: "";
|
|
32
|
-
border-color: transparent;
|
|
33
|
-
border-style: solid;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.bs-popover-top {
|
|
39
|
-
margin-bottom: $popover-arrow-height;
|
|
40
|
-
|
|
41
|
-
> .arrow {
|
|
42
|
-
bottom: subtract(-$popover-arrow-height, $popover-border-width);
|
|
43
|
-
|
|
44
|
-
&::before {
|
|
45
|
-
bottom: 0;
|
|
46
|
-
border-width: $popover-arrow-height ($popover-arrow-width / 2) 0;
|
|
47
|
-
border-top-color: $popover-arrow-outer-color;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&::after {
|
|
51
|
-
bottom: $popover-border-width;
|
|
52
|
-
border-width: $popover-arrow-height ($popover-arrow-width / 2) 0;
|
|
53
|
-
border-top-color: $popover-arrow-color;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.bs-popover-right {
|
|
59
|
-
margin-left: $popover-arrow-height;
|
|
60
|
-
|
|
61
|
-
> .arrow {
|
|
62
|
-
left: subtract(-$popover-arrow-height, $popover-border-width);
|
|
63
|
-
width: $popover-arrow-height;
|
|
64
|
-
height: $popover-arrow-width;
|
|
65
|
-
margin: $popover-border-radius 0; // make sure the arrow does not touch the popover's rounded corners
|
|
66
|
-
|
|
67
|
-
&::before {
|
|
68
|
-
left: 0;
|
|
69
|
-
border-width: ($popover-arrow-width / 2) $popover-arrow-height ($popover-arrow-width / 2) 0;
|
|
70
|
-
border-right-color: $popover-arrow-outer-color;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&::after {
|
|
74
|
-
left: $popover-border-width;
|
|
75
|
-
border-width: ($popover-arrow-width / 2) $popover-arrow-height ($popover-arrow-width / 2) 0;
|
|
76
|
-
border-right-color: $popover-arrow-color;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.bs-popover-bottom {
|
|
82
|
-
margin-top: $popover-arrow-height;
|
|
83
|
-
|
|
84
|
-
> .arrow {
|
|
85
|
-
top: subtract(-$popover-arrow-height, $popover-border-width);
|
|
86
|
-
|
|
87
|
-
&::before {
|
|
88
|
-
top: 0;
|
|
89
|
-
border-width: 0 ($popover-arrow-width / 2) $popover-arrow-height ($popover-arrow-width / 2);
|
|
90
|
-
border-bottom-color: $popover-arrow-outer-color;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&::after {
|
|
94
|
-
top: $popover-border-width;
|
|
95
|
-
border-width: 0 ($popover-arrow-width / 2) $popover-arrow-height ($popover-arrow-width / 2);
|
|
96
|
-
border-bottom-color: $popover-arrow-color;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// This will remove the popover-header's border just below the arrow
|
|
101
|
-
.popover-header::before {
|
|
102
|
-
position: absolute;
|
|
103
|
-
top: 0;
|
|
104
|
-
left: 50%;
|
|
105
|
-
display: block;
|
|
106
|
-
width: $popover-arrow-width;
|
|
107
|
-
margin-left: -$popover-arrow-width / 2;
|
|
108
|
-
content: "";
|
|
109
|
-
border-bottom: $popover-border-width solid $popover-header-bg;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.bs-popover-left {
|
|
114
|
-
margin-right: $popover-arrow-height;
|
|
115
|
-
|
|
116
|
-
> .arrow {
|
|
117
|
-
right: subtract(-$popover-arrow-height, $popover-border-width);
|
|
118
|
-
width: $popover-arrow-height;
|
|
119
|
-
height: $popover-arrow-width;
|
|
120
|
-
margin: $popover-border-radius 0; // make sure the arrow does not touch the popover's rounded corners
|
|
121
|
-
|
|
122
|
-
&::before {
|
|
123
|
-
right: 0;
|
|
124
|
-
border-width: ($popover-arrow-width / 2) 0 ($popover-arrow-width / 2) $popover-arrow-height;
|
|
125
|
-
border-left-color: $popover-arrow-outer-color;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
&::after {
|
|
129
|
-
right: $popover-border-width;
|
|
130
|
-
border-width: ($popover-arrow-width / 2) 0 ($popover-arrow-width / 2) $popover-arrow-height;
|
|
131
|
-
border-left-color: $popover-arrow-color;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.bs-popover-auto {
|
|
137
|
-
&[x-placement^="top"] {
|
|
138
|
-
@extend .bs-popover-top;
|
|
139
|
-
}
|
|
140
|
-
&[x-placement^="right"] {
|
|
141
|
-
@extend .bs-popover-right;
|
|
142
|
-
}
|
|
143
|
-
&[x-placement^="bottom"] {
|
|
144
|
-
@extend .bs-popover-bottom;
|
|
145
|
-
}
|
|
146
|
-
&[x-placement^="left"] {
|
|
147
|
-
@extend .bs-popover-left;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
// Offset the popover to account for the popover arrow
|
|
153
|
-
.popover-header {
|
|
154
|
-
padding: $popover-header-padding-y $popover-header-padding-x;
|
|
155
|
-
margin-bottom: 0; // Reset the default from Reboot
|
|
156
|
-
@include font-size($font-size-base);
|
|
157
|
-
color: $popover-header-color;
|
|
158
|
-
background-color: $popover-header-bg;
|
|
159
|
-
border-bottom: $popover-border-width solid darken($popover-header-bg, 5%);
|
|
160
|
-
@include border-top-radius($popover-inner-border-radius);
|
|
161
|
-
|
|
162
|
-
&:empty {
|
|
163
|
-
display: none;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.popover-body {
|
|
168
|
-
padding: $popover-body-padding-y $popover-body-padding-x;
|
|
169
|
-
color: $popover-body-color;
|
|
170
|
-
}
|