-.overlay {
+// System wide notifications
+[notification] {
+ position: fixed;
+ top: 0;
+ right: 0;
+ margin: $-xl*2 $-xl;
+ padding: $-l $-xl;
+ background-color: #EEE;
+ border-radius: 3px;
+ box-shadow: $bs-med;
+ z-index: 999999;
+ cursor: pointer;
+ max-width: 360px;
+ transition: transform ease-in-out 280ms;
+ transform: translate3d(580px, 0, 0);
+ display: grid;
+ grid-template-columns: 64px 1fr;
+ span, svg {
+ vertical-align: middle;
+ justify-self: center;
+ align-self: center;
+ }
+ svg {
+ fill: #EEEEEE;
+ width: 4em;
+ height: 4em;
+ padding-right: $-m;
+ }
+ span {
+ vertical-align: middle;
+ line-height: 1.3;
+ }
+ &.pos {
+ background-color: $positive;
+ color: #EEE;
+ }
+ &.neg {
+ background-color: $negative;
+ color: #EEE;
+ }
+ &.warning {
+ background-color: $secondary;
+ color: #EEE;
+ }
+ &.showing {
+ transform: translate3d(0, 0, 0);
+ }
+ &.showing:hover {
+ transform: translate3d(0, -2px, 0);
+ }
+}
+
+[chapter-toggle] {
+ cursor: pointer;
+ margin: 0;
+ transition: all ease-in-out 180ms;
+ user-select: none;
+ svg[data-icon="caret-right"] {
+ transition: all ease-in-out 180ms;
+ transform: rotate(0deg);
+ transform-origin: 25% 50%;
+ }
+ &.open svg[data-icon="caret-right"] {
+ transform: rotate(90deg);
+ }
+}
+
+[overlay] {
background-color: rgba(0, 0, 0, 0.333);
position: fixed;
z-index: 95536;
left: 0;
right: 0;
bottom: 0;
- display: flex;
align-items: center;
justify-content: center;
display: none;
display: flex;
align-self: flex-start;
}
+ .popup-content {
+ overflow-y: auto;
+ }
}
.corner-button {
#entity-selector-wrap .popup-body .form-group {
margin: 0;
}
-//body.ie #entity-selector-wrap .popup-body .form-group {
-// min-height: 60vh;
-//}
.image-manager-body {
min-height: 70vh;
margin-left: 1px;
padding: $-m $-l;
overflow-y: auto;
+ overflow-x: hidden;
border-left: 1px solid #DDD;
.dropzone-container {
margin-top: $-m;
.dz-preview.dz-file-preview .dz-image {
border-radius: 4px;
- background: #999;
- background: linear-gradient(to bottom, #eee, #ddd);
+ background: #e9e9e9;
}
.dz-preview.dz-file-preview .dz-details {
}
.dz-preview .dz-remove {
- font-size: 14px;
+ font-size: 13px;
text-align: center;
display: block;
cursor: pointer;
border: none;
+ margin-top: 3px;
}
.dz-preview .dz-remove:hover {
border: 1px solid transparent;
}
-.dz-preview .dz-details .dz-filename span, .dz-preview .dz-details .dz-size span {
+.dz-preview .dz-details .dz-filename span {
background-color: rgba(255, 255, 255, 0.4);
padding: 0 0.4em;
border-radius: 3px;
.dz-preview .dz-success-mark, .dz-preview .dz-error-mark {
pointer-events: none;
opacity: 0;
- z-index: 500;
+ z-index: 1001;
position: absolute;
display: block;
top: 50%;
left: 50%;
margin-left: -27px;
- margin-top: -27px;
+ margin-top: -35px;
}
.dz-preview .dz-success-mark svg, .dz-preview .dz-error-mark svg {
display: block;
}
-.dz-preview.dz-error:hover .dz-error-message {
- opacity: 1;
- pointer-events: auto;
+.dz-preview.dz-error {
+ .dz-image, .dz-details {
+ &:hover ~ .dz-error-message {
+ opacity: 1;
+ pointer-events: auto;
+ }
+ }
}
.dz-preview .dz-error-message {
opacity: 0;
transition: opacity 0.3s ease;
border-radius: 4px;
- font-size: 11.5px;
+ font-size: 12px;
line-height: 1.2;
top: 88px;
left: -26px;
}
-[tab-container] .nav-tabs {
+.tab-container .nav-tabs {
text-align: left;
border-bottom: 1px solid #DDD;
margin-bottom: $-m;
.image-picker .none {
display: none;
+}
+
+#code-editor .CodeMirror {
+ height: 400px;
+}
+
+#code-editor .lang-options {
+ max-width: 400px;
+ margin-bottom: $-s;
+ a {
+ margin-right: $-xs;
+ text-decoration: underline;
+ }
+}
+
+@include smaller-than($m) {
+ #code-editor .lang-options {
+ max-width: 100%;
+ }
+ #code-editor .CodeMirror {
+ height: 200px;
+ }
+}
+
+.comment-box {
+ border: 1px solid #DDD;
+ margin-bottom: $-s;
+ border-radius: 3px;
+ .content {
+ padding: $-s;
+ font-size: 0.666em;
+ p, ul, ol {
+ font-size: $fs-m;
+ margin: .5em 0;
+ }
+ }
+ .reply-row {
+ padding: $-xs $-s;
+ }
+}
+
+.comment-box .header {
+ padding: $-xs $-s;
+ background-color: #f8f8f8;
+ border-bottom: 1px solid #DDD;
+ .meta {
+ img, a, span {
+ display: inline-block;
+ vertical-align: top;
+ }
+ a, span {
+ padding: $-xxs 0 $-xxs 0;
+ line-height: 1.6;
+ }
+ a { color: #666; }
+ span {
+ color: #888;
+ padding-left: $-xxs;
+ }
+ }
+ .text-muted {
+ color: #999;
+ }
+}
+
+#tag-manager .drag-card {
+ max-width: 500px;
}
\ No newline at end of file