1 .editor_atto_content_wrap {
2 background-color: white;
12 .editor_atto_content_wrap,
13 .editor_atto + textarea {
18 .editor_atto + textarea {
24 div.editor_atto_toolbar {
28 border: 1px solid $input-border-color;
33 div.editor_atto_toolbar button {
42 div.editor_atto_toolbar button + button {
43 border-left: 1px solid #ccc;
46 div.editor_atto_toolbar button[disabled] {
52 .editor_atto_toolbar button:hover {
53 background-image: radial-gradient(ellipse at center, #fff 60%, #dfdfdf 100%);
54 background-color: #ebebeb;
57 .editor_atto_toolbar button:active,
58 .editor_atto_toolbar button.highlight {
59 background-image: radial-gradient(ellipse at center, #fff 40%, #dfdfdf 100%);
60 background-color: #dfdfdf;
63 /* Make firefox button sizes match other browsers */
64 div.editor_atto_toolbar button::-moz-focus-inner {
69 div.editor_atto_toolbar button .icon {
74 div.editor_atto_toolbar div.atto_group {
75 display: inline-block;
76 border: 1px solid #ccc;
77 border-bottom: 1px solid #b3b3b3;
83 .editor_atto_content img {
89 /* IE8 places the images on top of each other if that is not set. */
93 .atto_menuentry .icon {
108 /*.atto_form label.sameline {
109 display: inline-block;
113 .atto_form textarea.fullwidth,
114 .atto_form input.fullwidth {
135 .atto_control .icon {
136 background-color: white;
139 div.editor_atto_content:focus .atto_control,
140 div.editor_atto_content:hover .atto_control {
144 .editor_atto_menu.yui3-menu-hidden {
148 /* Get broken images back in firefox */
149 .editor_atto_content img:-moz-broken {
150 -moz-force-broken-image-icon: 1;
155 /* Atto menu styling */
156 .moodle-dialogue-base .editor_atto_menu .moodle-dialogue-content .moodle-dialogue-bd {
161 .editor_atto_menu .dropdown-menu > li > a {
165 .editor_atto_menu .open ul.dropdown-menu {
174 .editor_atto_wrap textarea {
178 .editor_atto_notification .atto_info,
179 .editor_atto_notification .atto_warning {
180 display: inline-block;
181 background-color: #f2f2f2;
185 border-bottom-left-radius: 1em;
186 border-bottom-right-radius: 1em;
189 .editor_atto_notification .atto_info {
190 background-color: #f2f2f2;
193 .editor_atto_notification .atto_warning {
194 background-color: #ffd700;
197 .editor_atto_toolbar,
198 .editor_atto_content_wrap,
199 .editor_atto + textarea {
200 box-sizing: border-box;
203 .editor_atto_content.form-control {
208 /** Atto fields do not have form-control because that would break the layout of the editor.
209 So they need these extra styles to highlight the editor when there is a validation error. */
210 .has-danger .editor_atto_content.form-control,
211 .has-danger .editor_atto_content.form-control-danger {
212 @include form-validation-state('invalid', $form-feedback-invalid-color, $form-feedback-icon-invalid);
215 .open.atto_menu > .dropdown-menu {
218 div.editor_atto_toolbar button .icon {