mirror of
https://github.com/humhub/humhub.git
synced 2025-02-22 02:09:21 +01:00
* Rework modules section * Rework modules section * Filter modules * Menu controls for module cards * Display only modules * Filter online modules by category * Filter installed modules by category * Filter modules by tags * Display module status * Reorder tags on module filters * Display HumHub update info on modules list * Menu controls on online modules * Display available updates for modules * Remove not used code of old module views * Link to settings from modules page * Redesign modules for user and space * Fix user modules layout on fluid themes * Animate module updating * Button to update all modules * Update style for modules list on space creating * Fixed errors without available Marketplace module * Sort enabled modules before disabled * Use MarketplaceModule::$enabled on init modules list * Update method getEnabledMarketplaceModule() * Use MarketplaceModule::$enabled on init modules list * Move module online info methods into separate behavior * Update code of modules list * Rename 'humhub.directory.js' to 'humhub.cards.js' * Factorize online module data loading * Move purchase licence key to new modules layout * Align center update info * Fix filter modules * Fix filter modules by tags "Installed"/"Not Installed" * Update styles of modules settings icon * New online module status "isPartner" * Keep single active filter tag on modules list * Hide the not installed deprecated modules * Update layout of module status label * Space above filter "Tags" * Detect module status "Professional Edition" as top priority * Hide installed or not installed modules on single filter tag * Update styles for upgrade humhub info on modules list * Tooltip for button "Professional Edition" * Fix "Buy" link * Restyle no modules results * Update no modules results * Minor changes * Changed Updater link Co-authored-by: Lucas Bartholemy <lucas@bartholemy.com> Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
297 lines
5.1 KiB
Plaintext
297 lines
5.1 KiB
Plaintext
//
|
|
// Buttons
|
|
// --------------------------------------------------
|
|
.btn {
|
|
float: none;
|
|
border: none;
|
|
-webkit-box-shadow: none;
|
|
box-shadow: none;
|
|
-moz-box-shadow: none;
|
|
background-image: none;
|
|
text-shadow: none;
|
|
border-radius: 3px;
|
|
outline: none !important;
|
|
margin-bottom: 0;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
padding: 8px 16px;
|
|
}
|
|
|
|
.input.btn {
|
|
outline: none;
|
|
}
|
|
|
|
.btn-lg {
|
|
padding: 16px 28px;
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 4px 8px;
|
|
font-size: 12px;
|
|
|
|
i {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
.btn-xs {
|
|
padding: 1px 5px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.btn-default {
|
|
background: @default;
|
|
color: @text-color-secondary !important;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
background: darken(@default, 2%);
|
|
text-decoration: none;
|
|
color: @text-color-secondary;
|
|
}
|
|
|
|
&:active,
|
|
&.active {
|
|
outline: 0;
|
|
background: darken(@default, 5%);
|
|
}
|
|
}
|
|
|
|
.btn-default[disabled],
|
|
.btn-default.disabled {
|
|
background: lighten(@default, 2%);
|
|
|
|
&:hover,
|
|
&:focus {
|
|
background: lighten(@default, 2%);
|
|
}
|
|
|
|
&:active,
|
|
&.active {
|
|
background: lighten(@default, 2%);
|
|
}
|
|
}
|
|
|
|
.btn-primary {
|
|
background: @primary;
|
|
color: @text-color-contrast !important;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
background: darken(@primary, 5%);
|
|
text-decoration: none;
|
|
}
|
|
|
|
&:active,
|
|
&.active {
|
|
outline: 0;
|
|
border: 1px solid @primary;
|
|
padding: 7px 15px;
|
|
color: @primary !important;
|
|
background: @text-color-contrast !important;
|
|
box-shadow: none;
|
|
&.btn-sm {
|
|
padding: 3px 7px;
|
|
}
|
|
&.btn-xs {
|
|
padding: 0 4px;
|
|
}
|
|
}
|
|
|
|
&.active:hover,
|
|
&.active:focus {
|
|
border: 1px solid darken(@primary, 5%);
|
|
color: darken(@primary, 5%) !important;
|
|
}
|
|
}
|
|
|
|
.btn-primary[disabled],
|
|
.btn-primary.disabled {
|
|
background: lighten(@primary, 5%);
|
|
|
|
&:hover,
|
|
&:focus {
|
|
background: lighten(@primary, 5%);
|
|
}
|
|
|
|
&:active,
|
|
&.active {
|
|
background: lighten(@primary, 5%) !important;
|
|
}
|
|
}
|
|
|
|
.btn-info {
|
|
background: @info;
|
|
color: @text-color-contrast !important;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
background: darken(@info, 5%) !important;
|
|
text-decoration: none;
|
|
}
|
|
|
|
&:active,
|
|
&.active {
|
|
outline: 0;
|
|
border: 1px solid @info;
|
|
padding: 7px 15px;
|
|
color: @info !important;
|
|
background: @text-color-contrast !important;
|
|
box-shadow: none;
|
|
&.btn-sm {
|
|
padding: 3px 7px;
|
|
}
|
|
&.btn-xs {
|
|
padding: 0 4px;
|
|
}
|
|
}
|
|
|
|
&.active:hover,
|
|
&.active:focus {
|
|
border: 1px solid darken(@info, 5%);
|
|
color: darken(@info, 5%) !important;
|
|
}
|
|
}
|
|
|
|
.btn-info[disabled],
|
|
.btn-info.disabled {
|
|
background: lighten(@info, 5%);
|
|
|
|
&:hover,
|
|
&:focus {
|
|
background: lighten(@info, 5%);
|
|
}
|
|
|
|
&:active,
|
|
&.active {
|
|
background: lighten(@info, 5%) !important;
|
|
}
|
|
}
|
|
|
|
.btn-danger {
|
|
background: @danger;
|
|
color: @text-color-contrast !important;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
background: darken(@danger, 5%);
|
|
text-decoration: none;
|
|
}
|
|
|
|
&:active,
|
|
&.active {
|
|
outline: 0;
|
|
background: darken(@danger, 5%) !important;
|
|
}
|
|
}
|
|
|
|
.btn-danger[disabled],
|
|
.btn-danger.disabled {
|
|
background: lighten(@danger, 5%);
|
|
|
|
&:hover,
|
|
&:focus {
|
|
background: lighten(@danger, 5%);
|
|
}
|
|
|
|
&:active,
|
|
&.active {
|
|
background: lighten(@danger, 5%) !important;
|
|
}
|
|
}
|
|
|
|
.btn-success {
|
|
background: @success;
|
|
color: @text-color-contrast !important;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
background: darken(@success, 5%);
|
|
text-decoration: none;
|
|
}
|
|
|
|
&:active,
|
|
&.active {
|
|
outline: 0;
|
|
background: darken(@success, 5%) !important;
|
|
}
|
|
}
|
|
|
|
.btn-success[disabled],
|
|
.btn-success.disabled {
|
|
background: lighten(@success, 5%);
|
|
|
|
&:hover,
|
|
&:focus {
|
|
background: lighten(@success, 5%);
|
|
}
|
|
|
|
&:active,
|
|
&.active {
|
|
background: lighten(@success, 5%) !important;
|
|
}
|
|
}
|
|
|
|
.btn-warning {
|
|
background: @warning;
|
|
color: @text-color-contrast !important;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
background: darken(@warning, 2%);
|
|
text-decoration: none;
|
|
}
|
|
|
|
&:active,
|
|
&.active {
|
|
outline: 0;
|
|
background: darken(@warning, 2%) !important;
|
|
}
|
|
}
|
|
|
|
.btn-warning[disabled],
|
|
.btn-warning.disabled {
|
|
background: lighten(@warning, 5%);
|
|
|
|
&:hover,
|
|
&:focus {
|
|
background: lighten(@warning, 5%);
|
|
}
|
|
|
|
&:active,
|
|
&.active {
|
|
background: lighten(@warning, 5%) !important;
|
|
}
|
|
}
|
|
|
|
.btn-link {
|
|
color: @link !important;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
color: darken(@link, 2%);
|
|
text-decoration: none;
|
|
}
|
|
|
|
&:active,
|
|
&.active {
|
|
outline: 0;
|
|
color: darken(@link, 2%) !important;
|
|
}
|
|
}
|
|
|
|
.btn-link[disabled],
|
|
.btn-link.disabled {
|
|
color: lighten(@link, 5%);
|
|
|
|
&:hover,
|
|
&:focus {
|
|
color: lighten(@link, 5%);
|
|
}
|
|
|
|
&:active,
|
|
&.active {
|
|
color: lighten(@link, 5%) !important;
|
|
}
|
|
}
|