File tree Expand file tree Collapse file tree 4 files changed +22
-13
lines changed
app/assets/stylesheets/partials Expand file tree Collapse file tree 4 files changed +22
-13
lines changed Original file line number Diff line number Diff line change 1616
1717// OUTLINE
1818
19- @mixin set-focus-outline () {
19+ @mixin set-focus-outline-dark () {
2020 * :focus-visible {
2121 outline : 2px solid $color-focus-dark ;
2222 }
2323}
24+
25+ @mixin set-focus-outline () {
26+ * :focus-visible {
27+ outline : 2px solid $color-focus ;
28+ }
29+ }
Original file line number Diff line number Diff line change 11.institute-bar , .libraries-header {
2- @include set-focus-outline ();
2+ @include set-focus-outline-dark ();
33}
44
55.institute-bar {
Original file line number Diff line number Diff line change 3939// FOOTER STYLES
4040
4141.wrap-outer-footer , .wrap-outer-footer-institute {
42- @include set-focus-outline ();
42+ @include set-focus-outline-dark ();
4343}
4444
4545
Original file line number Diff line number Diff line change 1+ #hint {padding-top : 24px ;} // Temporary spacing above panel until we can revisit entire page layout
2+
13.mitlib-suggestion-panel {
4+
5+ @include set-focus-outline ;
6+
27 border : 4px solid $color-suggestion-border ;
38
49 display : flex ;
914
1015 .panel-type {
1116 color : $color-suggestion-accent-text ;
12- font-size : 14 px ;
17+ font-size : 1.4 rem ;
1318 font-weight : 600 ;
1419 margin-bottom : 8px ;
1520 }
1621
1722 h3 {
18- font-size : 20px ;
19- font-weight : 600 ;
20- line-height : 1.25 ;
23+ font-size : 2rem ;
2124 margin-bottom : 8px ;
2225 }
2326
2427 p {
25- font-size : 16px ;
28+ font-size : 1.6rem ;
29+
30+ & :last-child {
31+ margin-bottom : 0 ;
32+ }
2633 }
2734
2835 ul .metadata {
29- font-size : 14 px ;
36+ font-size : 1.4 rem ;
3037 list-style : none inside ;
3138 padding-left : 0 ;
3239 margin-bottom : 20px ;
5158
5259 @include hover-transition ;
5360
54- @include set-focus-outline ;
55-
5661 & :hover {
5762 background-color : $color-gray-100 ;
5863 }
7176
7277 @include hover-transition ;
7378
74- @include set-focus-outline ;
75-
7679 & :hover {
7780 color : $color-white ;
7881 background-color : $color-black ;
You can’t perform that action at this time.
0 commit comments