[MediaWiki-commits] [Gerrit] oojs/ui[master]: Apex theme: Align coding style to conventions
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/346940 ) Change subject: Apex theme: Align coding style to conventions .. Apex theme: Align coding style to conventions Aligning Less/CSS coding style to coding conventions by - following whitespace rules & - lowercasing hex colors Depends-on: If1077b2e62a20ce899bae11d54136ade019a8ef5 Change-Id: I5050a1fd4df16e8b526311c9df2f62e965b25cc4 --- M src/themes/apex/elements.less M src/themes/apex/tools.less M src/themes/apex/widgets.less M src/themes/apex/windows.less 4 files changed, 27 insertions(+), 27 deletions(-) Approvals: jenkins-bot: Verified Jforrester: Looks good to me, approved diff --git a/src/themes/apex/elements.less b/src/themes/apex/elements.less index 12a86e9..02a76e5 100644 --- a/src/themes/apex/elements.less +++ b/src/themes/apex/elements.less @@ -23,7 +23,7 @@ > .oo-ui-buttonElement-button { > .oo-ui-iconElement-icon { // Don't animate opacities for now, causes wiggling in Chrome (bug 63020) - // .oo-ui-transition(opacity @medium-ease); + // .oo-ui-transition( opacity @medium-ease ); } &:hover, @@ -92,8 +92,8 @@ border-radius: 0.3em; text-shadow: 0 1px 1px rgba( 255, 255, 255, 0.5 ); border: 1px #c9c9c9 solid; - .oo-ui-transition(border-color @quick-ease); - .oo-ui-vertical-gradient(#fff, #ddd); + .oo-ui-transition( border-color @quick-ease ); + .oo-ui-vertical-gradient( #fff, #ddd ); &:hover, &:focus { @@ -115,7 +115,7 @@ box-shadow: inset 0 1px 4px 0 rgba( 0, 0, 0, 0.07 ); color: #000; border-color: #c9c9c9; - .oo-ui-vertical-gradient(#ddd, #fff); + .oo-ui-vertical-gradient( #ddd, #fff ); } &.oo-ui-iconElement { @@ -161,14 +161,14 @@ &.oo-ui-buttonElement-active > .oo-ui-buttonElement-button, &.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button { border: 1px solid @progressive-border; - .oo-ui-vertical-gradient(@progressive-gradient-end, @progressive-gradient-start); + .oo-ui-vertical-gradient( @progressive-gradient-end, @progressive-gradient-start ); } } &-constructive { > .oo-ui-buttonElement-button { border: 1px solid @constructive-border; - .oo-ui-vertical-gradient(@constructive-gradient-start, @constructive-gradient-end); + .oo-ui-vertical-gradient( @constructive-gradient-start, @constructive-gradient-end ); &:hover, &:focus { @@ -180,7 +180,7 @@ &.oo-ui-buttonElement-active > .oo-ui-buttonElement-button, &.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button { border: 1px solid @constructive-border; - .oo-ui-vertical-gradient(@constructive-gradient-end, @constructive-gradient-start); + .oo-ui-vertical-gradient( @constructive-gradient-end, @constructive-gradient-start ); } } @@ -247,7 +247,7 @@ .theme-oo-ui-pendingElement () { &-pending { - .oo-ui-background-image('@{oo-ui-default-image-path}/textures/pending.gif'); + .oo-ui-background-image( '@{oo-ui-default-image-path}/textures/pending.gif' ); } } diff --git a/src/themes/apex/tools.less b/src/themes/apex/tools.less index dccec8c..cb7c8a1 100644 --- a/src/themes/apex/tools.less +++ b/src/themes/apex/tools.less @@ -91,7 +91,7 @@ margin: 0.375em; border-radius: 0.3125em; border: 1px solid transparent; - .oo-ui-transition(border-color @medium-ease); + .oo-ui-transition( border-color @medium-ease ); .oo-ui-toolbar-narrow & { + .oo-ui-toolGroup { @@ -150,7 +150,7 @@ &.oo-ui-widget-enabled { border-color: rgba( 0, 0, 0, 0.2 ); box-shadow: inset 0 0.0875em 0.0875em 0 rgba( 0, 0, 0, 0.07 ); -
[MediaWiki-commits] [Gerrit] oojs/ui[master]: Apex theme: Align coding style to conventions
VolkerE has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/346940 ) Change subject: Apex theme: Align coding style to conventions .. Apex theme: Align coding style to conventions Aligning Less/CSS coding style to coding conventions by - following whitespace rules & - lowercasing hex colors Change-Id: I5050a1fd4df16e8b526311c9df2f62e965b25cc4 --- M src/themes/apex/elements.less M src/themes/apex/tools.less M src/themes/apex/widgets.less M src/themes/apex/windows.less 4 files changed, 27 insertions(+), 27 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/40/346940/1 diff --git a/src/themes/apex/elements.less b/src/themes/apex/elements.less index 12a86e9..02a76e5 100644 --- a/src/themes/apex/elements.less +++ b/src/themes/apex/elements.less @@ -23,7 +23,7 @@ > .oo-ui-buttonElement-button { > .oo-ui-iconElement-icon { // Don't animate opacities for now, causes wiggling in Chrome (bug 63020) - // .oo-ui-transition(opacity @medium-ease); + // .oo-ui-transition( opacity @medium-ease ); } &:hover, @@ -92,8 +92,8 @@ border-radius: 0.3em; text-shadow: 0 1px 1px rgba( 255, 255, 255, 0.5 ); border: 1px #c9c9c9 solid; - .oo-ui-transition(border-color @quick-ease); - .oo-ui-vertical-gradient(#fff, #ddd); + .oo-ui-transition( border-color @quick-ease ); + .oo-ui-vertical-gradient( #fff, #ddd ); &:hover, &:focus { @@ -115,7 +115,7 @@ box-shadow: inset 0 1px 4px 0 rgba( 0, 0, 0, 0.07 ); color: #000; border-color: #c9c9c9; - .oo-ui-vertical-gradient(#ddd, #fff); + .oo-ui-vertical-gradient( #ddd, #fff ); } &.oo-ui-iconElement { @@ -161,14 +161,14 @@ &.oo-ui-buttonElement-active > .oo-ui-buttonElement-button, &.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button { border: 1px solid @progressive-border; - .oo-ui-vertical-gradient(@progressive-gradient-end, @progressive-gradient-start); + .oo-ui-vertical-gradient( @progressive-gradient-end, @progressive-gradient-start ); } } &-constructive { > .oo-ui-buttonElement-button { border: 1px solid @constructive-border; - .oo-ui-vertical-gradient(@constructive-gradient-start, @constructive-gradient-end); + .oo-ui-vertical-gradient( @constructive-gradient-start, @constructive-gradient-end ); &:hover, &:focus { @@ -180,7 +180,7 @@ &.oo-ui-buttonElement-active > .oo-ui-buttonElement-button, &.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button { border: 1px solid @constructive-border; - .oo-ui-vertical-gradient(@constructive-gradient-end, @constructive-gradient-start); + .oo-ui-vertical-gradient( @constructive-gradient-end, @constructive-gradient-start ); } } @@ -247,7 +247,7 @@ .theme-oo-ui-pendingElement () { &-pending { - .oo-ui-background-image('@{oo-ui-default-image-path}/textures/pending.gif'); + .oo-ui-background-image( '@{oo-ui-default-image-path}/textures/pending.gif' ); } } diff --git a/src/themes/apex/tools.less b/src/themes/apex/tools.less index dccec8c..cb7c8a1 100644 --- a/src/themes/apex/tools.less +++ b/src/themes/apex/tools.less @@ -91,7 +91,7 @@ margin: 0.375em; border-radius: 0.3125em; border: 1px solid transparent; - .oo-ui-transition(border-color @medium-ease); + .oo-ui-transition( border-color @medium-ease ); .oo-ui-toolbar-narrow & { + .oo-ui-toolGroup { @@ -150,7 +150,7 @@ &.oo-ui-widget-enabled { border-color: rgba( 0, 0, 0, 0.2 ); box-shadow: inset 0 0.0875em 0.0875em 0 rgba( 0, 0, 0, 0.07 ); - .oo-ui-vertical-gradient(#F1F7FB, #fff); +