Files
moodle/lib/editor/atto/styles.css
T
Sam Hemelryk 53361c3087 Merge branch 'MDL-44772-master' of git://github.com/FMCorz/moodle
Conflicts:
	lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-min.js
2014-04-02 09:43:25 +13:00

243 lines
4.7 KiB
CSS

.editor_atto_content_wrap {
background-color: white;
color: #333;
}
.editor_atto_content {
padding: 4px;
resize: vertical;
overflow: auto;
}
.editor_atto_content_wrap,
.editor_atto + textarea {
width: 100%;
padding: 0;
border: 1px solid #BBB;
border-top: none;
}
.editor_atto + textarea {
border-radius: 0;
resize: vertical;
margin-top: -1px;
}
div.editor_atto_toolbar {
display: block;
background: #F2F2F2;
min-height: 35px;
border: 1px solid #BBB;
width: 100%;
padding: 0 0 9px 0;
}
div.editor_atto_toolbar button {
padding: 3px 9px;
background: none;
border: 0;
margin: 0;
border-radius: 0;
cursor: pointer;
}
div.editor_atto_toolbar button + button {
border-left: 1px solid #CCC;
}
div.editor_atto_toolbar button[disabled] {
opacity: .45;
background: none;
cursor: default;
}
.editor_atto_toolbar button:hover {
background-image: radial-gradient(ellipse at center, #ffffff 60%,#dfdfdf 100%);
background-color: #ebebeb;
}
.editor_atto_toolbar button:active, .editor_atto_toolbar button.highlight {
background-image: radial-gradient(ellipse at center, #ffffff 40%,#dfdfdf 100%);
background-color: #dfdfdf;
}
/* Make firefox button sizes match other browsers */
div.editor_atto_toolbar button::-moz-focus-inner {
border:0;
padding:0;
}
div.editor_atto_toolbar button img.icon {
padding: 0px;
margin: 2px 0;
/* The following is dedicated to the beloved IE8, clashing with Bootstrap. God bless you IE. */
vertical-align: text-bottom;
width: auto;
height: auto;
}
div.editor_atto_toolbar div.atto_group {
display: inline-block;
border: 1px solid #CCC;
border-bottom: 1px solid #B3B3B3;
border-radius: 4px;
margin: 9px 0 0 9px;
background: #FFF;
}
.editor_atto_content img {
resize: both; overflow: auto;
}
.atto_hasmenu {
/* IE8 places the images on top of each other if that is not set. */
white-space: nowrap;
}
.atto_menuentry img {
width: 16px;
height: 16px;
}
.atto_menu {
background: white;
padding: 1px;
white-space: inherit;
}
.atto_menu a {
color: black;
}
.atto_menuentry {
clear: left;
}
.atto_menuentry h1,
.atto_menuentry h2,
.atto_menuentry p {
margin: 4px;
}
.atto_form label.sameline {
display: inline-block;
min-width: 10em;
}
.atto_form textarea.fullwidth,
.atto_form input.fullwidth {
width: 100%;
}
.atto_form {
padding-left: 30px;
padding-right: 30px;
}
.atto_form label {
display: block;
margin: 0 0 5px 0;
}
/* RTL Rules */
body.dir-rtl div.editor_atto_toolbar button + button {
border-left: 0;
border-right: 1px solid #CCC;
}
body.dir-rtl div.editor_atto_toolbar img.icon {
padding: 0;
}
body.dir-rtl div.editor_atto_toolbar div.atto_group {
margin: 9px 9px 0 0;
}
.atto_control {
position: absolute;
right: -6px;
bottom: -6px;
display: none;
cursor: pointer;
}
.atto_control img {
background-color: white;
}
div.editor_atto_content:focus .atto_control,
div.editor_atto_content:hover .atto_control {
display: block;
}
.yui3-menu-hidden {
display: none;
}
.editor_atto_controlmenu li {
list-style-type: none;
padding: 0;
margin: 0;
}
.editor_atto_controlmenu ul {
padding: 0;
margin: 0;
}
.editor_atto_controlmenu .moodle-dialogue-hd,
.editor_atto_controlmenu .moodle-dialogue-ft {
display: none;
}
.editor_atto_controlmenu ul li a:active,
.editor_atto_controlmenu ul li a:hover {
background-color: #0088cc;
color: white;
}
.editor_atto_controlmenu ul li a {
color: #333;
padding: 2px;
padding-left: 6px;
padding-right: 6px;
border-radius: 2px;
display: block;
}
/* Get broken images back in firefox */
.editor_atto_content img:-moz-broken {
-moz-force-broken-image-icon:1;
min-width:24px;
min-height:24px;
}
.moodle-dialogue-base .editor_atto_menu .moodle-dialogue-content .moodle-dialogue-bd {
position: absolute;
text-align:left;
z-index: 1000;
display: block;
background-color: #fff;
border: 1px solid #ccc;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 5px 5px 20px 0 #666666;
-moz-box-shadow: 5px 5px 20px 0 #666666;
box-shadow: 5px 5px 20px 0 #666666;
padding: 0px;
}
.editor_atto_menu .menu {
margin: 0px;
}
.editor_atto_menu .menu a {
display: block;
padding: 4px 1em 4px 1em;
color: #333333;
}
.editor_atto_menu .menu a:hover {
color: #ffffff;background-color: #0088cc;
}
.editor_atto_menu .menu a.hidden {
display: none;
}
.editor_atto_menu .menu img {
vertical-align: middle;
}
.editor_atto_menu .menu > li {
display: block;
}