|
1 | 1 | @import 'cms/theme/variables-v1';
|
2 | 2 | @import 'elements/course-unit-mfe-iframe';
|
3 | 3 |
|
| 4 | +body { |
| 5 | + min-width: 800px; |
| 6 | +} |
| 7 | + |
4 | 8 | .wrapper {
|
| 9 | + .inner-wrapper { |
| 10 | + max-width: 100%; |
| 11 | + } |
| 12 | + |
5 | 13 | .wrapper-xblock {
|
6 | 14 | background-color: $transparent;
|
7 | 15 | border-radius: 6px;
|
8 | 16 | border: none;
|
9 | 17 |
|
10 | 18 | &:hover {
|
11 |
| - border-color: none; |
| 19 | + border-color: transparent; |
12 | 20 | }
|
13 | 21 |
|
14 | 22 | .xblock-header-primary {
|
|
23 | 31 | }
|
24 | 32 | }
|
25 | 33 |
|
| 34 | + .xblock-header-secondary { |
| 35 | + border-radius: 0 0 4px 4px; |
| 36 | + |
| 37 | + .actions-list .action-item .action-button { |
| 38 | + border-radius: 4px; |
| 39 | + |
| 40 | + &:hover { |
| 41 | + background-color: $primary; |
| 42 | + color: $white; |
| 43 | + } |
| 44 | + } |
| 45 | + } |
| 46 | + |
| 47 | + &.level-page .xblock-message { |
| 48 | + padding: ($baseline * .75) ($baseline * 1.2); |
| 49 | + border-radius: 0 0 4px 4px; |
| 50 | + |
| 51 | + &.information { |
| 52 | + color: $text-color; |
| 53 | + background-color: $xblock-message-info-bg; |
| 54 | + border-color: $xblock-message-info-border-color; |
| 55 | + } |
| 56 | + |
| 57 | + &.validation.has-warnings { |
| 58 | + color: $black; |
| 59 | + background-color: $xblock-message-warning-bg; |
| 60 | + border-color: $xblock-message-warning-border-color; |
| 61 | + border-top-width: 1px; |
| 62 | + |
| 63 | + .icon { |
| 64 | + color: $xblock-message-warning-border-color; |
| 65 | + } |
| 66 | + } |
| 67 | + |
| 68 | + a { |
| 69 | + color: $primary; |
| 70 | + } |
| 71 | + } |
| 72 | + |
| 73 | + .xblock-author_view-library_content > .wrapper-xblock-message .xblock-message { |
| 74 | + font-size: 16px; |
| 75 | + line-height: 22px; |
| 76 | + border-radius: 4px; |
| 77 | + padding: ($baseline * 1.2); |
| 78 | + box-shadow: 0 1px 2px rgba(0, 0, 0, .15), 0 1px 4px rgba(0, 0, 0, .15); |
| 79 | + margin-bottom: ($baseline * 1.4); |
| 80 | + } |
| 81 | + |
26 | 82 | &.level-element {
|
27 | 83 | box-shadow: 0 2px 4px rgba(0, 0, 0, .15), 0 2px 8px rgba(0, 0, 0, .15);
|
28 | 84 | margin: 0 0 ($baseline * 1.4) 0;
|
|
40 | 96 | border-bottom-right-radius: 6px;
|
41 | 97 | }
|
42 | 98 |
|
43 |
| - .wrapper-xblock .header-actions .actions-list .action-item .action-button { |
44 |
| - @extend %button-styles; |
45 |
| - |
46 |
| - color: $primary; |
47 |
| - |
48 |
| - .fa-ellipsis-v { |
49 |
| - font-size: $base-font-size; |
| 99 | + .wrapper-xblock .header-actions .actions-list { |
| 100 | + .action-actions-menu:last-of-type .nav-sub { |
| 101 | + right: 120px; |
50 | 102 | }
|
51 | 103 |
|
52 |
| - &:hover { |
53 |
| - background-color: $primary; |
54 |
| - color: $white; |
55 |
| - border-color: $transparent; |
56 |
| - } |
| 104 | + .action-item .action-button { |
| 105 | + @extend %button-styles; |
57 | 106 |
|
58 |
| - &:focus { |
59 |
| - outline: 2px $transparent; |
60 |
| - background-color: $transparent; |
61 |
| - box-shadow: inset 0 0 0 2px $primary; |
62 | 107 | color: $primary;
|
63 |
| - border-color: $transparent; |
| 108 | + |
| 109 | + .fa-ellipsis-v { |
| 110 | + font-size: $base-font-size; |
| 111 | + } |
| 112 | + |
| 113 | + &:hover { |
| 114 | + background-color: $primary; |
| 115 | + color: $white; |
| 116 | + border-color: $transparent; |
| 117 | + } |
| 118 | + |
| 119 | + &:focus { |
| 120 | + outline: 2px $transparent; |
| 121 | + background-color: $transparent; |
| 122 | + box-shadow: inset 0 0 0 2px $primary; |
| 123 | + color: $primary; |
| 124 | + border-color: $transparent; |
| 125 | + } |
64 | 126 | }
|
65 | 127 | }
|
66 | 128 |
|
@@ -629,7 +691,7 @@ select {
|
629 | 691 | }
|
630 | 692 | }
|
631 | 693 |
|
632 |
| -.xblock-header-primary { |
| 694 | +.xblock-header:not(.xblock-header-library_content, .xblock-header-split_test) .xblock-header-primary { |
633 | 695 | position: relative;
|
634 | 696 |
|
635 | 697 | &::before {
|
|
0 commit comments