on-demand release 3.2beta+
[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 {
f3662213 9 max-height: 200px;
43a737d1 10 margin-bottom: 1em;
f3662213 11 overflow: auto;
43a737d1
DW
12}
13
14.editor_atto_content img {
15 cursor: pointer;
da00661d 16}
ffb8aff6
DW
17
18.atto_image_size {
19 display: inline-block;
20}
bc33e9bd 21
ffb8aff6
DW
22.atto_image_size input[type=checkbox] {
23 margin-left: 1em;
24 margin-right: 1em;
25}
bc33e9bd 26
ffb8aff6
DW
27.atto_image_size input[type=text] {
28 width: 3em;
29}
bc33e9bd 30
ffb8aff6
DW
31.atto_image_size label {
32 display: inline-block;
33}
c3e1c98f
NM
34
35.atto_image_button_text-top {
36 vertical-align: text-top;
37 margin: 0 0.5em;
38}
39
40.atto_image_button_middle {
41 vertical-align: middle;
42 margin: 0 0.5em;
43}
44
45.atto_image_button_text-bottom {
46 vertical-align: text-bottom;
47 margin: 0 0.5em;
48}
49
50.atto_image_button_text-top.img-responsive,
51.atto_image_button_middle.img-responsive,
52.atto_image_button_text-bottom.img-responsive {
53 max-width: calc(100% - 1em);
54}
55
56.atto_image_button_left {
57 float: left;
58 margin: 0 0.5em 0 0;
59 max-width: calc(100% - 1em);
60}
61
62.atto_image_button_right {
63 float: right;
64 margin: 0 0 0 0.5em;
65 max-width: calc(100% - 1em);
66}