2018-11-21 07:34:04 +11:00
|
|
|
@import '../../_variables.scss';
|
|
|
|
.style-switcher {
|
|
|
|
.preset-switcher {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.style-control {
|
|
|
|
display: flex;
|
|
|
|
align-items: baseline;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
|
|
|
.label {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2018-11-21 11:14:59 +11:00
|
|
|
&.disabled {
|
|
|
|
input, select {
|
|
|
|
&:not(.exclude-disabled) {
|
|
|
|
opacity: .5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-21 07:34:04 +11:00
|
|
|
input, select {
|
|
|
|
min-width: 3em;
|
|
|
|
margin: 0;
|
|
|
|
flex: 0;
|
|
|
|
|
|
|
|
&[type=color] {
|
|
|
|
padding: 1px;
|
|
|
|
cursor: pointer;
|
|
|
|
height: 29px;
|
|
|
|
min-width: 2em;
|
|
|
|
border: none;
|
|
|
|
align-self: stretch;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[type=number] {
|
|
|
|
min-width: 5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[type=range] {
|
|
|
|
flex: 1;
|
|
|
|
min-width: 3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[type=checkbox] + label {
|
|
|
|
margin: 6px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not([type=number]):not([type=text]) {
|
2018-12-02 17:38:40 +11:00
|
|
|
align-self: flex-start;
|
2018-11-21 07:34:04 +11:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-22 06:01:34 +11:00
|
|
|
.tab-switcher {
|
|
|
|
margin: 0 -1em;
|
|
|
|
}
|
|
|
|
|
2018-11-23 19:36:36 +11:00
|
|
|
.reset-container {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
2018-11-26 05:48:16 +11:00
|
|
|
.fonts-container,
|
2018-11-23 19:36:36 +11:00
|
|
|
.reset-container,
|
2018-11-21 07:34:04 +11:00
|
|
|
.apply-container,
|
|
|
|
.radius-container,
|
|
|
|
.color-container,
|
2018-11-23 16:24:55 +11:00
|
|
|
{
|
2018-11-21 07:34:04 +11:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2018-11-26 05:48:16 +11:00
|
|
|
.fonts-container,
|
2018-11-21 07:34:04 +11:00
|
|
|
.radius-container {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-container{
|
2018-11-22 06:01:34 +11:00
|
|
|
> h4 {
|
|
|
|
width: 99%;
|
|
|
|
}
|
2018-11-21 07:34:04 +11:00
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2018-11-26 05:48:16 +11:00
|
|
|
.fonts-container,
|
2018-11-22 06:01:34 +11:00
|
|
|
.color-container,
|
|
|
|
.shadow-container,
|
2018-11-23 16:24:55 +11:00
|
|
|
.radius-container,
|
|
|
|
.presets-container {
|
2018-11-22 06:01:34 +11:00
|
|
|
margin: 1em 1em 0;
|
|
|
|
}
|
|
|
|
|
2018-11-23 19:36:36 +11:00
|
|
|
.tab-header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: baseline;
|
|
|
|
width: 100%;
|
|
|
|
min-height: 30px;
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
min-width: 1px;
|
|
|
|
flex: 0 auto;
|
|
|
|
padding: 0 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
flex: 1;
|
|
|
|
margin: 0;
|
2018-12-02 17:38:40 +11:00
|
|
|
margin-right: .5em;
|
2018-11-23 19:36:36 +11:00
|
|
|
}
|
|
|
|
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.shadow-selector {
|
|
|
|
.override {
|
|
|
|
flex: 1;
|
|
|
|
margin-left: .5em;
|
|
|
|
}
|
|
|
|
.select-container {
|
|
|
|
margin-top: -4px;
|
|
|
|
margin-bottom: -3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-23 16:24:55 +11:00
|
|
|
.save-load,
|
|
|
|
.save-load-options {
|
2018-11-21 07:34:04 +11:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: baseline;
|
2018-12-02 18:22:25 +11:00
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
.presets,
|
|
|
|
.import-export {
|
|
|
|
margin-bottom: .5em;
|
|
|
|
}
|
2018-11-21 07:34:04 +11:00
|
|
|
|
|
|
|
.import-export {
|
|
|
|
display: flex;
|
|
|
|
}
|
2018-11-23 19:36:36 +11:00
|
|
|
|
2018-11-21 07:34:04 +11:00
|
|
|
.override {
|
|
|
|
margin-left: .5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-23 16:24:55 +11:00
|
|
|
.save-load-options {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin-top: .5em;
|
2018-12-12 00:36:06 +11:00
|
|
|
justify-content: center;
|
|
|
|
.keep-option {
|
2018-12-02 17:38:40 +11:00
|
|
|
margin: 0 .5em .5em;
|
2018-12-12 00:36:06 +11:00
|
|
|
min-width: 25%;
|
2018-11-23 16:24:55 +11:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-21 07:34:04 +11:00
|
|
|
.preview-container {
|
|
|
|
border-top: 1px dashed;
|
|
|
|
border-bottom: 1px dashed;
|
|
|
|
border-color: $fallback--border;
|
|
|
|
border-color: var(--border, $fallback--border);
|
|
|
|
margin: 1em -1em 0;
|
|
|
|
padding: 1em;
|
|
|
|
background: var(--body-background-image);
|
|
|
|
background-size: cover;
|
|
|
|
background-position: 50% 50%;
|
|
|
|
|
2018-11-27 12:54:59 +11:00
|
|
|
.dummy {
|
|
|
|
.post {
|
|
|
|
font-family: var(--postFont);
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.content {
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
margin-bottom: .25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icons {
|
|
|
|
margin-top: .5em;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
i {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-11-26 11:19:04 +11:00
|
|
|
|
2018-11-27 12:54:59 +11:00
|
|
|
.after-post {
|
|
|
|
margin-top: 1em;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2018-11-26 11:19:04 +11:00
|
|
|
}
|
2018-11-27 12:54:59 +11:00
|
|
|
|
|
|
|
.avatar, .avatar-alt{
|
|
|
|
background: linear-gradient(135deg, #b8e1fc 0%,#a9d2f3 10%,#90bae4 25%,#90bcea 37%,#90bff0 50%,#6ba8e5 51%,#a2daf5 83%,#bdf3fd 100%);
|
|
|
|
color: black;
|
|
|
|
font-family: sans-serif;
|
|
|
|
text-align: center;
|
|
|
|
margin-right: 1em;
|
2018-11-26 11:19:04 +11:00
|
|
|
}
|
|
|
|
|
2018-11-27 12:54:59 +11:00
|
|
|
.avatar-alt {
|
|
|
|
flex: 0 auto;
|
|
|
|
margin-left: 28px;
|
|
|
|
font-size: 12px;
|
2018-12-02 17:38:40 +11:00
|
|
|
min-width: 20px;
|
|
|
|
min-height: 20px;
|
2018-11-27 12:54:59 +11:00
|
|
|
line-height: 20px;
|
|
|
|
border-radius: $fallback--avatarAltRadius;
|
|
|
|
border-radius: var(--avatarAltRadius, $fallback--avatarAltRadius);
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
flex: 0 auto;
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
display: flex;
|
|
|
|
align-items: baseline;
|
|
|
|
|
|
|
|
.checkbox {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: baseline;
|
|
|
|
margin-right: 1em;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.separator {
|
|
|
|
margin: 1em;
|
|
|
|
border-bottom: 1px solid;
|
|
|
|
border-color: $fallback--border;
|
|
|
|
border-color: var(--border, $fallback--border);
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-heading {
|
|
|
|
.badge, .alert, .btn, .faint {
|
|
|
|
margin-left: 1em;
|
2018-12-05 20:01:24 +11:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.faint {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
min-width: 2em;
|
|
|
|
overflow-x: hidden;
|
2018-11-27 12:54:59 +11:00
|
|
|
}
|
|
|
|
.flex-spacer {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.btn {
|
|
|
|
margin-left: 0;
|
|
|
|
padding: 0 1em;
|
|
|
|
min-width: 3em;
|
|
|
|
min-height: 30px;
|
|
|
|
}
|
2018-11-21 07:34:04 +11:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.apply-container {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.radius-item,
|
|
|
|
.color-item {
|
|
|
|
min-width: 20em;
|
|
|
|
margin: 5px 6px 0 0;
|
|
|
|
display:flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex: 1 1 0;
|
|
|
|
|
|
|
|
&.wide {
|
|
|
|
min-width: 60%
|
|
|
|
}
|
2018-11-23 19:36:36 +11:00
|
|
|
|
2018-11-21 07:34:04 +11:00
|
|
|
&:not(.wide):nth-child(2n+1) {
|
|
|
|
margin-right: 7px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.color, .opacity {
|
|
|
|
display:flex;
|
|
|
|
align-items: baseline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.radius-item {
|
|
|
|
flex-basis: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme-radius-rn,
|
|
|
|
.theme-color-cl {
|
|
|
|
border: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
background: transparent;
|
|
|
|
color: var(--faint, $fallback--faint);
|
|
|
|
align-self: stretch;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme-color-cl,
|
|
|
|
.theme-radius-in,
|
|
|
|
.theme-color-in {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme-radius-in {
|
|
|
|
min-width: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme-radius-in {
|
|
|
|
max-width: 7em;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme-radius-lb{
|
|
|
|
max-width: 50em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme-preview-content {
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
|
2018-11-23 19:36:36 +11:00
|
|
|
.btn {
|
|
|
|
margin-left: .25em;
|
|
|
|
margin-right: .25em;
|
|
|
|
}
|
2018-11-21 07:34:04 +11:00
|
|
|
}
|