2015-09-01 16:47:18 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki UserInterface education popup tool styles.
|
|
|
|
*
|
2019-01-01 13:24:23 +00:00
|
|
|
* @copyright 2011-2019 VisualEditor Team and others; see AUTHORS.txt
|
2015-09-01 16:47:18 +00:00
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
2017-08-30 17:36:02 +00:00
|
|
|
.ve-ui-educationPopup {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2017-08-29 16:21:44 +00:00
|
|
|
.ve-ui-pulsatingDot,
|
|
|
|
.ve-ui-stillDot {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 50%;
|
|
|
|
z-index: 1;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: #36c;
|
|
|
|
}
|
|
|
|
|
2015-10-15 21:11:47 +00:00
|
|
|
.ve-ui-pulsatingDot {
|
2015-10-15 23:23:33 +00:00
|
|
|
width: 2.5em;
|
|
|
|
height: 2.5em;
|
2017-08-29 16:21:44 +00:00
|
|
|
margin-bottom: -1.25em;
|
|
|
|
margin-left: -1.25em;
|
2016-04-14 15:16:52 +00:00
|
|
|
opacity: 0;
|
2016-02-26 15:21:46 +00:00
|
|
|
-webkit-animation: pulse 3s ease-out;
|
2016-05-16 14:38:57 +00:00
|
|
|
-moz-animation: pulse 3s ease-out;
|
|
|
|
animation: pulse 3s ease-out;
|
2016-02-26 15:21:46 +00:00
|
|
|
-webkit-animation-iteration-count: infinite;
|
2016-05-16 14:38:57 +00:00
|
|
|
-moz-animation-iteration-count: infinite;
|
|
|
|
animation-iteration-count: infinite;
|
2015-09-01 16:47:18 +00:00
|
|
|
}
|
|
|
|
|
2015-10-15 23:23:33 +00:00
|
|
|
.ve-ui-stillDot {
|
|
|
|
width: 0.8em;
|
|
|
|
height: 0.8em;
|
2017-08-29 16:21:44 +00:00
|
|
|
margin-bottom: -0.4em;
|
|
|
|
margin-left: -0.4em;
|
2015-10-15 23:23:33 +00:00
|
|
|
}
|
|
|
|
|
2015-11-04 18:30:53 +00:00
|
|
|
.ve-ui-educationPopup-shield {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
2015-10-15 23:23:33 +00:00
|
|
|
.oo-ui-widget-disabled .ve-ui-pulsatingDot,
|
|
|
|
.oo-ui-widget-disabled .ve-ui-stillDot {
|
2015-09-01 16:47:18 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-10-15 21:11:47 +00:00
|
|
|
.ve-ui-educationPopup-dismiss {
|
|
|
|
margin-top: 0.5em;
|
2015-09-01 16:47:18 +00:00
|
|
|
}
|
|
|
|
|
2015-10-15 21:11:47 +00:00
|
|
|
.ve-ui-educationPopup-header {
|
2015-09-01 16:47:18 +00:00
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2015-12-09 15:56:08 +00:00
|
|
|
.ve-ui-educationPopup .oo-ui-popupWidget {
|
|
|
|
/* Appear above local dialogs, e.g. toolbar dialog */
|
|
|
|
z-index: 3;
|
|
|
|
}
|
|
|
|
|
2015-10-15 21:11:47 +00:00
|
|
|
.ve-ui-educationPopup .oo-ui-popupWidget-body {
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-educationPopup .oo-ui-popupWidget-body p {
|
2015-09-01 16:47:18 +00:00
|
|
|
line-height: 1.2em;
|
|
|
|
}
|
|
|
|
|
2016-02-26 15:21:46 +00:00
|
|
|
@-webkit-keyframes pulse {
|
|
|
|
0% {
|
2016-05-16 14:38:57 +00:00
|
|
|
transform: scale( 0 );
|
2016-05-24 12:41:13 +00:00
|
|
|
opacity: 0;
|
2016-02-26 15:21:46 +00:00
|
|
|
}
|
2018-12-03 18:20:02 +00:00
|
|
|
|
2016-02-26 15:21:46 +00:00
|
|
|
25% {
|
2016-05-16 14:38:57 +00:00
|
|
|
transform: scale( 0 );
|
2016-02-26 15:21:46 +00:00
|
|
|
opacity: 0.1;
|
|
|
|
}
|
2018-12-03 18:20:02 +00:00
|
|
|
|
2016-02-26 15:21:46 +00:00
|
|
|
50% {
|
2016-05-16 14:38:57 +00:00
|
|
|
transform: scale( 0.1 );
|
2016-02-26 15:21:46 +00:00
|
|
|
opacity: 0.3;
|
|
|
|
}
|
2018-12-03 18:20:02 +00:00
|
|
|
|
2016-02-26 15:21:46 +00:00
|
|
|
75% {
|
2016-05-16 14:38:57 +00:00
|
|
|
transform: scale( 0.5 );
|
2016-02-26 15:21:46 +00:00
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2018-12-03 18:20:02 +00:00
|
|
|
|
2016-02-26 15:21:46 +00:00
|
|
|
100% {
|
2016-05-16 14:38:57 +00:00
|
|
|
transform: scale( 1 );
|
2016-05-24 12:41:13 +00:00
|
|
|
opacity: 0;
|
2016-02-26 15:21:46 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@-moz-keyframes pulse {
|
|
|
|
0% {
|
2016-05-16 14:38:57 +00:00
|
|
|
transform: scale( 0 );
|
2016-05-24 12:41:13 +00:00
|
|
|
opacity: 0;
|
2016-02-26 15:21:46 +00:00
|
|
|
}
|
2018-12-03 18:20:02 +00:00
|
|
|
|
2016-02-26 15:21:46 +00:00
|
|
|
25% {
|
2016-05-16 14:38:57 +00:00
|
|
|
transform: scale( 0 );
|
2016-02-26 15:21:46 +00:00
|
|
|
opacity: 0.1;
|
|
|
|
}
|
2018-12-03 18:20:02 +00:00
|
|
|
|
2016-02-26 15:21:46 +00:00
|
|
|
50% {
|
2016-05-16 14:38:57 +00:00
|
|
|
transform: scale( 0.1 );
|
2016-02-26 15:21:46 +00:00
|
|
|
opacity: 0.3;
|
|
|
|
}
|
2018-12-03 18:20:02 +00:00
|
|
|
|
2016-02-26 15:21:46 +00:00
|
|
|
75% {
|
2016-05-16 14:38:57 +00:00
|
|
|
transform: scale( 0.5 );
|
2016-02-26 15:21:46 +00:00
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2018-12-03 18:20:02 +00:00
|
|
|
|
2016-02-26 15:21:46 +00:00
|
|
|
100% {
|
2016-05-16 14:38:57 +00:00
|
|
|
transform: scale( 1 );
|
2016-05-24 12:41:13 +00:00
|
|
|
opacity: 0;
|
2016-02-26 15:21:46 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-01 16:47:18 +00:00
|
|
|
@keyframes pulse {
|
|
|
|
0% {
|
2016-05-16 14:38:57 +00:00
|
|
|
transform: scale( 0 );
|
2016-05-24 12:41:13 +00:00
|
|
|
opacity: 0;
|
2015-09-01 16:47:18 +00:00
|
|
|
}
|
2018-12-03 18:20:02 +00:00
|
|
|
|
2015-09-01 16:47:18 +00:00
|
|
|
25% {
|
2016-05-16 14:38:57 +00:00
|
|
|
transform: scale( 0 );
|
2015-09-01 16:47:18 +00:00
|
|
|
opacity: 0.1;
|
|
|
|
}
|
2018-12-03 18:20:02 +00:00
|
|
|
|
2015-09-01 16:47:18 +00:00
|
|
|
50% {
|
2016-05-16 14:38:57 +00:00
|
|
|
transform: scale( 0.1 );
|
2015-09-01 16:47:18 +00:00
|
|
|
opacity: 0.3;
|
|
|
|
}
|
2018-12-03 18:20:02 +00:00
|
|
|
|
2015-09-01 16:47:18 +00:00
|
|
|
75% {
|
2016-05-16 14:38:57 +00:00
|
|
|
transform: scale( 0.5 );
|
2015-09-01 16:47:18 +00:00
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2018-12-03 18:20:02 +00:00
|
|
|
|
2015-09-01 16:47:18 +00:00
|
|
|
100% {
|
2016-05-16 14:38:57 +00:00
|
|
|
transform: scale( 1 );
|
2016-05-24 12:41:13 +00:00
|
|
|
opacity: 0;
|
2015-09-01 16:47:18 +00:00
|
|
|
}
|
2016-05-16 14:38:57 +00:00
|
|
|
}
|