123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- //
- // Editor
- // --------------------------------------------------
- @editor-border: darken(@gray-lighter, 15%);
- .editor-border {
- background-color: #fff;
- border: 1px solid @editor-border;
- border-radius: @border-radius-base;
- }
- .editor-border .form-control {
- // remove border and resizing
- border: none;
- resize: none;
- // remove shadow from control
- &, &:focus, &:active {
- .box-shadow(none);
- }
- }
- // Footer styles
- .editor-footer {
- border-top: 1px solid @editor-border;
- padding: @padding-base-vertical @padding-base-horizontal;
- overflow: auto;
- .pull-left {
- margin-right: @padding-base-horizontal;
- }
- .pull-right {
- margin-left: @padding-base-horizontal;
- }
- }
- // Attachments list
- .editor-attachments-list {
- &, & li {
- margin: 0px;
- padding: 0px;
- }
- }
- .editor-attachment-ready {
- border-top: 1px solid @editor-border;
- }
- .editor-attachment-error {
- border-top: 1px solid @editor-border;
- padding: @padding-base-vertical 0px;
- padding-right: @padding-base-horizontal;
- }
- .editor-attachment-error-icon {
- float: left;
- width: 46px;
- font-size: @font-size-large;
- text-align: center;
- }
- .editor-attachment-error-message {
- margin-left: 46px;
- padding: @padding-base-vertical 0px;
- position: relative;
- h4, p {
- margin: 0px;
- padding: 0px;
- font-size: @font-size-base;
- }
- p {
- margin-top: @padding-base-vertical / 2;
- font-size: @font-size-small;
- }
- .btn {
- position: absolute;
- top: @padding-base-vertical + 3px;
- right: @padding-base-horizontal;
- }
- }
- .editor-attachment-progress-bar {
- background: @editor-border;
- overflow: auto;
- }
- .editor-attachment-progress {
- background: @brand-primary;
- float: left;
- height: 1px;
- }
- .editor-attachment-upload-message {
- margin: 0px;
- padding: @padding-base-vertical @padding-base-horizontal;
- }
- // Hide file input outside of viewport
- #editor-upload-field {
- position: absolute;
- left: -1000px;
- top: -1000px;
- }
|