weekly release 4.0dev
[moodle.git] / lib / editor / atto / plugins / image / styles.css
CommitLineData
da00661d 1.atto_image_preview {
f3662213
AN
2 width: 100%;
3 height: 100%;
4 margin-left: auto;
5 margin-right: auto;
d3931a7d 6}
bc33e9bd 7
d3931a7d 8.atto_image_preview_box {
1b217025 9 max-height: 150px;
43a737d1 10 margin-bottom: 1em;
f3662213 11 overflow: auto;
43a737d1
DW
12}
13
14.editor_atto_content img {
15 cursor: pointer;
da00661d 16}
ffb8aff6 17
c3e1c98f
NM
18.atto_image_button_text-top {
19 vertical-align: text-top;
20 margin: 0 0.5em;
21}
22
23.atto_image_button_middle {
24 vertical-align: middle;
25 margin: 0 0.5em;
26}
27
28.atto_image_button_text-bottom {
29 vertical-align: text-bottom;
30 margin: 0 0.5em;
31}
32
33.atto_image_button_text-top.img-responsive,
34.atto_image_button_middle.img-responsive,
35.atto_image_button_text-bottom.img-responsive {
d630c0e3
AG
36 /* If the image is display: block then linking the image to URLs won't work. */
37 display: inline-block;
c3e1c98f
NM
38 max-width: calc(100% - 1em);
39}
40
974573b4 41/*rtl:begin:ignore*/
c3e1c98f
NM
42.atto_image_button_left {
43 float: left;
44 margin: 0 0.5em 0 0;
45 max-width: calc(100% - 1em);
46}
47
48.atto_image_button_right {
49 float: right;
50 margin: 0 0 0 0.5em;
51 max-width: calc(100% - 1em);
52}
974573b4 53/*rtl:end:ignore*/