mediawiki-extensions-Visual.../modules/ve/ui/styles/ve.ui.Toolbar.css

162 lines
3.7 KiB
CSS
Raw Normal View History

2011-11-30 23:21:17 +00:00
.es-toolbarGroup {
display: inline-block;
padding: 0.25em;
border-right: solid 1px #f0f3f5;
vertical-align: middle;
2011-11-30 23:21:17 +00:00
}
.es-toolbarDivider {
display: inline-block;
2011-11-30 23:21:17 +00:00
width: 1px;
height: 24px;
margin: 0.5em 0 0.5em 0.5em;
background-color: #dddddd;
}
.es-toolbarLabel {
display: inline-block;
2011-11-30 23:21:17 +00:00
padding: 0.5em 0.75em;
line-height: 22px;
font-size: 0.8em;
color: #555555;
vertical-align: top;
2011-11-30 23:21:17 +00:00
}
.es-toolbarButtonTool,
.es-toolbarDropdownTool {
display: inline-block;
2011-11-30 23:21:17 +00:00
border: solid 1px transparent;
border-radius: 0.125em;
-webkit-border-radius: 0.125em;
-moz-border-radius: 0.125em;
-o-border-radius: 0.125em;
cursor: pointer;
2011-12-01 21:35:54 +00:00
vertical-align: top;
2011-11-30 23:21:17 +00:00
}
.es-toolbarButtonTool {
padding: 0.25em;
2011-11-30 23:21:17 +00:00
width: 22px;
height: 22px;
2011-12-01 21:35:54 +00:00
margin-right: 0.125em;
2011-11-30 23:21:17 +00:00
}
.es-toolbarButtonTool:before {
content: " ";
position: absolute;
2011-11-30 23:21:17 +00:00
display: block;
height: 22px;
width: 22px;
}
.es-toolbarButtonTool:hover,
.es-toolbarDropdownTool:hover {
border-color: #eeeeee;
}
.es-toolbarButtonTool:active,
.es-toolbarButtonTool-down {
border-color: #dddddd;
background-image: url(images/fade-down.png);
2011-11-30 23:21:17 +00:00
background-position: top left;
background-repeat: repeat-x;
2011-12-01 21:35:54 +00:00
-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);
2011-11-30 23:21:17 +00:00
}
2011-12-01 01:33:13 +00:00
.es-toolbarButtonTool-undo:before {
background-image: url(images/undo.png);
2011-12-01 01:33:13 +00:00
}
.es-toolbarButtonTool-redo:before {
background-image: url(images/redo.png);
2011-12-01 01:33:13 +00:00
}
2011-11-30 23:21:17 +00:00
.es-toolbarButtonTool-bold:before {
background-image: url(images/bold.png);
2011-11-30 23:21:17 +00:00
}
.es-toolbarButtonTool-italic:before {
background-image: url(images/italic.png);
2011-11-30 23:21:17 +00:00
}
.es-toolbarButtonTool-link:before {
background-image: url(images/link.png);
}
2011-11-30 23:21:17 +00:00
.es-toolbarButtonTool-clear:before {
background-image: url(images/clear.png);
2011-11-30 23:21:17 +00:00
}
.es-toolbarButtonTool-number:before {
background-image: url(images/number.png);
}
.es-toolbarButtonTool-bullet:before {
background-image: url(images/bullet.png);
}
.es-toolbarButtonTool-indent:before {
background-image: url(images/indent.png);
}
.es-toolbarButtonTool-outdent:before {
background-image: url(images/outdent.png);
}
.es-toolbarButtonTool-disabled {
-moz-opacity: 0.25;
filter:alpha(opacity=25);
opacity: 0.25;
}
.es-toolbarButtonTool-disabled.es-toolbarButtonTool-clear:before,
.es-toolbarButtonTool-disabled.es-toolbarButtonTool-indent:before,
.es-toolbarButtonTool-disabled.es-toolbarButtonTool-outdent:before {
2011-12-01 21:35:54 +00:00
-moz-opacity: 0.25;
filter:alpha(opacity=25);
opacity: 0.25;
}
.es-toolbarButtonTool-disabled:hover {
2012-01-04 17:44:14 +00:00
border-color: transparent;
}
.es-toolbarButtonTool-clear:before {
background-image: url(images/clear.png);
2011-11-30 23:58:32 +00:00
}
2011-11-30 23:21:17 +00:00
.es-toolbarDropdownTool {
position: relative;
border-color: #dddddd;
-webkit-border-radius: 0.25em;
-moz-border-radius: 0.25em;
-o-border-radius: 0.25em;
background-color: white;
}
.es-toolbarDropdownTool-label {
overflow: hidden;
height: 2em;
padding: 0.25em;
font-size: 0.8em;
line-height: 24px;
padding-left: 0.75em;
padding-right: 24px;
background-image: url(images/arrow-down.png);
background-position: 8.75em center;
background-repeat: no-repeat;
}
.es-toolbarDropdownTool .es-menuView {
left: -1px;
top: -1px;
}
.es-toolbarDropdownTool-format {
width: 8em;
2011-11-30 23:21:17 +00:00
}
.es-menuView-item[rel="heading-1"] span {
font-size: 188%;
font-weight: normal;
}
.es-menuView-item[rel="heading-2"] span {
font-size: 150%;
font-weight: normal;
}
.es-menuView-item[rel="heading-3"] span {
font-size: 132%;
font-weight: bold;
}
.es-menuView-item[rel="heading-4"] span {
font-size: 116%;
font-weight: bold;
}
.es-menuView-item[rel="heading-5"] span {
font-size: 100%;
font-weight: bold;
}
.es-menuView-item[rel="heading-6"] span {
font-size: 80%;
font-weight: bold;
}
.es-menuView-item[rel="pre"] span {
font-family: monospace,"Courier New";
}