webpack-bootstrap-ui-kit/src/scss/types/editor.scss

105 lines
1.4 KiB
SCSS
Raw Normal View History

2019-12-31 12:55:51 +01:00
@import '../_variables';
2019-06-08 17:20:51 +02:00
2019-12-31 12:55:51 +01:00
@import '~bootstrap/scss/tables';
2019-06-08 17:20:51 +02:00
2019-10-20 01:40:40 +02:00
img,
.captionImage,
.image,
.ss-htmleditorfield-file {
display: block;
margin: 1rem;
max-width: 100%;
&.center {
margin-left: auto;
margin-right: auto;
text-align: center;
}
2019-06-08 17:20:51 +02:00
&.left {
float: left;
clear: left;
margin: 0 1rem 1rem 0;
}
2019-10-20 01:40:40 +02:00
&.right {
float: right;
clear: right;
margin: 1rem 0 0 1rem;
2019-06-08 17:20:51 +02:00
}
2019-10-20 01:40:40 +02:00
&.leftAlone {
float: left;
clear: left;
margin: 0 1rem 1rem 0;
}
&.rightAlone {
2019-06-08 17:20:51 +02:00
float: right;
clear: right;
margin: 1rem 0 0 1rem;
}
2019-10-20 01:40:40 +02:00
iframe {
width: 100% !important;
2019-12-31 12:55:51 +01:00
height: 100% !important;
2019-10-20 01:40:40 +02:00
}
2019-06-08 17:20:51 +02:00
}
.text-left {
text-align: left;
}
.text-center {
text-align: center;
}
.text-right {
text-align: right;
}
.text-justify {
text-align: justify;
}
table {
width: 100%;
max-width: 100%;
border-collapse: collapse;
@extend .table;
@extend .table-bordered;
}
table {
&.table-none {
border: 0;
2019-12-31 12:55:51 +01:00
tr,
td,
th {
2019-06-08 17:20:51 +02:00
border: 0;
background: none !important;
}
}
}
2019-10-20 01:40:40 +02:00
ul {
list-style: none;
li {
list-style: none;
&:before {
2019-12-31 12:55:51 +01:00
content: '\2022';
2019-10-20 01:40:40 +02:00
display: inline-block;
2019-12-31 12:55:51 +01:00
margin-right: 0.5em;
2019-10-20 01:40:40 +02:00
}
}
}
iframe {
max-width: 100%;
}