diff --git a/extension.json b/extension.json index c5e5b7b9e..7cd5aba9b 100644 --- a/extension.json +++ b/extension.json @@ -266,10 +266,6 @@ "mmv.ui.reuse.shareembed/mmv.ui.reuse.share.js", "mmv.ui.reuse.shareembed/mmv.ui.reuse.embed.js" ], - "styles": [ - "mmv.ui.reuse.shareembed/mmv.ui.reuse.share.less", - "mmv.ui.reuse.shareembed/mmv.ui.reuse.embed.less" - ], "dependencies": [ "codex-styles", "mediawiki.user", diff --git a/resources/mmv.ui.reuse.shareembed/mmv.ui.reuse.embed.less b/resources/mmv.ui.reuse.shareembed/mmv.ui.reuse.embed.less deleted file mode 100644 index 838a7aa06..000000000 --- a/resources/mmv.ui.reuse.shareembed/mmv.ui.reuse.embed.less +++ /dev/null @@ -1,9 +0,0 @@ -@embed-dimensions-color: #72777d; - -.mw-mmv-reuse-dialog .mw-mmv-embed-pane { - padding: 20px 27px; - - .mw-widget-copyTextLayout { - margin-top: 0; - } -} diff --git a/resources/mmv.ui.reuse.shareembed/mmv.ui.reuse.share.less b/resources/mmv.ui.reuse.shareembed/mmv.ui.reuse.share.less deleted file mode 100644 index 411a5e392..000000000 --- a/resources/mmv.ui.reuse.shareembed/mmv.ui.reuse.share.less +++ /dev/null @@ -1,24 +0,0 @@ -.mw-mmv-share-pane { - .mw-widget-copyTextLayout { - margin-top: 0; - margin-left: 2em; - } -} - -.mw-mmv-share-page-link { - float: left; - width: 1.5em; - height: 2.3em; - padding-right: 0.5em; - /* @embed */ - background-image: url( img/link.svg ); - background-size: 1em; - background-position: left center; - background-repeat: no-repeat; - - &:hover { - /* @embed */ - background-image: url( img/link-hover.svg ); - text-decoration: none; - } -} diff --git a/resources/mmv/ui/mmv.ui.reuse.dialog.less b/resources/mmv/ui/mmv.ui.reuse.dialog.less index 37fc2b627..430511206 100644 --- a/resources/mmv/ui/mmv.ui.reuse.dialog.less +++ b/resources/mmv/ui/mmv.ui.reuse.dialog.less @@ -13,52 +13,6 @@ // positioned relative to the reuse button bottom: @metadatabar-above-fold-height + @progress-bar-height - 5px; - .mw-mmv-reuse-tabs { - @divider-color: @background-color-disabled; - position: static; - box-shadow: none; - padding-bottom: 0; // OOUI override - border: 0; // OOUI override - border-bottom: @border-width-base @border-style-base @divider-color; - border-radius: @border-radius-base @border-radius-base 0 0; - - .oo-ui-iconedElement-icon.oo-ui-icon-check, - .oo-ui-iconElement-icon.oo-ui-icon-check { - display: none; - } - - .oo-ui-optionWidget { - @tab-border-height: 3px; - @highlighted-tab-color: #e1f3ff; - @selected-tab-color: #2a4b8d; - display: inline-block; - padding: 10px 25px; - font-size: 1.2em; - - &.oo-ui-optionWidget-highlighted { - border-bottom: ( @tab-border-height - @border-width-base ) @border-style-base @highlighted-tab-color; - } - - &.oo-ui-optionWidget-selected, - &.oo-ui-optionWidget-highlighted.oo-ui-optionWidget-selected { - border-bottom: @tab-border-height @border-style-base @selected-tab-color; - } - - &:first-child { - border-radius: @border-radius-base 0 0 0; - } - } - } - - .mw-mmv-reuse-pane { - display: none; - padding: 20px; - - &.active { - display: block; - } - } - .mw-mmv-dialog-down-arrow { bottom: @metadatabar-above-fold-height + @progress-bar-height + 5px; }