From c1f9b1f7b1b77776192048005dcc66dcf3df2bfb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 27 Dec 2014 15:41:37 +0100 Subject: Update to MediaWiki 1.24.1 --- skins/vector/beta/screen.less | 75 --- skins/vector/beta/variables.less | 37 -- skins/vector/collapsibleNav.js | 121 ---- skins/vector/collapsibleNav.less | 91 --- skins/vector/collapsibleTabs.js | 210 ------- skins/vector/csshover.htc | 284 --------- skins/vector/csshover.min.htc | 12 - skins/vector/externalLinks.less | 75 --- skins/vector/images/arrow-collapsed-ltr.png | Bin 143 -> 0 bytes skins/vector/images/arrow-collapsed-ltr.svg | 37 -- skins/vector/images/arrow-collapsed-rtl.png | Bin 145 -> 0 bytes skins/vector/images/arrow-collapsed-rtl.svg | 37 -- skins/vector/images/arrow-down-focus-icon.png | Bin 135 -> 0 bytes skins/vector/images/arrow-down-focus-icon.svg | 37 -- skins/vector/images/arrow-down-icon.png | Bin 135 -> 0 bytes skins/vector/images/arrow-down-icon.svg | 37 -- skins/vector/images/arrow-expanded.png | Bin 145 -> 0 bytes skins/vector/images/arrow-expanded.svg | 37 -- skins/vector/images/audio-icon.png | Bin 185 -> 0 bytes skins/vector/images/bullet-icon.png | Bin 107 -> 0 bytes skins/vector/images/document-icon.png | Bin 135 -> 0 bytes skins/vector/images/edit-icon.png | Bin 276 -> 0 bytes skins/vector/images/external-link-ltr-icon.png | Bin 141 -> 0 bytes skins/vector/images/external-link-rtl-icon.png | Bin 141 -> 0 bytes skins/vector/images/file-icon.png | Bin 133 -> 0 bytes skins/vector/images/link-icon.png | Bin 359 -> 0 bytes skins/vector/images/lock-icon.png | Bin 174 -> 0 bytes skins/vector/images/magnify-clip.png | Bin 204 -> 0 bytes skins/vector/images/mail-icon.png | Bin 197 -> 0 bytes skins/vector/images/news-icon.png | Bin 180 -> 0 bytes skins/vector/images/page-fade.png | Bin 115 -> 0 bytes skins/vector/images/portal-break-ltr.png | Bin 168 -> 0 bytes skins/vector/images/portal-break-rtl.png | Bin 161 -> 0 bytes skins/vector/images/portal-break.png | Bin 96 -> 0 bytes skins/vector/images/preferences-break.png | Bin 103 -> 0 bytes skins/vector/images/preferences-fade.png | Bin 85 -> 0 bytes skins/vector/images/search-fade.png | Bin 94 -> 0 bytes skins/vector/images/search-ltr.png | Bin 214 -> 0 bytes skins/vector/images/search-rtl.png | Bin 214 -> 0 bytes skins/vector/images/tab-break.png | Bin 125 -> 0 bytes skins/vector/images/tab-current-fade.png | Bin 70 -> 0 bytes skins/vector/images/tab-normal-fade.png | Bin 117 -> 0 bytes skins/vector/images/talk-icon.png | Bin 173 -> 0 bytes skins/vector/images/user-icon.png | Bin 568 -> 0 bytes skins/vector/images/user-icon.svg | 424 ------------- skins/vector/images/video-icon.png | Bin 162 -> 0 bytes skins/vector/images/watch-icon-loading.gif | Bin 840 -> 0 bytes skins/vector/images/watch-icons.png | Bin 1422 -> 0 bytes skins/vector/screen-hd.less | 28 - skins/vector/screen.less | 791 ------------------------- skins/vector/styles-beta.less | 13 - skins/vector/styles.less | 11 - skins/vector/variables.less | 37 -- skins/vector/vector.js | 55 -- 54 files changed, 2449 deletions(-) delete mode 100644 skins/vector/beta/screen.less delete mode 100644 skins/vector/beta/variables.less delete mode 100644 skins/vector/collapsibleNav.js delete mode 100644 skins/vector/collapsibleNav.less delete mode 100644 skins/vector/collapsibleTabs.js delete mode 100644 skins/vector/csshover.htc delete mode 100644 skins/vector/csshover.min.htc delete mode 100644 skins/vector/externalLinks.less delete mode 100644 skins/vector/images/arrow-collapsed-ltr.png delete mode 100644 skins/vector/images/arrow-collapsed-ltr.svg delete mode 100644 skins/vector/images/arrow-collapsed-rtl.png delete mode 100644 skins/vector/images/arrow-collapsed-rtl.svg delete mode 100644 skins/vector/images/arrow-down-focus-icon.png delete mode 100644 skins/vector/images/arrow-down-focus-icon.svg delete mode 100644 skins/vector/images/arrow-down-icon.png delete mode 100644 skins/vector/images/arrow-down-icon.svg delete mode 100644 skins/vector/images/arrow-expanded.png delete mode 100644 skins/vector/images/arrow-expanded.svg delete mode 100644 skins/vector/images/audio-icon.png delete mode 100644 skins/vector/images/bullet-icon.png delete mode 100644 skins/vector/images/document-icon.png delete mode 100644 skins/vector/images/edit-icon.png delete mode 100644 skins/vector/images/external-link-ltr-icon.png delete mode 100644 skins/vector/images/external-link-rtl-icon.png delete mode 100644 skins/vector/images/file-icon.png delete mode 100644 skins/vector/images/link-icon.png delete mode 100644 skins/vector/images/lock-icon.png delete mode 100644 skins/vector/images/magnify-clip.png delete mode 100644 skins/vector/images/mail-icon.png delete mode 100644 skins/vector/images/news-icon.png delete mode 100644 skins/vector/images/page-fade.png delete mode 100644 skins/vector/images/portal-break-ltr.png delete mode 100644 skins/vector/images/portal-break-rtl.png delete mode 100644 skins/vector/images/portal-break.png delete mode 100644 skins/vector/images/preferences-break.png delete mode 100644 skins/vector/images/preferences-fade.png delete mode 100644 skins/vector/images/search-fade.png delete mode 100644 skins/vector/images/search-ltr.png delete mode 100644 skins/vector/images/search-rtl.png delete mode 100644 skins/vector/images/tab-break.png delete mode 100644 skins/vector/images/tab-current-fade.png delete mode 100644 skins/vector/images/tab-normal-fade.png delete mode 100644 skins/vector/images/talk-icon.png delete mode 100644 skins/vector/images/user-icon.png delete mode 100644 skins/vector/images/user-icon.svg delete mode 100644 skins/vector/images/video-icon.png delete mode 100644 skins/vector/images/watch-icon-loading.gif delete mode 100644 skins/vector/images/watch-icons.png delete mode 100644 skins/vector/screen-hd.less delete mode 100644 skins/vector/screen.less delete mode 100644 skins/vector/styles-beta.less delete mode 100644 skins/vector/styles.less delete mode 100644 skins/vector/variables.less delete mode 100644 skins/vector/vector.js (limited to 'skins/vector') diff --git a/skins/vector/beta/screen.less b/skins/vector/beta/screen.less deleted file mode 100644 index 6d56cd5c..00000000 --- a/skins/vector/beta/screen.less +++ /dev/null @@ -1,75 +0,0 @@ -/* Content */ -#content { - line-height: 1.5em; - .mw-editsection { - font-family: @content-font-family; - } - - h1, - #firstHeading { - font-family: @content-heading-font-family; - font-size: 1.833em; - line-height: 22pt; - padding: 0; - margin-bottom: 4pt; - } - - h2 { - font-size: 1.5em; - line-height: 22pt; - } - - h2, - h3, - h4, - h5, - h6 { - font-family: @content-heading-font-family; - padding: 0; - margin-bottom: 4pt; - margin-top: 14pt; - } - - h3 { - font-size: 1.17em; - line-height: 22pt; - } - - h3, - h4 { - font-weight: bold; - } - - h4, - h5, - h6 { - font-size: 100%; /* (reset) */ - } - - h6 { - font-style: italic; - } - - p { - margin-bottom: 8pt; - } - - // FIXME: this is hacky - #toc h2 { - font-size: 100%; - } -} - -/* Personal menu */ -#p-personal a { - color: #555; -} - -/* Main menu */ -div#mw-panel div.portal { - margin-left: 1.25em; - h3 { - margin: 0; - line-height: 1; - } -} diff --git a/skins/vector/beta/variables.less b/skins/vector/beta/variables.less deleted file mode 100644 index 08e662dc..00000000 --- a/skins/vector/beta/variables.less +++ /dev/null @@ -1,37 +0,0 @@ -@html-font-size: 90%; - -@body-font-size: inherit; - -// Page content -@content-font-family: "Helvetica Neue", "Helvetica", "Nimbus Sans L", "Arial", "Liberation Sans", sans-serif; -@content-font-color: #252525; -@content-font-size: 0.9em; -@content-line-height: inherit; -@content-padding: 1em; -@content-heading-font-size: 1.6em; -@content-heading-font-family: Georgia, "DejaVu Serif", serif; - -// Common menu -@menu-link-color: #555; - -// Main menu -@menu-main-font-size: 0.82em; -@menu-main-heading-font-size: 100%; -@menu-main-heading-padding: 5px 0; - -@menu-main-body-font-size: inherit; -@menu-main-body-link-color: inherit; -@menu-main-body-link-visited-color: inherit; -@menu-main-body-margin: 0; -@menu-main-body-padding: 0 0 10px; -@menu-main-logo-left: 1.6em; - -// Personal menu -@menu-personal-font-size: 0.75em; - -// Collapsible nav -@collapsible-nav-heading-color: #555; -@collapsible-nav-heading-collapsed-color: inherit; - -@collapsible-nav-heading-padding: 4px 0 3px 1.5em; -@collapsible-nav-body-margin: 0 0 0 1.25em; diff --git a/skins/vector/collapsibleNav.js b/skins/vector/collapsibleNav.js deleted file mode 100644 index 67313c95..00000000 --- a/skins/vector/collapsibleNav.js +++ /dev/null @@ -1,121 +0,0 @@ -/** - * Collapsible navigation for Vector - */ -( function ( mw, $ ) { - 'use strict'; - var map; - - // Use the same function for all navigation headings - don't repeat - function toggle( $element ) { - $.cookie( - 'vector-nav-' + $element.parent().attr( 'id' ), - $element.parent().is( '.collapsed' ), - { 'expires': 30, 'path': '/' } - ); - $element - .parent() - .toggleClass( 'expanded' ) - .toggleClass( 'collapsed' ) - .find( '.body' ) - .slideToggle( 'fast' ); - } - - /* Browser Support */ - - map = { - // Left-to-right languages - ltr: { - // Collapsible Nav is broken in Opera < 9.6 and Konqueror < 4 - opera: [['>=', 9.6]], - konqueror: [['>=', 4.0]], - blackberry: false, - ipod: false, - iphone: false, - ps3: false - }, - // Right-to-left languages - rtl: { - opera: [['>=', 9.6]], - konqueror: [['>=', 4.0]], - blackberry: false, - ipod: false, - iphone: false, - ps3: false - } - }; - if ( !$.client.test( map ) ) { - return true; - } - - $( function ( $ ) { - var $headings, tabIndex; - - /* General Portal Modification */ - - // Always show the first portal - $( '#mw-panel > .portal:first' ).addClass( 'first persistent' ); - // Apply a class to the entire panel to activate styles - $( '#mw-panel' ).addClass( 'collapsible-nav' ); - // Use cookie data to restore preferences of what to show and hide - $( '#mw-panel > .portal:not(.persistent)' ) - .each( function ( i ) { - var id = $(this).attr( 'id' ), - state = $.cookie( 'vector-nav-' + id ); - // Add anchor tag to heading for better accessibility - $( this ).find( 'h3' ).wrapInner( $( '' ).click( false ) ); - // In the case that we are not showing the new version, let's show the languages by default - if ( - state === 'true' || - ( state === null && i < 1 ) || - ( state === null && id === 'p-lang' ) - ) { - $(this) - .addClass( 'expanded' ) - .removeClass( 'collapsed' ) - .find( '.body' ) - .hide() // bug 34450 - .show(); - } else { - $(this) - .addClass( 'collapsed' ) - .removeClass( 'expanded' ); - } - // Re-save cookie - if ( state !== null ) { - $.cookie( 'vector-nav-' + $(this).attr( 'id' ), state, { 'expires': 30, 'path': '/' } ); - } - } ); - - /* Tab Indexing */ - - $headings = $( '#mw-panel > .portal:not(.persistent) > h3' ); - - // Get the highest tab index - tabIndex = $( document ).lastTabIndex() + 1; - - // Fix the search not having a tabindex - $( '#searchInput' ).attr( 'tabindex', tabIndex++ ); - - // Make it keyboard accessible - $headings.attr( 'tabindex', function () { - return tabIndex++; - }); - - // Toggle the selected menu's class and expand or collapse the menu - $( '#mw-panel' ) - .delegate( '.portal:not(.persistent) > h3', 'keydown', function ( e ) { - // Make the space and enter keys act as a click - if ( e.which === 13 /* Enter */ || e.which === 32 /* Space */ ) { - toggle( $(this) ); - } - } ) - .delegate( '.portal:not(.persistent) > h3', 'mousedown', function ( e ) { - if ( e.which !== 3 ) { // Right mouse click - toggle( $(this) ); - $(this).blur(); - } - return false; - } ); - }); - -}( mediaWiki, jQuery ) ); diff --git a/skins/vector/collapsibleNav.less b/skins/vector/collapsibleNav.less deleted file mode 100644 index e6f5c9aa..00000000 --- a/skins/vector/collapsibleNav.less +++ /dev/null @@ -1,91 +0,0 @@ -/** - * LESS Stylesheet for collapsible nav - */ -@import "mediawiki.mixins.less"; - -#mw-panel.collapsible-nav { - .portal { - background-position: left top; - background-repeat: no-repeat; - .background-image('images/portal-break.png'); - padding: 0.25em 0 !important; - margin: -11px 9px 10px 11px; - - h3 { - font-size: @menu-main-heading-font-size; - color: @collapsible-nav-heading-color; - font-weight: normal; - background-position: left center; - background-repeat: no-repeat; - .background-image-svg('images/arrow-expanded.svg', 'images/arrow-expanded.png'); - padding: @collapsible-nav-heading-padding; - margin-bottom: 0; - - &:hover { - cursor: pointer; - text-decoration: none; - } - - a { - color: @collapsible-nav-heading-color; - text-decoration: none; - } - } - - .body { - margin: @collapsible-nav-body-margin; - background-image: none !important; - padding-top: 0; - display: none; - - ul { - li { - padding: 0.25em 0; - } - } - } - - - /* First */ - &.first { - background-image: none; - margin-top: 0; - h3 { - display: none; - } - } - - /* Persistent */ - &.persistent { - .body { - display: block; - margin-left: 0.5em; - } - - h3 { - background-image: none !important; - padding-left: 0.7em; - cursor: default; - } - } - - /* Collapsed */ - &.collapsed { - h3 { - color: @collapsible-nav-heading-collapsed-color; - background-position: left center; - background-repeat: no-repeat; - .background-image-svg('images/arrow-collapsed-ltr.svg', 'images/arrow-collapsed-ltr.png'); - margin-bottom: 0; - - &:hover { - text-decoration: underline; - } - - a { - color: @collapsible-nav-heading-collapsed-color; - } - } - } - } -} diff --git a/skins/vector/collapsibleTabs.js b/skins/vector/collapsibleTabs.js deleted file mode 100644 index e3c2c519..00000000 --- a/skins/vector/collapsibleTabs.js +++ /dev/null @@ -1,210 +0,0 @@ -/** - * Collapsible tabs jQuery Plugin - */ -( function ( $ ) { - var rtl = $( 'html' ).attr( 'dir' ) === 'rtl'; - $.fn.collapsibleTabs = function ( options ) { - // return if the function is called on an empty jquery object - if ( !this.length ) { - return this; - } - // Merge options into the defaults - var $settings = $.extend( {}, $.collapsibleTabs.defaults, options ); - - this.each( function () { - var $el = $( this ); - // add the element to our array of collapsible managers - $.collapsibleTabs.instances = ( $.collapsibleTabs.instances.length === 0 ? - $el : $.collapsibleTabs.instances.add( $el ) ); - // attach the settings to the elements - $el.data( 'collapsibleTabsSettings', $settings ); - // attach data to our collapsible elements - $el.children( $settings.collapsible ).each( function () { - $.collapsibleTabs.addData( $( this ) ); - } ); - } ); - - // if we haven't already bound our resize hanlder, bind it now - if ( !$.collapsibleTabs.boundEvent ) { - $( window ) - .delayedBind( 500, 'resize', function () { - $.collapsibleTabs.handleResize(); - } ); - } - // call our resize handler to setup the page - $.collapsibleTabs.handleResize(); - return this; - }; - /** - * Returns the amount of horizontal distance between the two tabs groups - * (#left-navigation and #right-navigation), in pixels. If negative, this - * means that the tabs overlap, and the value is the width of overlapping - * parts. - * - * Used in default expandCondition and collapseCondition. - * - * @return {Numeric} distance/overlap in pixels - */ - function calculateTabDistance() { - var $leftTab, $rightTab, leftEnd, rightStart; - - // In RTL, #right-navigation is actually on the left and vice versa. - // Hooray for descriptive naming. - if ( !rtl ) { - $leftTab = $( '#left-navigation' ); - $rightTab = $( '#right-navigation' ); - } else { - $leftTab = $( '#right-navigation' ); - $rightTab = $( '#left-navigation' ); - } - - leftEnd = $leftTab.offset().left + $leftTab.width(); - rightStart = $rightTab.offset().left; - - return rightStart - leftEnd; - } - $.collapsibleTabs = { - instances: [], - boundEvent: null, - defaults: { - expandedContainer: '#p-views ul', - collapsedContainer: '#p-cactions ul', - collapsible: 'li.collapsible', - shifting: false, - expandCondition: function ( eleWidth ) { - // If there's at least eleWidth pixels free space, expand. - return calculateTabDistance() >= eleWidth; - }, - collapseCondition: function () { - // If there's an overlap, collapse. - return calculateTabDistance() < 0; - } - }, - addData: function ( $collapsible ) { - var $settings = $collapsible.parent().data( 'collapsibleTabsSettings' ); - if ( $settings !== null ) { - $collapsible.data( 'collapsibleTabsSettings', { - expandedContainer: $settings.expandedContainer, - collapsedContainer: $settings.collapsedContainer, - expandedWidth: $collapsible.width(), - prevElement: $collapsible.prev() - } ); - } - }, - getSettings: function ( $collapsible ) { - var $settings = $collapsible.data( 'collapsibleTabsSettings' ); - if ( $settings === undefined ) { - $.collapsibleTabs.addData( $collapsible ); - $settings = $collapsible.data( 'collapsibleTabsSettings' ); - } - return $settings; - }, - /** - * @param {jQuery.Event} e - */ - handleResize: function () { - $.collapsibleTabs.instances.each( function () { - var $el = $( this ), - data = $.collapsibleTabs.getSettings( $el ); - - if ( data.shifting ) { - return; - } - - // if the two navigations are colliding - if ( $el.children( data.collapsible ).length > 0 && data.collapseCondition() ) { - - $el.trigger( 'beforeTabCollapse' ); - // move the element to the dropdown menu - $.collapsibleTabs.moveToCollapsed( $el.children( data.collapsible + ':last' ) ); - } - - // if there are still moveable items in the dropdown menu, - // and there is sufficient space to place them in the tab container - if ( $( data.collapsedContainer + ' ' + data.collapsible ).length > 0 && - data.expandCondition( $.collapsibleTabs.getSettings( $( data.collapsedContainer ).children( - data.collapsible + ':first' ) ).expandedWidth ) ) { - //move the element from the dropdown to the tab - $el.trigger( 'beforeTabExpand' ); - $.collapsibleTabs - .moveToExpanded( data.collapsedContainer + ' ' + data.collapsible + ':first' ); - } - } ); - }, - moveToCollapsed: function ( ele ) { - var data, expContainerSettings, target, - $moving = $( ele ); - - data = $.collapsibleTabs.getSettings( $moving ); - if ( !data ) { - return; - } - expContainerSettings = $.collapsibleTabs.getSettings( $( data.expandedContainer ) ); - if ( !expContainerSettings ) { - return; - } - expContainerSettings.shifting = true; - - // Remove the element from where it's at and put it in the dropdown menu - target = data.collapsedContainer; - $moving.css( 'position', 'relative' ) - .css( ( rtl ? 'left' : 'right' ), 0 ) - .animate( { width: '1px' }, 'normal', function () { - var data, expContainerSettings; - $( this ).hide(); - // add the placeholder - $( '' ).insertAfter( this ); - // XXX: 'data' is undefined here, should the 'data' from the outer scope have - // a different name? - $( this ).detach().prependTo( target ).data( 'collapsibleTabsSettings', data ); - $( this ).attr( 'style', 'display: list-item;' ); - data = $.collapsibleTabs.getSettings( $( ele ) ); - if ( data ) { - expContainerSettings = $.collapsibleTabs.getSettings( $( data.expandedContainer ) ); - if ( expContainerSettings ) { - expContainerSettings.shifting = false; - $.collapsibleTabs.handleResize(); - } - } - } ); - }, - moveToExpanded: function ( ele ) { - var data, expContainerSettings, $target, expandedWidth, - $moving = $( ele ); - - data = $.collapsibleTabs.getSettings( $moving ); - if ( !data ) { - return; - } - expContainerSettings = $.collapsibleTabs.getSettings( $( data.expandedContainer ) ); - if ( !expContainerSettings ) { - return; - } - expContainerSettings.shifting = true; - - // grab the next appearing placeholder so we can use it for replacing - $target = $( data.expandedContainer ).find( 'span.placeholder:first' ); - expandedWidth = data.expandedWidth; - $moving.css( 'position', 'relative' ).css( ( rtl ? 'right' : 'left' ), 0 ).css( 'width', '1px' ); - $target.replaceWith( - $moving - .detach() - .css( 'width', '1px' ) - .data( 'collapsibleTabsSettings', data ) - .animate( { width: expandedWidth + 'px' }, 'normal', function () { - $( this ).attr( 'style', 'display: block;' ); - var data, expContainerSettings; - data = $.collapsibleTabs.getSettings( $( this ) ); - if ( data ) { - expContainerSettings = $.collapsibleTabs.getSettings( $( data.expandedContainer ) ); - if ( expContainerSettings ) { - expContainerSettings.shifting = false; - $.collapsibleTabs.handleResize(); - } - } - } ) - ); - } - }; - -}( jQuery ) ); diff --git a/skins/vector/csshover.htc b/skins/vector/csshover.htc deleted file mode 100644 index a13ea68d..00000000 --- a/skins/vector/csshover.htc +++ /dev/null @@ -1,284 +0,0 @@ - - \ No newline at end of file diff --git a/skins/vector/csshover.min.htc b/skins/vector/csshover.min.htc deleted file mode 100644 index 7e5c57b3..00000000 --- a/skins/vector/csshover.min.htc +++ /dev/null @@ -1,12 +0,0 @@ - - diff --git a/skins/vector/externalLinks.less b/skins/vector/externalLinks.less deleted file mode 100644 index 5b02abbd..00000000 --- a/skins/vector/externalLinks.less +++ /dev/null @@ -1,75 +0,0 @@ -// FIXME: This size of this CSS is ridiculous. Please refactor (see bug 54604) -@import "mediawiki.mixins.less"; - -div#content a.external { - background-position: center right; - background-repeat: no-repeat; - .background-image('images/external-link-ltr-icon.png'); - padding-right: 13px; -} -div#content a.external[href ^="https://"], -.link-https { - background-position: center right; - background-repeat: no-repeat; - .background-image('images/lock-icon.png'); - padding-right: 13px; -} -div#content a.external[href ^="mailto:"], -.link-mailto { - background-position: center right; - background-repeat: no-repeat; - .background-image('images/mail-icon.png'); - padding-right: 13px; -} -div#content a.external[href ^="news:"] { - background-position: center right; - background-repeat: no-repeat; - .background-image('images/news-icon.png'); - padding-right: 13px; -} -div#content a.external[href ^="ftp://"], -.link-ftp { - background-position: center right; - background-repeat: no-repeat; - .background-image('images/file-icon.png'); - padding-right: 13px; -} -div#content a.external[href ^="irc://"], -div#content a.external[href ^="ircs://"], -.link-irc { - background-position: center right; - background-repeat: no-repeat; - .background-image('images/talk-icon.png'); - padding-right: 13px; -} -div#content a.external[href $=".ogg"], div#content a.external[href $=".OGG"], -div#content a.external[href $=".mid"], div#content a.external[href $=".MID"], -div#content a.external[href $=".midi"], div#content a.external[href $=".MIDI"], -div#content a.external[href $=".mp3"], div#content a.external[href $=".MP3"], -div#content a.external[href $=".wav"], div#content a.external[href $=".WAV"], -div#content a.external[href $=".wma"], div#content a.external[href $=".WMA"], -.link-audio { - background-position: center right; - background-repeat: no-repeat; - .background-image('images/audio-icon.png'); - padding-right: 13px; -} -div#content a.external[href $=".ogm"], div#content a.external[href $=".OGM"], -div#content a.external[href $=".avi"], div#content a.external[href $=".AVI"], -div#content a.external[href $=".mpeg"], div#content a.external[href $=".MPEG"], -div#content a.external[href $=".mpg"], div#content a.external[href $=".MPG"], -.link-video { - background-position: center right; - background-repeat: no-repeat; - .background-image('images/video-icon.png'); - padding-right: 13px; -} -div#content a.external[href $=".pdf"], div#content a.external[href $=".PDF"], -div#content a.external[href *=".pdf#"], div#content a.external[href *=".PDF#"], -div#content a.external[href *=".pdf?"], div#content a.external[href *=".PDF?"], -.link-document { - background-position: center right; - background-repeat: no-repeat; - .background-image('images/document-icon.png'); - padding-right: 13px; -} diff --git a/skins/vector/images/arrow-collapsed-ltr.png b/skins/vector/images/arrow-collapsed-ltr.png deleted file mode 100644 index 063ac6f7..00000000 Binary files a/skins/vector/images/arrow-collapsed-ltr.png and /dev/null differ diff --git a/skins/vector/images/arrow-collapsed-ltr.svg b/skins/vector/images/arrow-collapsed-ltr.svg deleted file mode 100644 index d0c4729c..00000000 --- a/skins/vector/images/arrow-collapsed-ltr.svg +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/skins/vector/images/arrow-collapsed-rtl.png b/skins/vector/images/arrow-collapsed-rtl.png deleted file mode 100644 index c3462182..00000000 Binary files a/skins/vector/images/arrow-collapsed-rtl.png and /dev/null differ diff --git a/skins/vector/images/arrow-collapsed-rtl.svg b/skins/vector/images/arrow-collapsed-rtl.svg deleted file mode 100644 index 8c5e04b9..00000000 --- a/skins/vector/images/arrow-collapsed-rtl.svg +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/skins/vector/images/arrow-down-focus-icon.png b/skins/vector/images/arrow-down-focus-icon.png deleted file mode 100644 index 7640bd1e..00000000 Binary files a/skins/vector/images/arrow-down-focus-icon.png and /dev/null differ diff --git a/skins/vector/images/arrow-down-focus-icon.svg b/skins/vector/images/arrow-down-focus-icon.svg deleted file mode 100644 index f2edf263..00000000 --- a/skins/vector/images/arrow-down-focus-icon.svg +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/skins/vector/images/arrow-down-icon.png b/skins/vector/images/arrow-down-icon.png deleted file mode 100644 index 12e3b932..00000000 Binary files a/skins/vector/images/arrow-down-icon.png and /dev/null differ diff --git a/skins/vector/images/arrow-down-icon.svg b/skins/vector/images/arrow-down-icon.svg deleted file mode 100644 index 9218ff28..00000000 --- a/skins/vector/images/arrow-down-icon.svg +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/skins/vector/images/arrow-expanded.png b/skins/vector/images/arrow-expanded.png deleted file mode 100644 index 0221028e..00000000 Binary files a/skins/vector/images/arrow-expanded.png and /dev/null differ diff --git a/skins/vector/images/arrow-expanded.svg b/skins/vector/images/arrow-expanded.svg deleted file mode 100644 index 60704d27..00000000 --- a/skins/vector/images/arrow-expanded.svg +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/skins/vector/images/audio-icon.png b/skins/vector/images/audio-icon.png deleted file mode 100644 index 5a1d2f43..00000000 Binary files a/skins/vector/images/audio-icon.png and /dev/null differ diff --git a/skins/vector/images/bullet-icon.png b/skins/vector/images/bullet-icon.png deleted file mode 100644 index 7bae98f6..00000000 Binary files a/skins/vector/images/bullet-icon.png and /dev/null differ diff --git a/skins/vector/images/document-icon.png b/skins/vector/images/document-icon.png deleted file mode 100644 index 4d56572b..00000000 Binary files a/skins/vector/images/document-icon.png and /dev/null differ diff --git a/skins/vector/images/edit-icon.png b/skins/vector/images/edit-icon.png deleted file mode 100644 index 43e46919..00000000 Binary files a/skins/vector/images/edit-icon.png and /dev/null differ diff --git a/skins/vector/images/external-link-ltr-icon.png b/skins/vector/images/external-link-ltr-icon.png deleted file mode 100644 index 63083831..00000000 Binary files a/skins/vector/images/external-link-ltr-icon.png and /dev/null differ diff --git a/skins/vector/images/external-link-rtl-icon.png b/skins/vector/images/external-link-rtl-icon.png deleted file mode 100644 index 5313234e..00000000 Binary files a/skins/vector/images/external-link-rtl-icon.png and /dev/null differ diff --git a/skins/vector/images/file-icon.png b/skins/vector/images/file-icon.png deleted file mode 100644 index ed246698..00000000 Binary files a/skins/vector/images/file-icon.png and /dev/null differ diff --git a/skins/vector/images/link-icon.png b/skins/vector/images/link-icon.png deleted file mode 100644 index b70efaaa..00000000 Binary files a/skins/vector/images/link-icon.png and /dev/null differ diff --git a/skins/vector/images/lock-icon.png b/skins/vector/images/lock-icon.png deleted file mode 100644 index a9ba8a72..00000000 Binary files a/skins/vector/images/lock-icon.png and /dev/null differ diff --git a/skins/vector/images/magnify-clip.png b/skins/vector/images/magnify-clip.png deleted file mode 100644 index 00a9cee1..00000000 Binary files a/skins/vector/images/magnify-clip.png and /dev/null differ diff --git a/skins/vector/images/mail-icon.png b/skins/vector/images/mail-icon.png deleted file mode 100644 index 0d93a2f8..00000000 Binary files a/skins/vector/images/mail-icon.png and /dev/null differ diff --git a/skins/vector/images/news-icon.png b/skins/vector/images/news-icon.png deleted file mode 100644 index 6f27054b..00000000 Binary files a/skins/vector/images/news-icon.png and /dev/null differ diff --git a/skins/vector/images/page-fade.png b/skins/vector/images/page-fade.png deleted file mode 100644 index b4a60342..00000000 Binary files a/skins/vector/images/page-fade.png and /dev/null differ diff --git a/skins/vector/images/portal-break-ltr.png b/skins/vector/images/portal-break-ltr.png deleted file mode 100644 index 20bf3668..00000000 Binary files a/skins/vector/images/portal-break-ltr.png and /dev/null differ diff --git a/skins/vector/images/portal-break-rtl.png b/skins/vector/images/portal-break-rtl.png deleted file mode 100644 index e5f6223e..00000000 Binary files a/skins/vector/images/portal-break-rtl.png and /dev/null differ diff --git a/skins/vector/images/portal-break.png b/skins/vector/images/portal-break.png deleted file mode 100644 index 90c39182..00000000 Binary files a/skins/vector/images/portal-break.png and /dev/null differ diff --git a/skins/vector/images/preferences-break.png b/skins/vector/images/preferences-break.png deleted file mode 100644 index b5293082..00000000 Binary files a/skins/vector/images/preferences-break.png and /dev/null differ diff --git a/skins/vector/images/preferences-fade.png b/skins/vector/images/preferences-fade.png deleted file mode 100644 index 638084dc..00000000 Binary files a/skins/vector/images/preferences-fade.png and /dev/null differ diff --git a/skins/vector/images/search-fade.png b/skins/vector/images/search-fade.png deleted file mode 100644 index 6cb7d286..00000000 Binary files a/skins/vector/images/search-fade.png and /dev/null differ diff --git a/skins/vector/images/search-ltr.png b/skins/vector/images/search-ltr.png deleted file mode 100644 index 1db2eb24..00000000 Binary files a/skins/vector/images/search-ltr.png and /dev/null differ diff --git a/skins/vector/images/search-rtl.png b/skins/vector/images/search-rtl.png deleted file mode 100644 index c26c8d07..00000000 Binary files a/skins/vector/images/search-rtl.png and /dev/null differ diff --git a/skins/vector/images/tab-break.png b/skins/vector/images/tab-break.png deleted file mode 100644 index 6d37af5b..00000000 Binary files a/skins/vector/images/tab-break.png and /dev/null differ diff --git a/skins/vector/images/tab-current-fade.png b/skins/vector/images/tab-current-fade.png deleted file mode 100644 index b8f772fa..00000000 Binary files a/skins/vector/images/tab-current-fade.png and /dev/null differ diff --git a/skins/vector/images/tab-normal-fade.png b/skins/vector/images/tab-normal-fade.png deleted file mode 100644 index f719a88d..00000000 Binary files a/skins/vector/images/tab-normal-fade.png and /dev/null differ diff --git a/skins/vector/images/talk-icon.png b/skins/vector/images/talk-icon.png deleted file mode 100644 index 0332054e..00000000 Binary files a/skins/vector/images/talk-icon.png and /dev/null differ diff --git a/skins/vector/images/user-icon.png b/skins/vector/images/user-icon.png deleted file mode 100644 index 57f9f8db..00000000 Binary files a/skins/vector/images/user-icon.png and /dev/null differ diff --git a/skins/vector/images/user-icon.svg b/skins/vector/images/user-icon.svg deleted file mode 100644 index 767d5107..00000000 --- a/skins/vector/images/user-icon.svg +++ /dev/null @@ -1,424 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/skins/vector/images/video-icon.png b/skins/vector/images/video-icon.png deleted file mode 100644 index ed852322..00000000 Binary files a/skins/vector/images/video-icon.png and /dev/null differ diff --git a/skins/vector/images/watch-icon-loading.gif b/skins/vector/images/watch-icon-loading.gif deleted file mode 100644 index 618c308e..00000000 Binary files a/skins/vector/images/watch-icon-loading.gif and /dev/null differ diff --git a/skins/vector/images/watch-icons.png b/skins/vector/images/watch-icons.png deleted file mode 100644 index 03aa7d54..00000000 Binary files a/skins/vector/images/watch-icons.png and /dev/null differ diff --git a/skins/vector/screen-hd.less b/skins/vector/screen-hd.less deleted file mode 100644 index 5a1fc055..00000000 --- a/skins/vector/screen-hd.less +++ /dev/null @@ -1,28 +0,0 @@ -/* Vector screen styles for high definition displays */ - -div#content { - margin-left: 11em; - padding: 1.25em 1.5em 1.5em 1.5em; -} -#p-logo { - left: @menu-main-logo-left; -} -div#footer { - margin-left: 11em; - padding: 1.25em; -} -#mw-panel { - padding-left: 0.5em; -} -#p-search { - margin-right: 1em; -} -#left-navigation { - margin-left: 11em; -} -#p-personal { - right: 1em; -} -#mw-head-base { - margin-left: 11em; -} diff --git a/skins/vector/screen.less b/skins/vector/screen.less deleted file mode 100644 index bb4be725..00000000 --- a/skins/vector/screen.less +++ /dev/null @@ -1,791 +0,0 @@ -/* - * Any rules which should not be flipped automatically in right-to-left situations should be - * prepended with @noflip in a comment block. - * - * This stylesheet employs a few CSS trick to accomplish compatibility with a wide range of web - * browsers. The most common trick is to use some styles in IE6 only. This is accomplished by using - * a rule that makes things work in IE6, and then following it with a rule that begins with - * "html > body" or use a child selector ">", which is ignored by IE6 because it does not support - * the child selector. You can spot this by looking for the "OVERRIDDEN BY COMPLIANT BROWSERS" and - * "IGNORED BY IE6" comments. - */ -@import "mediawiki.mixins"; - -/* Framework */ -html { - font-size: @html-font-size; -} -html, -body { - height: 100%; - margin: 0; - padding: 0; - font-family: @content-font-family; -} -body { - background-color: #f6f6f6; - font-size: @body-font-size; -} -/* Content */ -div#content { - line-height: @content-line-height; - margin-left: 10em; - padding: @content-padding; - /* Border on top, left, and bottom side */ - border: 1px solid #a7d7f9; - border-right-width: 0; - /* Merge the border with tabs' one (in their background image) */ - margin-top: -1px; - background-color: white; - color: @content-font-color; - direction: ltr; -} -/* Hide, but keep accessible for screen-readers */ -#mw-navigation h2 { - position: absolute; - top: -9999px; -} -/* Head */ -#mw-page-base { - height: 5em; - background-color: white; - .background-image('images/page-fade.png'); - background-position: bottom left; - background-repeat: repeat-x; -} -#mw-head-base { - margin-top: -5em; - margin-left: 10em; - height: 5em; -} -div#mw-head { - position: absolute; - top: 0; - right: 0; - width: 100%; -} -div#mw-head h3 { - margin: 0; - padding: 0; -} -/* Hide empty portlets */ -div.emptyPortlet { - display: none; -} -/* Personal */ -#p-personal { - position: absolute; - top: 0.33em; - right: 0.75em; - /* Display on top of page tabs - bugs 37158, 48078 */ - z-index: 100; -} -#p-personal h3 { - display: none; -} -#p-personal ul { - list-style-type: none; - list-style-image: none; - margin: 0; - padding-left: 10em; /* Keep from overlapping logo */ -} -#p-personal li { - line-height: 1.125em; - /* @noflip */ - float: left; - margin-left: 0.75em; - margin-top: 0.5em; - font-size: @menu-personal-font-size; - white-space: nowrap; -} -/* Navigation Containers */ -#left-navigation { - float: left; - margin-left: 10em; - margin-top: 2.5em; - /* When right nav would overlap left nav, it's placed below it - (normal CSS floats behavior). This rule ensures that no empty space - is shown between them due to right nav's margin-top. Page layout - is still broken, but at least the nav overlaps only the page title - instead of half the content. */ - margin-bottom: -2.5em; - /* IE 6 double-margin bug fix */ - display: inline; -} -#right-navigation { - float: right; - margin-top: 2.5em; -} -/* Navigation Labels */ -div.vectorTabs h3, -div.vectorMenu h3 span { - display: none; -} -/* Namespaces and Views */ -div.vectorTabs { - /* @noflip */ - float: left; - height: 2.5em; -} -div.vectorTabs { - .background-image('images/tab-break.png'); - background-position: bottom left; - background-repeat: no-repeat; - padding-left: 1px; -} -div.vectorTabs ul { - /* @noflip */ - float: left; - height: 100%; - list-style-type: none; - list-style-image: none; - margin: 0; - padding: 0; -} -/* OVERRIDDEN BY COMPLIANT BROWSERS */ -div.vectorTabs ul li { - /* @noflip */ - float: left; - line-height: 1.125em; - display: inline-block; - height: 100%; - margin: 0; - padding: 0; - background-color: #f3f3f3; - .background-image('images/tab-normal-fade.png'); - background-position: bottom left; - background-repeat: repeat-x; - white-space: nowrap; -} -/* IGNORED BY IE6 */ -div.vectorTabs ul > li { - display: block; -} -div.vectorTabs li.selected { - .background-image('images/tab-current-fade.png'); -} -/* OVERRIDDEN BY COMPLIANT BROWSERS */ -div.vectorTabs li a { - display: inline-block; - height: 1.9em; - padding-left: 0.5em; - padding-right: 0.5em; - color: @menu-link-color; - cursor: pointer; - font-size: 0.8em; -} -/* IGNORED BY IE6 */ -div.vectorTabs li > a { - display: block; -} -div.vectorTabs li.icon a { - background-position: bottom right; - background-repeat: no-repeat; -} -/* OVERRIDDEN BY COMPLIANT BROWSERS */ -div.vectorTabs span a { - display: inline-block; - padding-top: 1.25em; -} -/* IGNORED BY IE6 */ -div.vectorTabs span > a { - /* @noflip */ - float: left; - display: block; -} -div.vectorTabs span { - display: inline-block; - .background-image('images/tab-break.png'); - background-position: bottom right; - background-repeat: no-repeat; -} -div.vectorTabs li.selected a, -div.vectorTabs li.selected a:visited{ - color: #333; - text-decoration: none; -} -div.vectorTabs li.new a, -div.vectorTabs li.new a:visited{ - color: #a55858; -} -/* Variants and Actions */ -div.vectorMenu { - /* @noflip */ - direction: ltr; - /* @noflip */ - float: left; - /* SVG support using a transparent gradient to guarantee cross-browser - * compatibility (browsers able to understand gradient syntax support also SVG) */ - .background-image-svg('images/arrow-down-icon.svg', 'images/arrow-down-icon.png'); - /* @noflip */ - background-position: 100% 60%; - background-repeat: no-repeat; - cursor: pointer; -} -div.vectorMenuFocus { - /* SVG support using a transparent gradient to guarantee cross-browser - * compatibility (browsers able to understand gradient syntax support also SVG) */ - .background-image-svg('images/arrow-down-focus-icon.svg', 'images/arrow-down-focus-icon.png'); - background-position: 100% 60%; -} -body.rtl div.vectorMenu { - /* @noflip */ - direction: rtl; -} -/* OVERRIDDEN BY COMPLIANT BROWSERS */ -div#mw-head div.vectorMenu h3 { - /* @noflip */ - float: left; - .background-image('images/tab-break.png'); - background-repeat: no-repeat; - background-position: bottom left; - margin-left: -1px; -} -/* IGNORED BY IE6 */ -div#mw-head div.vectorMenu > h3 { - background-image: none; -} -div#mw-head div.vectorMenu h4, -div.vectorMenu#p-variants #mw-vector-current-variant { - display: inline-block; - float: left; - font-size: 0.8em; - padding-left: 0.5em; - padding-top: 1.375em; - font-weight: normal; - border: none; -} -/* OVERRIDDEN BY COMPLIANT BROWSERS */ -div.vectorMenu h3 a { - display: inline-block; - width: 24px; - height: 1.9em; - text-decoration: none; - .background-image('images/tab-break.png'); - background-repeat: no-repeat; - background-position: bottom right; -} -/* IGNORED BY IE6 */ -div.vectorMenu h3 > a { - display: block; -} -div.vectorMenu div.menu { - position: relative; - display: none; - clear: both; - text-align: left; -} -/* OVERRIDDEN BY COMPLIANT BROWSERS */ -body.rtl div.vectorMenu div.menu { - /* @noflip */ - margin-left: 24px; -} -/* IGNORED BY IE6 */ -body.rtl div.vectorMenu > div.menu { - /* @noflip */ - margin-left: auto; -} -/* IGNORED BY IE6 */ -/* Also fixes old versions of FireFox */ -body.rtl div.vectorMenu > div.menu, -x:-moz-any-link { - /* @noflip */ - margin-left: 23px; -} -/* Enable forcing showing of the menu for accessibility */ -div.vectorMenu:hover div.menu, -div.vectorMenu div.menuForceShow { - display: block; -} -div.vectorMenu ul { - position: absolute; - background-color: white; - border: solid 1px silver; - border-top-width: 0; - list-style-type: none; - list-style-image: none; - padding: 0; - margin: 0; - margin-left: -1px; - text-align: left; -} -/* Fixes old versions of FireFox */ -div.vectorMenu ul, -x:-moz-any-link { - min-width: 5em; -} -/* Returns things back to normal in modern versions of FireFox */ -div.vectorMenu ul, -x:-moz-any-link, -x:default { - min-width: 0; -} -div.vectorMenu li { - padding: 0; - margin: 0; - text-align: left; - line-height: 1em; -} -/* OVERRIDDEN BY COMPLIANT BROWSERS */ -div.vectorMenu li a { - display: inline-block; - padding: 0.5em; - white-space: nowrap; - color: @menu-link-color; - cursor: pointer; - font-size: 0.8em; -} -/* IGNORED BY IE6 */ -div.vectorMenu li > a { - display: block; -} -div.vectorMenu li.selected a, -div.vectorMenu li.selected a:visited { - color: #333; - text-decoration: none; -} -/* Search */ -#p-search h3 { - display: none; -} -#p-search { - /* @noflip */ - float: left; -} -#p-search { - margin-right: 0.5em; - margin-left: 0.5em; -} -#p-search form, -#p-search input { - margin: 0; - margin-top: 0.4em; -} -div#simpleSearch { - display: block; - width: 14em; - height: 1.4em; - margin-top: 0.65em; - position: relative; - min-height: 1px; /* Gotta trigger hasLayout for IE7 */ - border: solid 1px #aaa; - color: black; - background-color: white; - .background-image('images/search-fade.png'); - background-position: top left; - background-repeat: repeat-x; -} -div#simpleSearch input:focus { - outline: none; -} -div#simpleSearch input { - color: black; -} -div#simpleSearch input.placeholder { - color: #999; -} -div#simpleSearch input::-webkit-input-placeholder { - color: #999; -} -div#simpleSearch input:-moz-placeholder { - color: #999; -} -div#simpleSearch input:-ms-input-placeholder { - color: #999; -} -div#simpleSearch input#searchInput { - position: absolute; - top: 0; - left: 0; - width: 90%; - margin: 0; - padding: 0; - padding-left: 0.2em; - padding-top: 0.2em; - padding-bottom: 0.2em; - outline: none; - border: none; - /* - * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent - * this from ever being shown anyways. - */ - font-size: 13px; - background-color: transparent; - direction: ltr; -} -div#simpleSearch button#searchButton { - position: absolute; - width: 10%; - right: 0; - top: 0; - padding: 0; - padding-top: 0.3em; - padding-bottom: 0.2em; - padding-right: 0.4em; - margin: 0; - border: none; - cursor: pointer; - background-color: transparent; - background-image: none; -} -/* OVERRIDDEN BY COMPLIANT BROWSERS */ -div#simpleSearch button#searchButton img { - border: none; - margin: 0; - margin-top: -3px; - padding: 0; -} -/* IGNORED BY IE6 */ -div#simpleSearch button#searchButton > img { - margin: 0; -} -/* Panel */ -div#mw-panel { - font-size: @menu-main-font-size; - position: absolute; - top: 160px; - padding-top: 1em; - width: 10em; - left: 0; -} -div#mw-panel div.portal { - padding-bottom: 1.5em; - direction: ltr; -} -div#mw-panel div.portal h3 { - font-weight: normal; - color: #444; - padding: @menu-main-heading-padding; - cursor: default; - border: none; - font-size: @menu-main-heading-font-size; -} -div#mw-panel div.portal div.body { - padding-top: 0.5em; - margin: @menu-main-body-margin; - - .background-image('images/portal-break.png'); - background-repeat: no-repeat; - background-position: top left; -} -div#mw-panel div.portal div.body ul { - list-style-type: none; - list-style-image: none; - padding: @menu-main-body-padding; - margin: 0; -} -div#mw-panel div.portal div.body ul li { - line-height: 1.125em; - padding: 0; - padding-bottom: 0.5em; - margin: 0; - font-size: @menu-main-body-font-size; - word-wrap: break-word; -} -div#mw-panel div.portal div.body ul li a { - color: @menu-main-body-link-color; - &:visited { - color: @menu-main-body-link-visited-color; - } -} - -/* Footer */ -div#footer { - margin-left: 10em; - margin-top: 0; - padding: 0.75em; - direction: ltr; -} -div#footer ul { - list-style-type: none; - list-style-image: none; - margin: 0; - padding: 0; -} -div#footer ul li { - margin: 0; - padding: 0; - padding-top: 0.5em; - padding-bottom: 0.5em; - color: #333; - font-size: 0.7em; -} -div#footer #footer-icons { - float: right; -} - -body.ltr div#footer #footer-places { - /* @noflip */ - float: left; -} -div#footer #footer-info li { - line-height: 1.4em; -} -div#footer #footer-icons li { - float: left; - margin-left: 0.5em; - line-height: 2em; - text-align: right; -} -div#footer #footer-places li { - float: left; - margin-right: 1em; - line-height: 2em; -} -/* Logo */ -#p-logo { - position: absolute; - top: -160px; - left: 0; - width: 10em; - height: 160px; -} -#p-logo a { - display: block; - width: 10em; - height: 160px; - background-repeat: no-repeat; - background-position: center center; - text-decoration: none; -} - -/* - * - * The following code is highly modified from monobook. It would be nice if the - * preftoc id was more human readable like preferences-toc for instance, - * howerver this would require backporting the other skins. - */ - -/* Preferences */ -#preftoc { - /* Tabs */ - width: 100%; - float: left; - clear: both; - margin: 0 !important; - padding: 0 !important; - .background-image('images/preferences-break.png'); - background-position: bottom left; - background-repeat: no-repeat; -} - #preftoc li { - /* Tab */ - float: left; - margin: 0; - padding: 0; - padding-right: 1px; - height: 2.25em; - white-space: nowrap; - list-style-type: none; - list-style-image: none; - .background-image('images/preferences-break.png'); - background-position: bottom right; - background-repeat: no-repeat; - } - /* Sadly, IE6 won't understand this */ - #preftoc li:first-child { - margin-left: 1px; - } - #preftoc a, - #preftoc a:active { - display: inline-block; - position: relative; - color: @menu-link-color; - padding: 0.5em; - text-decoration: none; - background-image: none; - font-size: 0.9em; - } - #preftoc a:hover, - #preftoc a:focus { - text-decoration: underline; - } - #preftoc li.selected a { - .background-image('images/preferences-fade.png'); - background-position: bottom; - background-repeat: repeat-x; - color: #333; - text-decoration: none; - } -#preferences { - float: left; - width: 100%; - margin: 0; - margin-top: -2px; - clear: both; - border: solid 1px #ccc; - background-color: #fafafa; -} -#preferences fieldset { - border: none; - border-top: solid 1px #ccc; -} -#preferences fieldset.prefsection { - border: none; - padding: 0; - margin: 1em; -} -#preferences legend { - color: #666; -} -#preferences fieldset.prefsection legend.mainLegend { - display: none; -} -#preferences td { - padding-left: 0.5em; - padding-right: 0.5em; -} -.htmlform-tip { - font-size: x-small; - padding: .2em 2em; - color: #666; -} -#preferences div.mw-prefs-buttons { - padding: 1em; -} -#preferences div.mw-prefs-buttons input { - margin-right: 0.25em; -} - -ul { - list-style-type: disc; - .list-style-image('images/bullet-icon.png'); -} - -pre, .mw-code { - line-height: 1.3em; -} - -/* Site Notice (includes notices from CentralNotice extension) */ -#siteNotice { - font-size: 0.8em; -} -#firstHeading { - padding-top: 0; - margin-top: 0; - font-size: @content-heading-font-size; -} - -/* Icon for Usernames */ -#pt-userpage, -#pt-anonuserpage, -#pt-login { - background-position: left top; - background-repeat: no-repeat; - /* SVG support using a transparent gradient to guarantee cross-browser - * compatibility (browsers able to understand gradient syntax support also SVG) */ - .background-image-svg('images/user-icon.svg', 'images/user-icon.png'); - padding-left: 15px !important; -} - -.redirectText { - font-size: 140%; -} - -.redirectMsg img { - vertical-align: text-bottom; -} - -#bodyContent { - position: relative; - width: 100%; - line-height: 1.5em; - font-size: @content-font-size; -} - -/* mediawiki.notification */ -.skin-vector .mw-notification-area { - font-size: 0.8em; -} -.skin-vector .mw-notification-area-layout { - top: 7em; -} -.skin-vector .mw-notification { - background-color: #fff; - background-color: rgba(255, 255, 255, 0.93); - padding: 0.75em 1.5em; - border: solid 1px #a7d7f9; - border-radius: 0.75em; - -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.125); - box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.125); -} - -/* Watch/Unwatch Icon Styling */ -#ca-unwatch.icon a, -#ca-watch.icon a { - margin: 0; - padding: 0; - outline: none; - display: block; - width: 26px; - /* This hides the text but shows the background image */ - padding-top: 3.1em; - margin-top: 0; - /* Only applied in IE6 */ - margin-top: -0.8em !ie; - height: 0; - overflow: hidden; - .background-image('images/watch-icons.png'); -} -#ca-unwatch.icon a { - background-position: -43px 60%; -} -#ca-watch.icon a { - background-position: 5px 60%; -} -#ca-unwatch.icon a:hover, -#ca-unwatch.icon a:focus { - background-position: -67px 60%; -} -#ca-watch.icon a:hover, -#ca-watch.icon a:focus { - background-position: -19px 60%; -} -#ca-unwatch.icon a.loading, -#ca-watch.icon a.loading { - .background-image('images/watch-icon-loading.gif'); - background-position: 5px 60%; -} -#ca-unwatch.icon a span, -#ca-watch.icon a span { - display: none; -} -div.vectorTabs ul { - .background-image('images/tab-break.png'); - background-position: right bottom; - background-repeat: no-repeat; -} - -/* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */ -.tipsy { - font-size: 0.8em; -} - -/* Animate between standard and high definition layouts */ -body.vector-animateLayout { - div#content, - div#footer, - #left-navigation { - .transition(margin-left 250ms, padding 250ms;); - } - - #p-logo { - .transition(left 250ms); - } - - #mw-panel { - .transition(padding-right 250ms); - } - - #p-search { - .transition(margin-right 250ms); - } - - #p-personal { - .transition(right 250ms); - } - - #mw-head-base { - .transition(margin-left 250ms); - } -} diff --git a/skins/vector/styles-beta.less b/skins/vector/styles-beta.less deleted file mode 100644 index a76b6394..00000000 --- a/skins/vector/styles-beta.less +++ /dev/null @@ -1,13 +0,0 @@ -@import "variables.less"; -@import "beta/variables.less"; - -@media screen { - @import "screen.less"; - @import "beta/screen.less"; - @import "externalLinks.less"; - @import "collapsibleNav.less"; -} - -@media screen and (min-width: 982px) { - @import "screen-hd.less"; -} diff --git a/skins/vector/styles.less b/skins/vector/styles.less deleted file mode 100644 index bd458510..00000000 --- a/skins/vector/styles.less +++ /dev/null @@ -1,11 +0,0 @@ -@import "variables.less"; - -@media screen { - @import "screen.less"; - @import "externalLinks.less"; - @import "collapsibleNav.less"; -} - -@media screen and (min-width: 982px) { - @import "screen-hd.less"; -} diff --git a/skins/vector/variables.less b/skins/vector/variables.less deleted file mode 100644 index 691e0fd5..00000000 --- a/skins/vector/variables.less +++ /dev/null @@ -1,37 +0,0 @@ -@html-font-size: 1em; - -@body-font-size: 1em; - -// Page content -@content-font-family: sans-serif; -@content-font-color: black; -@content-font-size: 0.8em; -@content-line-height: 1.5em; -@content-padding: 1.5em 1.5em 1.5em 1.75em; -@content-heading-font-size: 1.6em; -@content-heading-font-family: sans-serif; - -// Common menu -@menu-link-color: #0645ad; - -// Main menu -@menu-main-font-size: inherit; -@menu-main-heading-font-size: 0.75em; -@menu-main-heading-padding: 0 1.75em 0.25em 0.25em; - -@menu-main-body-font-size: 0.75em; -@menu-main-body-link-color: #0645ad; -@menu-main-body-link-visited-color: #0b0080; -@menu-main-body-margin: 0 0 0 1.25em; -@menu-main-body-padding: 0; -@menu-main-logo-left: 0.5em; - -// Personal menu -@menu-personal-font-size: 0.75em; - -// Collapsible nav -@collapsible-nav-heading-color: #4D4D4D; -@collapsible-nav-heading-collapsed-color: #0645AD; - -@collapsible-nav-heading-padding: 4px 0 3px 1.5em; -@collapsible-nav-body-margin: 0 0 0 1.25em; diff --git a/skins/vector/vector.js b/skins/vector/vector.js deleted file mode 100644 index aa64624a..00000000 --- a/skins/vector/vector.js +++ /dev/null @@ -1,55 +0,0 @@ -/** - * Vector-specific scripts - */ -jQuery( function ( $ ) { - $( 'div.vectorMenu' ).each( function () { - var $el = $( this ); - $el.find( '> h3 > a' ).parent() - .attr( 'tabindex', '0' ) - // For accessibility, show the menu when the h3 is clicked (bug 24298/46486) - .on( 'click keypress', function ( e ) { - if( e.type === 'click' || e.which === 13 ) { - $el.find( '.menu:first' ).toggleClass( 'menuForceShow' ); - e.preventDefault(); - } - } ) - // When the heading has focus, also set a class that will change the arrow icon - .focus( function () { - $el.find( '> a' ).addClass( 'vectorMenuFocus' ); - } ) - .blur( function () { - $el.find( '> a' ).removeClass( 'vectorMenuFocus' ); - } ) - .find( '> a:first' ) - // As the h3 can already be focused there's no need for the link to be focusable - .attr( 'tabindex', '-1' ); - } ); - - /** - * Collapsible tabs for Vector - */ - var $cactions = $( '#p-cactions' ); - - // Bind callback functions to animate our drop down menu in and out - // and then call the collapsibleTabs function on the menu - $( '#p-views ul' ) - .bind( 'beforeTabCollapse', function () { - // If the dropdown was hidden, show it - if ( $cactions.hasClass( 'emptyPortlet' ) ) { - $cactions - .removeClass( 'emptyPortlet' ) - .find( 'h3' ) - .css( 'width', '1px' ).animate( { 'width': '24px' }, 390 ); - } - } ) - .bind( 'beforeTabExpand', function () { - // If we're removing the last child node right now, hide the dropdown - if ( $cactions.find( 'li' ).length === 1 ) { - $cactions.find( 'h3' ).animate( { 'width': '1px' }, 390, function () { - $( this ).attr( 'style', '' ) - .parent().addClass( 'emptyPortlet' ); - }); - } - } ) - .collapsibleTabs(); -} ); -- cgit v1.2.3-54-g00ecf