mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
8c7ed92288
New changes: c54a48a build: Fix watch list (csslint -> stylelint) 58ba3d9 Add stylelint rules for @-rules 3f8c75a Stylelint: Add rule for unsupported browser features 3b96ff3 Fix minimum Opera version (15 -> 12) 9a1110b Stylelint: No ID selectors 9800bb8 build: Remove remaining references to csslint b6ab14a stylelint: Re-enable features by names 6cc1f3c Move stylelint to npm 1d15fa0 build: Bump stylelint version to v0.2.0 ccc1724 stylelint: Use the preset rather than extending Change-Id: I22fa8098592338a5e912aba9ad21131b21d9c0ea
135 lines
2.2 KiB
CSS
135 lines
2.2 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface education popup tool styles.
|
|
*
|
|
* @copyright 2011-2016 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-pulsatingDot {
|
|
width: 2.5em;
|
|
height: 2.5em;
|
|
border-radius: 50%;
|
|
background-color: #347bff;
|
|
position: absolute;
|
|
opacity: 0;
|
|
/* stylelint-disable no-unsupported-browser-features */
|
|
-webkit-animation: pulse 3s ease-out;
|
|
-moz-animation: pulse 3s ease-out;
|
|
animation: pulse 3s ease-out;
|
|
-webkit-animation-iteration-count: infinite;
|
|
-moz-animation-iteration-count: infinite;
|
|
animation-iteration-count: infinite;
|
|
/* stylelint-enable no-unsupported-browser-features */
|
|
}
|
|
|
|
.ve-ui-stillDot {
|
|
width: 0.8em;
|
|
height: 0.8em;
|
|
border-radius: 50%;
|
|
background-color: #347bff;
|
|
position: absolute;
|
|
}
|
|
|
|
.ve-ui-educationPopup-shield {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.oo-ui-widget-disabled .ve-ui-pulsatingDot,
|
|
.oo-ui-widget-disabled .ve-ui-stillDot {
|
|
display: none;
|
|
}
|
|
|
|
.ve-ui-educationPopup-dismiss {
|
|
margin-top: 0.5em;
|
|
}
|
|
|
|
.ve-ui-educationPopup-header {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.ve-ui-educationPopup .oo-ui-popupWidget {
|
|
/* Appear above local dialogs, e.g. toolbar dialog */
|
|
z-index: 3;
|
|
}
|
|
|
|
.ve-ui-educationPopup .oo-ui-popupWidget-body {
|
|
padding: 1em;
|
|
}
|
|
|
|
.ve-ui-educationPopup .oo-ui-popupWidget-body p {
|
|
line-height: 1.2em;
|
|
}
|
|
|
|
@-webkit-keyframes pulse {
|
|
0% {
|
|
transform: scale( 0 );
|
|
opacity: 0.0;
|
|
}
|
|
25% {
|
|
transform: scale( 0 );
|
|
opacity: 0.1;
|
|
}
|
|
50% {
|
|
transform: scale( 0.1 );
|
|
opacity: 0.3;
|
|
}
|
|
75% {
|
|
transform: scale( 0.5 );
|
|
opacity: 0.5;
|
|
}
|
|
100% {
|
|
transform: scale( 1 );
|
|
opacity: 0.0;
|
|
}
|
|
}
|
|
|
|
@-moz-keyframes pulse {
|
|
0% {
|
|
transform: scale( 0 );
|
|
opacity: 0.0;
|
|
}
|
|
25% {
|
|
transform: scale( 0 );
|
|
opacity: 0.1;
|
|
}
|
|
50% {
|
|
transform: scale( 0.1 );
|
|
opacity: 0.3;
|
|
}
|
|
75% {
|
|
transform: scale( 0.5 );
|
|
opacity: 0.5;
|
|
}
|
|
100% {
|
|
transform: scale( 1 );
|
|
opacity: 0.0;
|
|
}
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% {
|
|
transform: scale( 0 );
|
|
opacity: 0.0;
|
|
}
|
|
25% {
|
|
transform: scale( 0 );
|
|
opacity: 0.1;
|
|
}
|
|
50% {
|
|
transform: scale( 0.1 );
|
|
opacity: 0.3;
|
|
}
|
|
75% {
|
|
transform: scale( 0.5 );
|
|
opacity: 0.5;
|
|
}
|
|
100% {
|
|
transform: scale( 1 );
|
|
opacity: 0.0;
|
|
}
|
|
}
|