/*! * VisualEditor UserInterface Widget styles. * * @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt * @license The MIT License (MIT); see LICENSE.txt */ /* ve.ui.LanguageInputWidget */ .ve-ui-langInputWidget { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; width: 20em; position: relative; } .ve-ui-langInputWidget input, .ve-ui-langInputWidget input:focus[readonly], .ve-ui-langInputWidget.oo-ui-widget-disabled input:focus, .ve-ui-langInputWidget textarea, .ve-ui-langInputWidget textarea:focus[readonly], .ve-ui-langInputWidget.oo-ui-widget-disabled textarea:focus { display: inline-block; font-size: 1em; font-family: sans-serif; background-color: #f7f7f7; border: solid 1px #ccc; box-shadow: 0 0 0 white, inset 0 0.1em 0.2em #ddd; padding: 0.5em; border-radius: 0.25em; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; width: 100%; resize: none; /* Animation */ -webkit-transition: border-color 200ms, box-shadow 200ms, background-color 200ms; -moz-transition: border-color 200ms, box-shadow 200ms, background-color 200ms; -o-transition: border-color 200ms, box-shadow 200ms, background-color 200ms; transition: border-color 200ms, box-shadow 200ms, background-color 200ms; } .ve-ui-langInputWidget-pending input, .ve-ui-langInputWidget-pending textarea { background-color: transparent; } .ve-ui-langInputWidget input:focus, .ve-ui-langInputWidget textarea:focus { outline: none; border-color: #a7dcff; box-shadow: 0 0 0.3em #a7dcff, 0 0 0 white; background-color: #fff; } .ve-ui-langInputWidget input[readonly], .ve-ui-langInputWidget textarea[readonly] { color: #777; text-shadow: 0 1px 1px #fff; } .ve-ui-langInputWidget.oo-ui-widget-disabled input, .ve-ui-langInputWidget.oo-ui-widget-disabled input:focus, .ve-ui-langInputWidget.oo-ui-widget-disabled textarea, .ve-ui-langInputWidget.oo-ui-widget-disabled textarea:focus { color: #ccc; text-shadow: 0 1px 1px #fff; } .ve-ui-langInputWidget-decorated input, .ve-ui-langInputWidget-decorated textarea { padding-left: 2em; } .ve-ui-langInputWidget-icon { position: absolute; top: 0; left: 0; width: 2em; height: 100%; background-position: right center; background-repeat: no-repeat; } /* ve.ui.SurfaceWidget.js */ .ve-ui-surfaceWidget-surface { border: solid 1px #ddd; border-radius: 0.25em; border-top-right-radius: 0; border-top-left-radius: 0; } .ve-ui-surfaceWidget-surface .ve-ce-documentNode { padding: 1.875em; /* 1.5/0.8 */ } .ve-ui-surfaceWidget-toolbar { font-size: 1.25em; } .ve-ui-surfaceWidget-toolbar .oo-ui-toolbar-bar { border: solid 1px #ddd; border-radius: 0.25em; border-bottom-right-radius: 0; border-bottom-left-radius: 0; border-bottom-width: 0; }