|
| 1 | +@import "variables"; |
| 2 | +@import "mixins"; |
| 3 | + |
| 4 | +.install-tabs { |
| 5 | + display: flex; |
| 6 | + border-bottom: 2px solid var(--callout-color); |
| 7 | + role: tablist; |
| 8 | + |
| 9 | + a[role="tab"] { |
| 10 | + padding: 0.75rem 1rem; |
| 11 | + |
| 12 | + background: var(--callout-color); |
| 13 | + border: 2px solid var(--callout-color); |
| 14 | + border-bottom: none; |
| 15 | + margin-right: -2px; |
| 16 | + font-weight: 600; |
| 17 | + text-decoration: none; |
| 18 | + color: var(--font-color); |
| 19 | + text-align: center; |
| 20 | + |
| 21 | + &:hover { |
| 22 | + color: var(--link-color); |
| 23 | + } |
| 24 | + |
| 25 | + &[aria-selected="true"] { |
| 26 | + color: var(--font-color); |
| 27 | + background: var(--main-bg); |
| 28 | + border-bottom: 2px solid var(--main-bg); |
| 29 | + margin-bottom: -2px; |
| 30 | + } |
| 31 | + |
| 32 | + // Border radius for first and last tabs |
| 33 | + &:first-of-type { |
| 34 | + border-top-left-radius: 8px; |
| 35 | + } |
| 36 | + |
| 37 | + &:last-of-type { |
| 38 | + border-top-right-radius: 8px; |
| 39 | + margin-right: 0; |
| 40 | + } |
| 41 | + } |
| 42 | + |
| 43 | + @media (max-width: $mobile-m) { |
| 44 | + a[role="tab"] { |
| 45 | + padding: .5rem; |
| 46 | + line-height: 1.2em; |
| 47 | + display: flex; |
| 48 | + |
| 49 | + span { |
| 50 | + margin: auto; |
| 51 | + } |
| 52 | + } |
| 53 | + } |
| 54 | +} |
| 55 | + |
| 56 | +.install-content { |
| 57 | + padding: 1rem; |
| 58 | + border: 2px solid var(--callout-color); |
| 59 | + border-top: none; |
| 60 | + border-bottom-left-radius: 8px; |
| 61 | + border-bottom-right-radius: 8px; |
| 62 | +} |
| 63 | + |
| 64 | +.install-overview { |
| 65 | + margin: 2rem; |
| 66 | + color: var(--light-font-color); |
| 67 | + font-size: 1.1rem; |
| 68 | + line-height: 1.8rem; |
| 69 | +} |
| 70 | + |
| 71 | +.install-header { |
| 72 | + display: flex; |
| 73 | + justify-content: space-between; |
| 74 | + align-items: center; |
| 75 | + margin-bottom: 1.5rem; |
| 76 | + |
| 77 | + h1 { |
| 78 | + margin: 0; |
| 79 | + } |
| 80 | +} |
| 81 | + |
| 82 | +.version-badge { |
| 83 | + display: inline-block; |
| 84 | + padding: 0.25rem 0.75rem; |
| 85 | + background: var(--sidebar-toc-bg-color); |
| 86 | + border-radius: 6px; |
| 87 | + font-size: 0.75rem; |
| 88 | + font-weight: bold; |
| 89 | + @media (max-width: $mobile-m) { |
| 90 | + max-width: 150px; |
| 91 | + } |
| 92 | + |
| 93 | + a { |
| 94 | + color: var(--link-color); |
| 95 | + text-decoration: none; |
| 96 | + |
| 97 | + &:hover { |
| 98 | + color: var(--link-hover-color); |
| 99 | + text-decoration: underline; |
| 100 | + } |
| 101 | + } |
| 102 | +} |
| 103 | + |
| 104 | +#logo-license { |
| 105 | + @extend .callout; |
| 106 | + padding: 20px !important; |
| 107 | + margin-top: 2em; |
| 108 | + |
| 109 | + p { |
| 110 | + font-size: 12px; |
| 111 | + line-height: 1.4; |
| 112 | + color: var(--light-font-color); |
| 113 | + } |
| 114 | + |
| 115 | + p+p { |
| 116 | + margin-top: 14px; |
| 117 | + } |
| 118 | + |
| 119 | + img { |
| 120 | + float: left; |
| 121 | + margin-right: 20px; |
| 122 | + } |
| 123 | +} |
| 124 | + |
| 125 | +#download-next-steps { |
| 126 | + @include clearfix; |
| 127 | + @extend .unstyled !optional; |
| 128 | + padding-top: 24px; |
| 129 | + |
| 130 | + li { |
| 131 | + display: block; |
| 132 | + float: left; |
| 133 | + width: 200px; |
| 134 | + margin-bottom: 20px; |
| 135 | + } |
| 136 | + |
| 137 | + li+li { |
| 138 | + margin-left: 20px; |
| 139 | + } |
| 140 | + |
| 141 | + a { |
| 142 | + display: block; |
| 143 | + color: var(--font-color); |
| 144 | + text-align: center; |
| 145 | + background-repeat: no-repeat; |
| 146 | + background-position: 0 0; |
| 147 | + transition-duration: 0.3s; |
| 148 | + transition-property: color; |
| 149 | + |
| 150 | + img { |
| 151 | + display: block; |
| 152 | + margin: 0 auto 10px; |
| 153 | + opacity: 0.9; |
| 154 | + transition-duration: 0.3s; |
| 155 | + transition-property: opacity; |
| 156 | + image-rendering: -webkit-optimize-contrast; |
| 157 | + } |
| 158 | + |
| 159 | + h3 { |
| 160 | + font-size: 18px; |
| 161 | + font-weight: bold; |
| 162 | + color: var(--orange); |
| 163 | + } |
| 164 | + |
| 165 | + p { |
| 166 | + font-size: 13px; |
| 167 | + line-height: $base-line-height * 0.8; |
| 168 | + } |
| 169 | + } |
| 170 | + |
| 171 | + a:hover { |
| 172 | + img { |
| 173 | + opacity: 1; |
| 174 | + } |
| 175 | + |
| 176 | + h3 { |
| 177 | + color: var(--orange-darker-5); |
| 178 | + } |
| 179 | + } |
| 180 | +} |
| 181 | + |
| 182 | +.downloading .hide { |
| 183 | + display: none; |
| 184 | +} |
0 commit comments