2012-07-19 00:11:26 +00:00
|
|
|
/**
|
|
|
|
* VisualEditor initialization ViewPageTarget styles.
|
2012-07-19 21:25:16 +00:00
|
|
|
*
|
2012-07-19 00:11:26 +00:00
|
|
|
* @copyright 2011-2012 VisualEditor Team and others; see AUTHORS.txt
|
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
2012-06-18 20:12:32 +00:00
|
|
|
.ve-surface {
|
|
|
|
margin-top: 0.8em;
|
|
|
|
}
|
|
|
|
|
2012-06-11 06:54:41 +00:00
|
|
|
.es-toolbar-wrapper {
|
2012-06-14 01:26:21 +00:00
|
|
|
margin: -1em -1em 1em -1em;
|
2012-05-31 00:09:06 +00:00
|
|
|
}
|
2012-06-11 06:54:41 +00:00
|
|
|
|
|
|
|
.es-toolbar {
|
2012-06-14 01:26:21 +00:00
|
|
|
display: none;
|
2012-06-11 06:54:41 +00:00
|
|
|
margin-left: 1px;
|
|
|
|
}
|
|
|
|
|
2012-06-12 01:21:31 +00:00
|
|
|
.ve-init-viewPageTarget-pageTitle {
|
2012-06-14 21:31:08 +00:00
|
|
|
-webkit-transition: opacity 200ms ease-out;
|
|
|
|
-moz-transition: opacity 200ms ease-out;
|
|
|
|
-o-transition: opacity 200ms ease-out;
|
|
|
|
transition: opacity 200ms ease-out;
|
2012-06-14 01:26:21 +00:00
|
|
|
cursor: default;
|
2012-06-12 01:21:31 +00:00
|
|
|
}
|
|
|
|
|
2012-06-14 21:31:08 +00:00
|
|
|
.ve-init-viewPageTarget-pageToc {
|
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2012-06-11 23:06:35 +00:00
|
|
|
.ve-init-viewPageTarget-loadingSpinner {
|
2012-06-11 20:24:20 +00:00
|
|
|
background-image: url(images/loading.gif);
|
|
|
|
width: 128px;
|
|
|
|
height: 15px;
|
|
|
|
float: right;
|
2012-06-11 06:54:41 +00:00
|
|
|
}
|
|
|
|
|
2012-06-28 09:53:54 +00:00
|
|
|
.ve-init-viewPageTarget-toolbar-feedbackButton {
|
|
|
|
display: inline-block;
|
|
|
|
cursor: pointer;
|
|
|
|
vertical-align: top;
|
|
|
|
padding: 0.25em;
|
|
|
|
height: 22px;
|
|
|
|
margin-right: 0.25em;
|
|
|
|
border: solid 1px transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-init-viewPageTarget-toolbar-feedbackButton a {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
height: 32px;
|
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: 4px;
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
2012-06-18 20:12:32 +00:00
|
|
|
.ve-init-viewPageTarget-toolbar-saveButton {
|
2012-05-31 00:09:06 +00:00
|
|
|
display: inline-block;
|
2012-07-10 14:08:58 +00:00
|
|
|
border: solid 1px #c3e59a;
|
|
|
|
-webkit-border-radius: 0.25em;
|
|
|
|
-moz-border-radius: 0.25em;
|
|
|
|
-o-border-radius: 0.25em;
|
|
|
|
border-radius: 0.25em;
|
2012-05-31 00:09:06 +00:00
|
|
|
cursor: pointer;
|
|
|
|
vertical-align: top;
|
2012-07-10 14:08:58 +00:00
|
|
|
font-size: 1em;
|
|
|
|
padding: 0.25em 0.5em;
|
2012-05-31 00:09:06 +00:00
|
|
|
height: 22px;
|
2012-06-01 23:26:03 +00:00
|
|
|
margin-right: 0.25em;
|
2012-07-10 14:08:58 +00:00
|
|
|
/* Fancy CSS background */
|
|
|
|
background-image: linear-gradient(bottom, #c3e59a 0%, #f0fbe1 100%);
|
|
|
|
background-image: -o-linear-gradient(bottom, #c3e59a 0%, #f0fbe1 100%);
|
|
|
|
background-image: -moz-linear-gradient(bottom, #c3e59a 0%, #f0fbe1 100%);
|
|
|
|
background-image: -webkit-linear-gradient(bottom, #c3e59a 0%, #f0fbe1 100%);
|
|
|
|
background-image: -ms-linear-gradient(bottom, #c3e59a 0%, #f0fbe1 100%);
|
|
|
|
background-image: -webkit-gradient(
|
|
|
|
linear,
|
|
|
|
left bottom,
|
|
|
|
left top,
|
|
|
|
color-stop(0, #c3e59a),
|
|
|
|
color-stop(1, #f0fbe1)
|
|
|
|
);
|
2012-05-31 00:09:06 +00:00
|
|
|
}
|
2012-06-12 01:21:31 +00:00
|
|
|
|
2012-06-18 20:12:32 +00:00
|
|
|
.ve-init-viewPageTarget-toolbar-saveButton:before {
|
2012-05-31 00:09:06 +00:00
|
|
|
content: " ";
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
height: 22px;
|
|
|
|
}
|
2012-06-12 01:21:31 +00:00
|
|
|
|
2012-06-18 20:12:32 +00:00
|
|
|
.ve-init-viewPageTarget-toolbar-saveButton:hover {
|
2012-05-31 00:09:06 +00:00
|
|
|
border-color: #eeeeee;
|
|
|
|
}
|
2012-06-12 01:21:31 +00:00
|
|
|
|
2012-06-18 20:12:32 +00:00
|
|
|
.ve-init-viewPageTarget-toolbar-saveButton:active,
|
|
|
|
.ve-init-viewPageTarget-toolbar-saveButton-down {
|
2012-05-31 00:09:06 +00:00
|
|
|
border-color: #dddddd;
|
|
|
|
-webkit-box-shadow: inset 0px 1px 4px 0px rgba(0, 0, 0, 0.07);
|
|
|
|
-moz-box-shadow: inset 0px 1px 4px 0px rgba(0, 0, 0, 0.07);
|
|
|
|
box-shadow: inset 0px 1px 4px 0px rgba(0, 0, 0, 0.07);
|
2012-05-31 23:54:53 +00:00
|
|
|
}
|
|
|
|
|
2012-06-18 20:12:32 +00:00
|
|
|
.ve-init-viewPageTarget-toolbar-saveButton-disabled {
|
2012-06-12 17:32:10 +00:00
|
|
|
opacity: 0.5;
|
|
|
|
-moz-opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2012-06-18 20:12:32 +00:00
|
|
|
.ve-init-viewPageTarget-toolbar-saveButton-label {
|
2012-06-12 01:21:31 +00:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
height: 32px;
|
|
|
|
padding-left: 4px;
|
2012-06-11 06:54:41 +00:00
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* mini save button */
|
2012-06-11 23:06:35 +00:00
|
|
|
.ve-init-viewPageTarget-saveDialog-closeButton {
|
2012-06-11 06:54:41 +00:00
|
|
|
right: .025em;
|
|
|
|
width: 22px;
|
|
|
|
background-image: url(../../ui/styles/images/close.png);
|
|
|
|
background-position: center center;
|
2012-05-31 23:54:53 +00:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
2012-06-11 06:54:41 +00:00
|
|
|
|
2012-06-11 23:06:35 +00:00
|
|
|
.ve-init-viewPageTarget-saveDialog-saveButton {
|
2012-05-31 23:54:53 +00:00
|
|
|
position: absolute;
|
2012-06-18 20:12:32 +00:00
|
|
|
cursor: pointer;
|
|
|
|
border: 1px solid #c3e59a;
|
2012-05-31 23:54:53 +00:00
|
|
|
margin-top: 10px;
|
|
|
|
right: 10px;
|
2012-06-11 06:54:41 +00:00
|
|
|
font-size: 1em;
|
|
|
|
padding: 0.5em 1em;
|
2012-07-10 14:08:58 +00:00
|
|
|
-webkit-border-radius: 0.25em;
|
2012-06-11 06:54:41 +00:00
|
|
|
-moz-border-radius: 0.25em;
|
2012-07-10 14:08:58 +00:00
|
|
|
-o-border-radius: 0.25em;
|
|
|
|
border-radius: 0.25em;
|
2012-05-31 23:54:53 +00:00
|
|
|
/* Fancy CSS background */
|
2012-06-18 20:12:32 +00:00
|
|
|
background-image: linear-gradient(bottom, #c3e59a 0%, #f0fbe1 100%);
|
|
|
|
background-image: -o-linear-gradient(bottom, #c3e59a 0%, #f0fbe1 100%);
|
|
|
|
background-image: -moz-linear-gradient(bottom, #c3e59a 0%, #f0fbe1 100%);
|
|
|
|
background-image: -webkit-linear-gradient(bottom, #c3e59a 0%, #f0fbe1 100%);
|
|
|
|
background-image: -ms-linear-gradient(bottom, #c3e59a 0%, #f0fbe1 100%);
|
2012-05-31 23:54:53 +00:00
|
|
|
background-image: -webkit-gradient(
|
|
|
|
linear,
|
|
|
|
left bottom,
|
|
|
|
left top,
|
2012-06-18 20:12:32 +00:00
|
|
|
color-stop(0, #c3e59a),
|
|
|
|
color-stop(1, #f0fbe1)
|
2012-05-31 23:54:53 +00:00
|
|
|
);
|
|
|
|
}
|
2012-06-12 01:21:31 +00:00
|
|
|
|
2012-06-19 19:15:41 +00:00
|
|
|
.ve-init-viewPageTarget-saveDialog-saveButton:active,
|
|
|
|
.ve-init-viewPageTarget-saveDialog-saveButton-down {
|
|
|
|
/* Fancy CSS background */
|
|
|
|
background-image: linear-gradient(bottom, #f0fbe1 0%, #c3e59a 100%);
|
|
|
|
background-image: -o-linear-gradient(bottom, #f0fbe1 0%, #c3e59a 100%);
|
|
|
|
background-image: -moz-linear-gradient(bottom, #f0fbe1 0%, #c3e59a 100%);
|
|
|
|
background-image: -webkit-linear-gradient(bottom, #f0fbe1 0%, #c3e59a 100%);
|
|
|
|
background-image: -ms-linear-gradient(bottom, #f0fbe1 0%, #c3e59a 100%);
|
|
|
|
background-image: -webkit-gradient(
|
|
|
|
linear,
|
|
|
|
left bottom,
|
|
|
|
left top,
|
|
|
|
color-stop(0, #f0fbe1),
|
|
|
|
color-stop(1, #c3e59a)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2012-06-18 20:12:32 +00:00
|
|
|
.ve-init-viewPageTarget-saveDialog-saveButton:hover {
|
|
|
|
border-color: #a7cd76;
|
|
|
|
}
|
|
|
|
|
2012-06-19 19:15:41 +00:00
|
|
|
.ve-init-viewPageTarget-saveDialog-saveButton-saving,
|
|
|
|
.ve-init-viewPageTarget-saveDialog-saveButton-saving:hover {
|
|
|
|
background-color: #e6f2cc;
|
|
|
|
background-image: none;
|
|
|
|
color: #cccccc;
|
|
|
|
border-color: #e3f0c6;
|
|
|
|
}
|
|
|
|
|
2012-07-10 14:08:58 +00:00
|
|
|
.ve-init-viewPageTarget-toolbar-saveButton-icon,
|
2012-06-11 23:06:35 +00:00
|
|
|
.ve-init-viewPageTarget-saveDialog-saveButton-icon {
|
2012-06-11 06:54:41 +00:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
height: 2em;
|
|
|
|
width: 28px;
|
2012-06-18 20:12:32 +00:00
|
|
|
margin-right: -4px;
|
2012-05-31 23:54:53 +00:00
|
|
|
background: transparent;
|
2012-06-11 06:54:41 +00:00
|
|
|
background-image: url(../../ui/styles/images/accept-clear.png);
|
2012-06-12 01:21:31 +00:00
|
|
|
background-position: right top;
|
2012-05-31 23:54:53 +00:00
|
|
|
background-repeat: no-repeat;
|
2012-06-11 06:54:41 +00:00
|
|
|
}
|
|
|
|
|
2012-07-10 14:08:58 +00:00
|
|
|
.ve-init-viewPageTarget-saveDialog-saveButton-label {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
height: 32px;
|
|
|
|
line-height: 2.125em;
|
|
|
|
padding-left: 4px;
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
|
2012-06-19 19:15:41 +00:00
|
|
|
.ve-init-viewPageTarget-saveDialog-saveButton-saving
|
|
|
|
.ve-init-viewPageTarget-saveDialog-saveButton-icon {
|
|
|
|
background-image: url(images/saving.gif);
|
|
|
|
background-position: right 46%;
|
|
|
|
}
|
|
|
|
|
2012-06-11 06:54:41 +00:00
|
|
|
/* Save dialog styles */
|
|
|
|
|
2012-06-11 23:06:35 +00:00
|
|
|
.ve-init-viewPageTarget-saveDialog {
|
2012-06-13 21:44:39 +00:00
|
|
|
display: none;
|
2012-06-12 17:32:10 +00:00
|
|
|
top: 0.25em;
|
2012-06-12 01:21:31 +00:00
|
|
|
right: 0.5em;
|
2012-06-11 06:54:41 +00:00
|
|
|
width: 29em;
|
|
|
|
}
|
|
|
|
|
2012-06-11 23:06:35 +00:00
|
|
|
.ve-init-viewPageTarget-saveDialog-body {
|
2012-06-11 06:54:41 +00:00
|
|
|
border-top:1px solid #dddddd;
|
|
|
|
padding: 10px 0;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2012-06-11 23:06:35 +00:00
|
|
|
.ve-init-viewPageTarget-saveDialog-license {
|
2012-06-11 06:54:41 +00:00
|
|
|
font-size: 0.7em;
|
|
|
|
color: #999999;
|
|
|
|
}
|
|
|
|
|
2012-06-11 23:06:35 +00:00
|
|
|
.ve-init-viewPageTarget-saveDialog-options {
|
2012-06-11 06:54:41 +00:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2012-06-11 23:06:35 +00:00
|
|
|
.ve-init-viewPageTarget-saveDialog input[type='text'] {
|
2012-06-18 20:12:32 +00:00
|
|
|
width: 98%;
|
2012-06-11 06:54:41 +00:00
|
|
|
font-size: 12px;
|
|
|
|
padding: 4px;
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
2012-06-11 23:06:35 +00:00
|
|
|
.ve-init-viewPageTarget-saveDialog input[type='checkbox'] {
|
2012-06-11 06:54:41 +00:00
|
|
|
margin-right: 5px;
|
|
|
|
}
|