nodebb-theme-persona 12.1.4 → 12.1.6
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 +14 -14
- package/package.json +2 -2
- package/public/persona.js +11 -23
- package/{less/account.less → scss/account.scss} +13 -97
- package/{less/categories.less → scss/categories.scss} +10 -40
- package/{less/category.less → scss/category.scss} +26 -75
- package/{less/chats.less → scss/chats.scss} +35 -88
- package/{less/flags.less → scss/flags.scss} +3 -3
- package/{less/footer.less → scss/footer.scss} +0 -1
- package/{less/groups.less → scss/groups.scss} +14 -38
- package/{less/header.less → scss/header.scss} +63 -139
- package/{less/helpers.less → scss/helpers.scss} +0 -0
- package/{less/keyframes.less → scss/keyframes.scss} +0 -0
- package/{less/mixins.less → scss/mixins.scss} +17 -59
- package/{less/mobile.less → scss/mobile.scss} +13 -18
- package/{less/modules/alerts.less → scss/modules/alerts.scss} +21 -21
- package/{less/modules/composer-default.less → scss/modules/composer-default.scss} +2 -2
- package/{less/modules/cookie-consent.less → scss/modules/cookie-consent.scss} +1 -1
- package/{less/modules/fab.less → scss/modules/fab.scss} +2 -2
- package/{less/modules/morph.less → scss/modules/morph.scss} +1 -1
- package/{less/modules/necro-post.less → scss/modules/necro-post.scss} +0 -0
- package/scss/modules/nprogress.scss +80 -0
- package/{less/modules/taskbar.less → scss/modules/taskbar.scss} +11 -10
- package/{less/modules/usercard.less → scss/modules/usercard.scss} +0 -0
- package/{less/noscript.less → scss/noscript.scss} +5 -7
- package/{less/outgoing.less → scss/outgoing.scss} +0 -0
- package/scss/overrides.scss +44 -0
- package/{less/persona.less → scss/persona.scss} +1 -13
- package/{less/posts_list.less → scss/posts_list.scss} +11 -14
- package/{less/register.less → scss/register.scss} +2 -7
- package/scss/search.scss +39 -0
- package/{less/style.less → scss/style.scss} +23 -47
- package/scss/tags.scss +11 -0
- package/{less/topic.less → scss/topic.scss} +53 -90
- package/scss/topics_list.scss +17 -0
- package/{less/variables.less → scss/variables.scss} +3 -3
- package/templates/account/blocks.tpl +24 -26
- package/templates/account/categories.tpl +6 -6
- package/templates/account/consent.tpl +10 -10
- package/templates/account/edit/password.tpl +8 -10
- package/templates/account/edit/username.tpl +6 -10
- package/templates/account/edit.tpl +23 -23
- package/templates/account/followers.tpl +3 -3
- package/templates/account/following.tpl +3 -3
- package/templates/account/groups.tpl +2 -2
- package/templates/account/info.tpl +67 -72
- package/templates/account/posts.tpl +1 -1
- package/templates/account/profile.tpl +20 -18
- package/templates/account/sessions.tpl +3 -3
- package/templates/account/settings.tpl +93 -81
- package/templates/account/topics.tpl +5 -5
- package/templates/account/uploads.tpl +2 -2
- package/templates/admin/plugins/persona.tpl +3 -3
- package/templates/category.tpl +15 -14
- package/templates/chat.tpl +16 -9
- package/templates/chats.tpl +5 -3
- package/templates/flags/detail.tpl +86 -80
- package/templates/flags/list.tpl +4 -4
- package/templates/footer.tpl +1 -1
- package/templates/groups/details.tpl +23 -218
- package/templates/groups/list.tpl +11 -9
- package/templates/groups/members.tpl +1 -4
- package/templates/header.tpl +10 -4
- package/templates/ip-blacklist.tpl +22 -20
- package/templates/login.tpl +17 -14
- package/templates/modules/taskbar.tpl +1 -1
- package/templates/modules/usercard.tpl +2 -2
- package/templates/notifications.tpl +40 -38
- package/templates/partials/acceptTos.tpl +8 -8
- package/templates/partials/account/category-item.tpl +6 -5
- package/templates/partials/account/header.tpl +2 -2
- package/templates/partials/account/menu.tpl +37 -37
- package/templates/partials/breadcrumbs.tpl +1 -1
- package/templates/partials/buttons/newTopic.tpl +10 -3
- package/templates/partials/categories/item.tpl +24 -10
- package/templates/partials/categories/lastpost.tpl +3 -3
- package/templates/partials/categories/link.tpl +10 -10
- package/templates/partials/category/sort.tpl +7 -7
- package/templates/partials/category/subcategory.tpl +3 -3
- package/templates/partials/category/tags.tpl +3 -5
- package/templates/partials/category/tools.tpl +16 -16
- package/templates/partials/category/watch.tpl +8 -10
- package/templates/partials/category-filter-content.tpl +17 -5
- package/templates/partials/category-filter-right.tpl +1 -1
- package/templates/partials/category-selector-content.tpl +17 -4
- package/templates/partials/category-selector-right.tpl +1 -1
- package/templates/partials/chats/message-window.tpl +10 -8
- package/templates/partials/chats/message.tpl +11 -11
- package/templates/partials/chats/options.tpl +8 -8
- package/templates/partials/chats/recent_room.tpl +1 -1
- package/templates/partials/chats/system-message.tpl +1 -1
- package/templates/partials/chats/user.tpl +1 -1
- package/templates/partials/chats-menu.tpl +11 -11
- package/templates/partials/cookie-consent.tpl +1 -1
- package/templates/partials/flags/filters.tpl +34 -32
- package/templates/partials/groups/admin.tpl +195 -0
- package/templates/partials/groups/badge.tpl +1 -0
- package/templates/partials/groups/list.tpl +6 -6
- package/templates/partials/groups/memberlist.tpl +11 -10
- package/templates/partials/menu.tpl +149 -156
- package/templates/partials/notifications_list.tpl +2 -2
- package/templates/partials/paginator.tpl +21 -21
- package/templates/partials/post_bar.tpl +4 -4
- package/templates/partials/posts_list.tpl +1 -1
- package/templates/partials/posts_list_item.tpl +2 -2
- package/templates/partials/quick-search-results.tpl +14 -11
- package/templates/partials/slideout-menu.tpl +1 -1
- package/templates/partials/tags_list.tpl +3 -3
- package/templates/partials/thread_tools.tpl +4 -4
- package/templates/partials/toast.tpl +14 -0
- package/templates/partials/topic/deleted-message.tpl +2 -2
- package/templates/partials/topic/event.tpl +26 -0
- package/templates/partials/topic/navigation-post.tpl +3 -3
- package/templates/partials/topic/navigator.tpl +7 -7
- package/templates/partials/topic/necro-post.tpl +1 -1
- package/templates/partials/topic/post-menu-list.tpl +26 -23
- package/templates/partials/topic/post-menu.tpl +3 -3
- package/templates/partials/topic/post.tpl +49 -44
- package/templates/partials/topic/quickreply.tpl +3 -3
- package/templates/partials/topic/reply-button.tpl +3 -3
- package/templates/partials/topic/sort.tpl +5 -5
- package/templates/partials/topic/tag.tpl +1 -0
- package/templates/partials/topic/tags.tpl +3 -5
- package/templates/partials/topic/topic-menu-list.tpl +18 -16
- package/templates/partials/topic/watch.tpl +11 -10
- package/templates/partials/topic-filters.tpl +12 -0
- package/templates/partials/topic-terms.tpl +12 -0
- package/templates/partials/topics_list.tpl +27 -25
- package/templates/partials/users_list.tpl +22 -10
- package/templates/partials/users_list_menu.tpl +19 -9
- package/templates/popular.tpl +9 -35
- package/templates/post-queue.tpl +42 -35
- package/templates/recent.tpl +10 -24
- package/templates/register.tpl +17 -17
- package/templates/registerComplete.tpl +14 -10
- package/templates/reset.tpl +7 -5
- package/templates/reset_code.tpl +9 -9
- package/templates/search.tpl +100 -87
- package/templates/tag.tpl +8 -10
- package/templates/tags.tpl +5 -3
- package/templates/top.tpl +9 -35
- package/templates/topic.tpl +13 -11
- package/templates/tos.tpl +4 -4
- package/templates/unread.tpl +10 -22
- package/templates/users.tpl +7 -20
- package/theme.json +6 -6
- package/theme.scss +1 -0
- package/less/bootstrap/.csscomb.json +0 -297
- package/less/bootstrap/.csslintrc +0 -19
- package/less/bootstrap/alerts.less +0 -73
- package/less/bootstrap/badges.less +0 -66
- package/less/bootstrap/bootstrap.less +0 -50
- package/less/bootstrap/breadcrumbs.less +0 -26
- package/less/bootstrap/button-groups.less +0 -243
- package/less/bootstrap/buttons.less +0 -160
- package/less/bootstrap/carousel.less +0 -269
- package/less/bootstrap/close.less +0 -34
- package/less/bootstrap/code.less +0 -69
- package/less/bootstrap/component-animations.less +0 -33
- package/less/bootstrap/dropdowns.less +0 -214
- package/less/bootstrap/forms.less +0 -574
- package/less/bootstrap/glyphicons.less +0 -305
- package/less/bootstrap/grid.less +0 -84
- package/less/bootstrap/input-groups.less +0 -166
- package/less/bootstrap/jumbotron.less +0 -50
- package/less/bootstrap/labels.less +0 -64
- package/less/bootstrap/list-group.less +0 -124
- package/less/bootstrap/media.less +0 -61
- package/less/bootstrap/mixins/alerts.less +0 -14
- package/less/bootstrap/mixins/background-variant.less +0 -8
- package/less/bootstrap/mixins/border-radius.less +0 -18
- package/less/bootstrap/mixins/buttons.less +0 -52
- package/less/bootstrap/mixins/center-block.less +0 -7
- package/less/bootstrap/mixins/clearfix.less +0 -22
- package/less/bootstrap/mixins/forms.less +0 -85
- package/less/bootstrap/mixins/gradients.less +0 -59
- package/less/bootstrap/mixins/grid-framework.less +0 -91
- package/less/bootstrap/mixins/grid.less +0 -122
- package/less/bootstrap/mixins/hide-text.less +0 -21
- package/less/bootstrap/mixins/image.less +0 -33
- package/less/bootstrap/mixins/labels.less +0 -12
- package/less/bootstrap/mixins/list-group.less +0 -29
- package/less/bootstrap/mixins/nav-divider.less +0 -10
- package/less/bootstrap/mixins/nav-vertical-align.less +0 -9
- package/less/bootstrap/mixins/opacity.less +0 -8
- package/less/bootstrap/mixins/pagination.less +0 -23
- package/less/bootstrap/mixins/panels.less +0 -24
- package/less/bootstrap/mixins/progress-bar.less +0 -10
- package/less/bootstrap/mixins/reset-filter.less +0 -8
- package/less/bootstrap/mixins/resize.less +0 -6
- package/less/bootstrap/mixins/responsive-visibility.less +0 -15
- package/less/bootstrap/mixins/size.less +0 -10
- package/less/bootstrap/mixins/tab-focus.less +0 -9
- package/less/bootstrap/mixins/table-row.less +0 -28
- package/less/bootstrap/mixins/text-emphasis.less +0 -8
- package/less/bootstrap/mixins/text-overflow.less +0 -8
- package/less/bootstrap/mixins/vendor-prefixes.less +0 -227
- package/less/bootstrap/mixins.less +0 -39
- package/less/bootstrap/modals.less +0 -150
- package/less/bootstrap/navbar.less +0 -660
- package/less/bootstrap/navs.less +0 -242
- package/less/bootstrap/normalize.less +0 -427
- package/less/bootstrap/pager.less +0 -54
- package/less/bootstrap/pagination.less +0 -88
- package/less/bootstrap/panels.less +0 -265
- package/less/bootstrap/popovers.less +0 -135
- package/less/bootstrap/print.less +0 -107
- package/less/bootstrap/progress-bars.less +0 -87
- package/less/bootstrap/responsive-embed.less +0 -35
- package/less/bootstrap/responsive-utilities.less +0 -194
- package/less/bootstrap/scaffolding.less +0 -162
- package/less/bootstrap/tables.less +0 -234
- package/less/bootstrap/theme.less +0 -273
- package/less/bootstrap/thumbnails.less +0 -36
- package/less/bootstrap/tooltip.less +0 -102
- package/less/bootstrap/type.less +0 -302
- package/less/bootstrap/utilities.less +0 -55
- package/less/bootstrap/variables.less +0 -861
- package/less/bootstrap/wells.less +0 -29
- package/less/bootstrap-flipped.css +0 -1550
- package/less/ip-blacklist.less +0 -7
- package/less/modules/bottom-sheet.less +0 -60
- package/less/modules/nprogress.less +0 -80
- package/less/notifications.less +0 -38
- package/less/post-queue.less +0 -19
- package/less/rtl.less +0 -132
- package/less/search.less +0 -96
- package/less/tags.less +0 -37
- package/less/topics_list.less +0 -16
- package/less/users.less +0 -73
- package/templates/alert.tpl +0 -15
- package/templates/partials/change_owner_modal.tpl +0 -22
- package/templates/partials/delete_posts_modal.tpl +0 -19
- package/templates/partials/fork_thread_modal.tpl +0 -22
- package/templates/partials/merge_topics_modal.tpl +0 -58
- package/templates/partials/modals/change_picture_modal.tpl +0 -73
- package/templates/partials/modals/flag_modal.tpl +0 -45
- package/templates/partials/modals/manage_room.tpl +0 -11
- package/templates/partials/modals/manage_room_users.tpl +0 -7
- package/templates/partials/modals/post_history.tpl +0 -36
- package/templates/partials/modals/rename_room.tpl +0 -4
- package/templates/partials/modals/upload_file_modal.tpl +0 -44
- package/templates/partials/modals/upload_picture_from_url_modal.tpl +0 -17
- package/templates/partials/modals/votes_modal.tpl +0 -10
- package/templates/partials/move_thread_modal.tpl +0 -17
- package/templates/partials/topic/badge.tpl +0 -5
- package/theme.less +0 -2
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// Image Mixins
|
|
2
|
-
// - Responsive image
|
|
3
|
-
// - Retina image
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
// Responsive image
|
|
7
|
-
//
|
|
8
|
-
// Keep images from scaling beyond the width of their parents.
|
|
9
|
-
.img-responsive(@display: block) {
|
|
10
|
-
display: @display;
|
|
11
|
-
max-width: 100%; // Part 1: Set a maximum relative to the parent
|
|
12
|
-
height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
// Retina image
|
|
17
|
-
//
|
|
18
|
-
// Short retina mixin for setting background-image and -size. Note that the
|
|
19
|
-
// spelling of `min--moz-device-pixel-ratio` is intentional.
|
|
20
|
-
.img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {
|
|
21
|
-
background-image: url("@{file-1x}");
|
|
22
|
-
|
|
23
|
-
@media
|
|
24
|
-
only screen and (-webkit-min-device-pixel-ratio: 2),
|
|
25
|
-
only screen and ( min--moz-device-pixel-ratio: 2),
|
|
26
|
-
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
|
27
|
-
only screen and ( min-device-pixel-ratio: 2),
|
|
28
|
-
only screen and ( min-resolution: 192dpi),
|
|
29
|
-
only screen and ( min-resolution: 2dppx) {
|
|
30
|
-
background-image: url("@{file-2x}");
|
|
31
|
-
background-size: @width-1x @height-1x;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// List Groups
|
|
2
|
-
|
|
3
|
-
.list-group-item-variant(@state; @background; @color) {
|
|
4
|
-
.list-group-item-@{state} {
|
|
5
|
-
color: @color;
|
|
6
|
-
background-color: @background;
|
|
7
|
-
|
|
8
|
-
a& {
|
|
9
|
-
color: @color;
|
|
10
|
-
|
|
11
|
-
.list-group-item-heading {
|
|
12
|
-
color: inherit;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&:hover,
|
|
16
|
-
&:focus {
|
|
17
|
-
color: @color;
|
|
18
|
-
background-color: darken(@background, 5%);
|
|
19
|
-
}
|
|
20
|
-
&.active,
|
|
21
|
-
&.active:hover,
|
|
22
|
-
&.active:focus {
|
|
23
|
-
color: #fff;
|
|
24
|
-
background-color: @color;
|
|
25
|
-
border-color: @color;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// Navbar vertical align
|
|
2
|
-
//
|
|
3
|
-
// Vertically center elements in the navbar.
|
|
4
|
-
// Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.
|
|
5
|
-
|
|
6
|
-
.navbar-vertical-align(@element-height) {
|
|
7
|
-
margin-top: ((@navbar-height - @element-height) / 2);
|
|
8
|
-
margin-bottom: ((@navbar-height - @element-height) / 2);
|
|
9
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// Pagination
|
|
2
|
-
|
|
3
|
-
.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @border-radius) {
|
|
4
|
-
> li {
|
|
5
|
-
> a,
|
|
6
|
-
> span {
|
|
7
|
-
padding: @padding-vertical @padding-horizontal;
|
|
8
|
-
font-size: @font-size;
|
|
9
|
-
}
|
|
10
|
-
&:first-child {
|
|
11
|
-
> a,
|
|
12
|
-
> span {
|
|
13
|
-
.border-left-radius(@border-radius);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
&:last-child {
|
|
17
|
-
> a,
|
|
18
|
-
> span {
|
|
19
|
-
.border-right-radius(@border-radius);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// Panels
|
|
2
|
-
|
|
3
|
-
.panel-variant(@border; @heading-text-color; @heading-bg-color; @heading-border) {
|
|
4
|
-
border-color: @border;
|
|
5
|
-
|
|
6
|
-
& > .panel-heading {
|
|
7
|
-
color: @heading-text-color;
|
|
8
|
-
background-color: @heading-bg-color;
|
|
9
|
-
border-color: @heading-border;
|
|
10
|
-
|
|
11
|
-
+ .panel-collapse > .panel-body {
|
|
12
|
-
border-top-color: @border;
|
|
13
|
-
}
|
|
14
|
-
.badge {
|
|
15
|
-
color: @heading-bg-color;
|
|
16
|
-
background-color: @heading-text-color;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
& > .panel-footer {
|
|
20
|
-
+ .panel-collapse > .panel-body {
|
|
21
|
-
border-bottom-color: @border;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// Responsive utilities
|
|
2
|
-
|
|
3
|
-
//
|
|
4
|
-
// More easily include all the states for responsive-utilities.less.
|
|
5
|
-
.responsive-visibility() {
|
|
6
|
-
display: block !important;
|
|
7
|
-
table& { display: table; }
|
|
8
|
-
tr& { display: table-row !important; }
|
|
9
|
-
th&,
|
|
10
|
-
td& { display: table-cell !important; }
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.responsive-invisibility() {
|
|
14
|
-
display: none !important;
|
|
15
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// Tables
|
|
2
|
-
|
|
3
|
-
.table-row-variant(@state; @background) {
|
|
4
|
-
// Exact selectors below required to override `.table-striped` and prevent
|
|
5
|
-
// inheritance to nested tables.
|
|
6
|
-
.table > thead > tr,
|
|
7
|
-
.table > tbody > tr,
|
|
8
|
-
.table > tfoot > tr {
|
|
9
|
-
> td.@{state},
|
|
10
|
-
> th.@{state},
|
|
11
|
-
&.@{state} > td,
|
|
12
|
-
&.@{state} > th {
|
|
13
|
-
background-color: @background;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// Hover states for `.table-hover`
|
|
18
|
-
// Note: this is not available for cells or rows within `thead` or `tfoot`.
|
|
19
|
-
.table-hover > tbody > tr {
|
|
20
|
-
> td.@{state}:hover,
|
|
21
|
-
> th.@{state}:hover,
|
|
22
|
-
&.@{state}:hover > td,
|
|
23
|
-
&:hover > .@{state},
|
|
24
|
-
&.@{state}:hover > th {
|
|
25
|
-
background-color: darken(@background, 5%);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
// Vendor Prefixes
|
|
2
|
-
//
|
|
3
|
-
// All vendor mixins are deprecated as of v3.2.0 due to the introduction of
|
|
4
|
-
// Autoprefixer in our Gruntfile. They will be removed in v4.
|
|
5
|
-
|
|
6
|
-
// - Animations
|
|
7
|
-
// - Backface visibility
|
|
8
|
-
// - Box shadow
|
|
9
|
-
// - Box sizing
|
|
10
|
-
// - Content columns
|
|
11
|
-
// - Hyphens
|
|
12
|
-
// - Placeholder text
|
|
13
|
-
// - Transformations
|
|
14
|
-
// - Transitions
|
|
15
|
-
// - User Select
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
// Animations
|
|
19
|
-
.animation(@animation) {
|
|
20
|
-
-webkit-animation: @animation;
|
|
21
|
-
-o-animation: @animation;
|
|
22
|
-
animation: @animation;
|
|
23
|
-
}
|
|
24
|
-
.animation-name(@name) {
|
|
25
|
-
-webkit-animation-name: @name;
|
|
26
|
-
animation-name: @name;
|
|
27
|
-
}
|
|
28
|
-
.animation-duration(@duration) {
|
|
29
|
-
-webkit-animation-duration: @duration;
|
|
30
|
-
animation-duration: @duration;
|
|
31
|
-
}
|
|
32
|
-
.animation-timing-function(@timing-function) {
|
|
33
|
-
-webkit-animation-timing-function: @timing-function;
|
|
34
|
-
animation-timing-function: @timing-function;
|
|
35
|
-
}
|
|
36
|
-
.animation-delay(@delay) {
|
|
37
|
-
-webkit-animation-delay: @delay;
|
|
38
|
-
animation-delay: @delay;
|
|
39
|
-
}
|
|
40
|
-
.animation-iteration-count(@iteration-count) {
|
|
41
|
-
-webkit-animation-iteration-count: @iteration-count;
|
|
42
|
-
animation-iteration-count: @iteration-count;
|
|
43
|
-
}
|
|
44
|
-
.animation-direction(@direction) {
|
|
45
|
-
-webkit-animation-direction: @direction;
|
|
46
|
-
animation-direction: @direction;
|
|
47
|
-
}
|
|
48
|
-
.animation-fill-mode(@fill-mode) {
|
|
49
|
-
-webkit-animation-fill-mode: @fill-mode;
|
|
50
|
-
animation-fill-mode: @fill-mode;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
// Backface visibility
|
|
54
|
-
// Prevent browsers from flickering when using CSS 3D transforms.
|
|
55
|
-
// Default value is `visible`, but can be changed to `hidden`
|
|
56
|
-
|
|
57
|
-
.backface-visibility(@visibility){
|
|
58
|
-
-webkit-backface-visibility: @visibility;
|
|
59
|
-
-moz-backface-visibility: @visibility;
|
|
60
|
-
backface-visibility: @visibility;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// Drop shadows
|
|
64
|
-
//
|
|
65
|
-
// Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's
|
|
66
|
-
// supported browsers that have box shadow capabilities now support it.
|
|
67
|
-
|
|
68
|
-
.box-shadow(@shadow) {
|
|
69
|
-
-webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1
|
|
70
|
-
box-shadow: @shadow;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// Box sizing
|
|
74
|
-
.box-sizing(@boxmodel) {
|
|
75
|
-
-webkit-box-sizing: @boxmodel;
|
|
76
|
-
-moz-box-sizing: @boxmodel;
|
|
77
|
-
box-sizing: @boxmodel;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
// CSS3 Content Columns
|
|
81
|
-
.content-columns(@column-count; @column-gap: @grid-gutter-width) {
|
|
82
|
-
-webkit-column-count: @column-count;
|
|
83
|
-
-moz-column-count: @column-count;
|
|
84
|
-
column-count: @column-count;
|
|
85
|
-
-webkit-column-gap: @column-gap;
|
|
86
|
-
-moz-column-gap: @column-gap;
|
|
87
|
-
column-gap: @column-gap;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
// Optional hyphenation
|
|
91
|
-
.hyphens(@mode: auto) {
|
|
92
|
-
word-wrap: break-word;
|
|
93
|
-
-webkit-hyphens: @mode;
|
|
94
|
-
-moz-hyphens: @mode;
|
|
95
|
-
-ms-hyphens: @mode; // IE10+
|
|
96
|
-
-o-hyphens: @mode;
|
|
97
|
-
hyphens: @mode;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Placeholder text
|
|
101
|
-
.placeholder(@color: @input-color-placeholder) {
|
|
102
|
-
// Firefox
|
|
103
|
-
&::-moz-placeholder {
|
|
104
|
-
color: @color;
|
|
105
|
-
opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526
|
|
106
|
-
}
|
|
107
|
-
&:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
|
|
108
|
-
&::-webkit-input-placeholder { color: @color; } // Safari and Chrome
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// Transformations
|
|
112
|
-
.scale(@ratio) {
|
|
113
|
-
-webkit-transform: scale(@ratio);
|
|
114
|
-
-ms-transform: scale(@ratio); // IE9 only
|
|
115
|
-
-o-transform: scale(@ratio);
|
|
116
|
-
transform: scale(@ratio);
|
|
117
|
-
}
|
|
118
|
-
.scale(@ratioX; @ratioY) {
|
|
119
|
-
-webkit-transform: scale(@ratioX, @ratioY);
|
|
120
|
-
-ms-transform: scale(@ratioX, @ratioY); // IE9 only
|
|
121
|
-
-o-transform: scale(@ratioX, @ratioY);
|
|
122
|
-
transform: scale(@ratioX, @ratioY);
|
|
123
|
-
}
|
|
124
|
-
.scaleX(@ratio) {
|
|
125
|
-
-webkit-transform: scaleX(@ratio);
|
|
126
|
-
-ms-transform: scaleX(@ratio); // IE9 only
|
|
127
|
-
-o-transform: scaleX(@ratio);
|
|
128
|
-
transform: scaleX(@ratio);
|
|
129
|
-
}
|
|
130
|
-
.scaleY(@ratio) {
|
|
131
|
-
-webkit-transform: scaleY(@ratio);
|
|
132
|
-
-ms-transform: scaleY(@ratio); // IE9 only
|
|
133
|
-
-o-transform: scaleY(@ratio);
|
|
134
|
-
transform: scaleY(@ratio);
|
|
135
|
-
}
|
|
136
|
-
.skew(@x; @y) {
|
|
137
|
-
-webkit-transform: skewX(@x) skewY(@y);
|
|
138
|
-
-ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+
|
|
139
|
-
-o-transform: skewX(@x) skewY(@y);
|
|
140
|
-
transform: skewX(@x) skewY(@y);
|
|
141
|
-
}
|
|
142
|
-
.translate(@x; @y) {
|
|
143
|
-
-webkit-transform: translate(@x, @y);
|
|
144
|
-
-ms-transform: translate(@x, @y); // IE9 only
|
|
145
|
-
-o-transform: translate(@x, @y);
|
|
146
|
-
transform: translate(@x, @y);
|
|
147
|
-
}
|
|
148
|
-
.translate3d(@x; @y; @z) {
|
|
149
|
-
-webkit-transform: translate3d(@x, @y, @z);
|
|
150
|
-
transform: translate3d(@x, @y, @z);
|
|
151
|
-
}
|
|
152
|
-
.rotate(@degrees) {
|
|
153
|
-
-webkit-transform: rotate(@degrees);
|
|
154
|
-
-ms-transform: rotate(@degrees); // IE9 only
|
|
155
|
-
-o-transform: rotate(@degrees);
|
|
156
|
-
transform: rotate(@degrees);
|
|
157
|
-
}
|
|
158
|
-
.rotateX(@degrees) {
|
|
159
|
-
-webkit-transform: rotateX(@degrees);
|
|
160
|
-
-ms-transform: rotateX(@degrees); // IE9 only
|
|
161
|
-
-o-transform: rotateX(@degrees);
|
|
162
|
-
transform: rotateX(@degrees);
|
|
163
|
-
}
|
|
164
|
-
.rotateY(@degrees) {
|
|
165
|
-
-webkit-transform: rotateY(@degrees);
|
|
166
|
-
-ms-transform: rotateY(@degrees); // IE9 only
|
|
167
|
-
-o-transform: rotateY(@degrees);
|
|
168
|
-
transform: rotateY(@degrees);
|
|
169
|
-
}
|
|
170
|
-
.perspective(@perspective) {
|
|
171
|
-
-webkit-perspective: @perspective;
|
|
172
|
-
-moz-perspective: @perspective;
|
|
173
|
-
perspective: @perspective;
|
|
174
|
-
}
|
|
175
|
-
.perspective-origin(@perspective) {
|
|
176
|
-
-webkit-perspective-origin: @perspective;
|
|
177
|
-
-moz-perspective-origin: @perspective;
|
|
178
|
-
perspective-origin: @perspective;
|
|
179
|
-
}
|
|
180
|
-
.transform-origin(@origin) {
|
|
181
|
-
-webkit-transform-origin: @origin;
|
|
182
|
-
-moz-transform-origin: @origin;
|
|
183
|
-
-ms-transform-origin: @origin; // IE9 only
|
|
184
|
-
transform-origin: @origin;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
// Transitions
|
|
189
|
-
|
|
190
|
-
.transition(@transition) {
|
|
191
|
-
-webkit-transition: @transition;
|
|
192
|
-
-o-transition: @transition;
|
|
193
|
-
transition: @transition;
|
|
194
|
-
}
|
|
195
|
-
.transition-property(@transition-property) {
|
|
196
|
-
-webkit-transition-property: @transition-property;
|
|
197
|
-
transition-property: @transition-property;
|
|
198
|
-
}
|
|
199
|
-
.transition-delay(@transition-delay) {
|
|
200
|
-
-webkit-transition-delay: @transition-delay;
|
|
201
|
-
transition-delay: @transition-delay;
|
|
202
|
-
}
|
|
203
|
-
.transition-duration(@transition-duration) {
|
|
204
|
-
-webkit-transition-duration: @transition-duration;
|
|
205
|
-
transition-duration: @transition-duration;
|
|
206
|
-
}
|
|
207
|
-
.transition-timing-function(@timing-function) {
|
|
208
|
-
-webkit-transition-timing-function: @timing-function;
|
|
209
|
-
transition-timing-function: @timing-function;
|
|
210
|
-
}
|
|
211
|
-
.transition-transform(@transition) {
|
|
212
|
-
-webkit-transition: -webkit-transform @transition;
|
|
213
|
-
-moz-transition: -moz-transform @transition;
|
|
214
|
-
-o-transition: -o-transform @transition;
|
|
215
|
-
transition: transform @transition;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
// User select
|
|
220
|
-
// For selecting text on the page
|
|
221
|
-
|
|
222
|
-
.user-select(@select) {
|
|
223
|
-
-webkit-user-select: @select;
|
|
224
|
-
-moz-user-select: @select;
|
|
225
|
-
-ms-user-select: @select; // IE10+
|
|
226
|
-
user-select: @select;
|
|
227
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
// Mixins
|
|
2
|
-
// --------------------------------------------------
|
|
3
|
-
|
|
4
|
-
// Utilities
|
|
5
|
-
@import "mixins/hide-text.less";
|
|
6
|
-
@import "mixins/opacity.less";
|
|
7
|
-
@import "mixins/image.less";
|
|
8
|
-
@import "mixins/labels.less";
|
|
9
|
-
@import "mixins/reset-filter.less";
|
|
10
|
-
@import "mixins/resize.less";
|
|
11
|
-
@import "mixins/responsive-visibility.less";
|
|
12
|
-
@import "mixins/size.less";
|
|
13
|
-
@import "mixins/tab-focus.less";
|
|
14
|
-
@import "mixins/text-emphasis.less";
|
|
15
|
-
@import "mixins/text-overflow.less";
|
|
16
|
-
@import "mixins/vendor-prefixes.less";
|
|
17
|
-
|
|
18
|
-
// Components
|
|
19
|
-
@import "mixins/alerts.less";
|
|
20
|
-
@import "mixins/buttons.less";
|
|
21
|
-
@import "mixins/panels.less";
|
|
22
|
-
@import "mixins/pagination.less";
|
|
23
|
-
@import "mixins/list-group.less";
|
|
24
|
-
@import "mixins/nav-divider.less";
|
|
25
|
-
@import "mixins/forms.less";
|
|
26
|
-
@import "mixins/progress-bar.less";
|
|
27
|
-
@import "mixins/table-row.less";
|
|
28
|
-
|
|
29
|
-
// Skins
|
|
30
|
-
@import "mixins/background-variant.less";
|
|
31
|
-
@import "mixins/border-radius.less";
|
|
32
|
-
@import "mixins/gradients.less";
|
|
33
|
-
|
|
34
|
-
// Layout
|
|
35
|
-
@import "mixins/clearfix.less";
|
|
36
|
-
@import "mixins/center-block.less";
|
|
37
|
-
@import "mixins/nav-vertical-align.less";
|
|
38
|
-
@import "mixins/grid-framework.less";
|
|
39
|
-
@import "mixins/grid.less";
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Modals
|
|
3
|
-
// --------------------------------------------------
|
|
4
|
-
|
|
5
|
-
// .modal-open - body class for killing the scroll
|
|
6
|
-
// .modal - container to scroll within
|
|
7
|
-
// .modal-dialog - positioning shell for the actual modal
|
|
8
|
-
// .modal-content - actual modal w/ bg and corners and shit
|
|
9
|
-
|
|
10
|
-
// Kill the scroll on the body
|
|
11
|
-
.modal-open {
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// Container that the modal scrolls within
|
|
16
|
-
.modal {
|
|
17
|
-
display: none;
|
|
18
|
-
overflow: hidden;
|
|
19
|
-
position: fixed;
|
|
20
|
-
top: 0;
|
|
21
|
-
right: 0;
|
|
22
|
-
bottom: 0;
|
|
23
|
-
left: 0;
|
|
24
|
-
z-index: @zindex-modal;
|
|
25
|
-
-webkit-overflow-scrolling: touch;
|
|
26
|
-
|
|
27
|
-
// Prevent Chrome on Windows from adding a focus outline. For details, see
|
|
28
|
-
// https://github.com/twbs/bootstrap/pull/10951.
|
|
29
|
-
outline: 0;
|
|
30
|
-
|
|
31
|
-
// When fading in the modal, animate it to slide down
|
|
32
|
-
&.fade .modal-dialog {
|
|
33
|
-
.translate(0, -25%);
|
|
34
|
-
.transition-transform(~"0.3s ease-out");
|
|
35
|
-
}
|
|
36
|
-
&.in .modal-dialog { .translate(0, 0) }
|
|
37
|
-
}
|
|
38
|
-
.modal-open .modal {
|
|
39
|
-
overflow-x: hidden;
|
|
40
|
-
overflow-y: auto;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// Shell div to position the modal with bottom padding
|
|
44
|
-
.modal-dialog {
|
|
45
|
-
position: relative;
|
|
46
|
-
width: auto;
|
|
47
|
-
margin: 10px;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// Actual modal
|
|
51
|
-
.modal-content {
|
|
52
|
-
position: relative;
|
|
53
|
-
background-color: @modal-content-bg;
|
|
54
|
-
border: 1px solid @modal-content-fallback-border-color; //old browsers fallback (ie8 etc)
|
|
55
|
-
border: 1px solid @modal-content-border-color;
|
|
56
|
-
border-radius: @border-radius-large;
|
|
57
|
-
.box-shadow(0 3px 9px rgba(0,0,0,.5));
|
|
58
|
-
background-clip: padding-box;
|
|
59
|
-
// Remove focus outline from opened modal
|
|
60
|
-
outline: 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// Modal background
|
|
64
|
-
.modal-backdrop {
|
|
65
|
-
position: fixed;
|
|
66
|
-
top: 0;
|
|
67
|
-
right: 0;
|
|
68
|
-
bottom: 0;
|
|
69
|
-
left: 0;
|
|
70
|
-
z-index: @zindex-modal-background;
|
|
71
|
-
background-color: @modal-backdrop-bg;
|
|
72
|
-
// Fade for backdrop
|
|
73
|
-
&.fade { .opacity(0); }
|
|
74
|
-
&.in { .opacity(@modal-backdrop-opacity); }
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
// Modal header
|
|
78
|
-
// Top section of the modal w/ title and dismiss
|
|
79
|
-
.modal-header {
|
|
80
|
-
padding: @modal-title-padding;
|
|
81
|
-
border-bottom: 1px solid @modal-header-border-color;
|
|
82
|
-
min-height: (@modal-title-padding + @modal-title-line-height);
|
|
83
|
-
}
|
|
84
|
-
// Close icon
|
|
85
|
-
.modal-header .close {
|
|
86
|
-
margin-top: -2px;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// Title text within header
|
|
90
|
-
.modal-title {
|
|
91
|
-
margin: 0;
|
|
92
|
-
line-height: @modal-title-line-height;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Modal body
|
|
96
|
-
// Where all modal content resides (sibling of .modal-header and .modal-footer)
|
|
97
|
-
.modal-body {
|
|
98
|
-
position: relative;
|
|
99
|
-
padding: @modal-inner-padding;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Footer (for actions)
|
|
103
|
-
.modal-footer {
|
|
104
|
-
padding: @modal-inner-padding;
|
|
105
|
-
text-align: right; // right align buttons
|
|
106
|
-
border-top: 1px solid @modal-footer-border-color;
|
|
107
|
-
&:extend(.clearfix all); // clear it in case folks use .pull-* classes on buttons
|
|
108
|
-
|
|
109
|
-
// Properly space out buttons
|
|
110
|
-
.btn + .btn {
|
|
111
|
-
margin-left: 5px;
|
|
112
|
-
margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
|
|
113
|
-
}
|
|
114
|
-
// but override that for button groups
|
|
115
|
-
.btn-group .btn + .btn {
|
|
116
|
-
margin-left: -1px;
|
|
117
|
-
}
|
|
118
|
-
// and override it for block buttons as well
|
|
119
|
-
.btn-block + .btn-block {
|
|
120
|
-
margin-left: 0;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
// Measure scrollbar width for padding body during modal show/hide
|
|
125
|
-
.modal-scrollbar-measure {
|
|
126
|
-
position: absolute;
|
|
127
|
-
top: -9999px;
|
|
128
|
-
width: 50px;
|
|
129
|
-
height: 50px;
|
|
130
|
-
overflow: scroll;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
// Scale up the modal
|
|
134
|
-
@media (min-width: @screen-sm-min) {
|
|
135
|
-
// Automatically set modal's width for larger viewports
|
|
136
|
-
.modal-dialog {
|
|
137
|
-
width: @modal-md;
|
|
138
|
-
margin: 30px auto;
|
|
139
|
-
}
|
|
140
|
-
.modal-content {
|
|
141
|
-
.box-shadow(0 5px 15px rgba(0,0,0,.5));
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
// Modal sizes
|
|
145
|
-
.modal-sm { width: @modal-sm; }
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
@media (min-width: @screen-md-min) {
|
|
149
|
-
.modal-lg { width: @modal-lg; }
|
|
150
|
-
}
|