Changeset 8882 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin/style.scss
- Timestamp:
- 05/27/2019 08:34:59 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin/style.scss
r8880 r8882 41 41 } 42 42 43 .tab { 44 45 display: flex; 46 flex-wrap: wrap; 47 margin: 0; 43 .tabs { 44 list-style: none; 45 margin:0; 48 46 border-bottom: 2px solid #eee; 49 47 50 button, a { 51 cursor: pointer; 52 padding: 8px 22px; 48 li { 49 display: inline-block; 50 margin-bottom: -2px; 51 border: 2px solid transparent; 53 52 font-size: 0.8rem; 54 border: 0; 55 margin: 4px; 56 background: #fff; 57 } 53 color: #0073aa; 54 transition: background .2s ease; 58 55 59 button { 60 color: #0073aa; 56 a { 57 border: 0; 58 display: block; 59 padding: 0.64rem 1.25rem; 60 background: white; 61 text-decoration: none; 61 62 62 &:hover { 63 background-color: #ddd; 63 &.active, &:hover { 64 background: #eee; 65 } 64 66 } 65 67 66 68 &.active, &:hover { 67 border-top: 2px solid #eee; 68 border-left: 2px solid #eee; 69 border-right: 2px solid #eee; 70 background: #fff; 71 margin: -2px 2px; 72 padding-bottom: 10px; 69 padding-bottom: 0 !important; 70 border: 2px solid #eee; 73 71 } 74 72 } 75 }76 73 74 @media screen and (max-width:34em) { 75 border-top: 2px solid #eee; 77 76 78 .tabcontent { 79 display: none; 80 padding: 6px 12px; 81 border: 1px solid #ccc; 82 border-top: none; 77 li { 78 display: block; 79 border: none; 80 border-bottom: 1px solid #eee; 81 margin-bottom: 1px; 82 83 &.active, &:hover { 84 border: none; 85 border-bottom: 1px solid #eee; 86 } 87 } 88 } 83 89 } 84 90 … … 94 100 95 101 > div { 102 display:none; 96 103 border: 0; 97 104 … … 119 126 } 120 127 128 span#description, 129 span#reviews, 130 span#developers, 131 span#installation { 132 position:fixed; 133 } 134 135 span#reviews:not(:target) ~ span#installation:not(:target) ~ span#developers:not(:target) ~ .tabs li#tablink-description , 136 span#reviews:target ~ .tabs li#tablink-reviews, 137 span#installation:target ~ .tabs li#tablink-installation, 138 span#developers:target ~ .tabs li#tablink-developers { 139 border-top: 2px solid #eee; 140 border-left: 2px solid #eee; 141 border-right: 2px solid #eee; 142 border-bottom: 0; 143 padding-bottom: 2px; 144 background: #fff; 145 } 146 147 span#reviews:not(:target) ~ span#installation:not(:target) ~ span#developers:not(:target) ~ .entry-content #tab-description, 148 span#reviews:not(:target) ~ span#installation:not(:target) ~ span#developers:not(:target) ~ .entry-content #screenshots, 149 span#reviews:not(:target) ~ span#installation:not(:target) ~ span#developers:not(:target) ~ .entry-content #faq, 150 span#reviews:not(:target) ~ span#installation:not(:target) ~ span#developers:not(:target) ~ .entry-content #blocks, 151 span#reviews:not(:target) ~ span#installation:not(:target) ~ span#developers:not(:target) ~ .entry-content #tab-developers, 152 span#reviews:not(:target) ~ span#installation:not(:target) ~ span#developers:not(:target) ~ .entry-content #tab-developers ~ button, 153 span#reviews:target ~ .entry-content #tab-reviews, 154 span#installation:target ~ .entry-content #tab-installation, 155 span#developers:target ~ .entry-content #tab-changelog, 156 span#developers:target ~ .entry-content #tab-developers, 157 span#developers:target ~ .entry-content #tab-developers ~ button, 158 span#developers:target ~ .entry-content #tab-developers .plugin-development { 159 display:block; 160 } 161 162 span#reviews:not(:target) ~ span#installation:not(:target) ~ span#developers:not(:target) ~ .entry-content #tab-developers .plugin-development, 163 span#developers:target ~ .entry-content #tab-developers .plugin-contributors { 164 display:none; 165 } 166 167 span#reviews:not(:target) ~ span#installation:not(:target) ~ span#developers:not(:target) ~ .entry-meta .plugin-contributors, 168 span#reviews:target ~ .entry-meta .plugin-meta, 169 span#reviews:target ~ .entry-meta .plugin-support, 170 span#reviews:target ~ .entry-meta .plugin-donate, 171 span#reviews:target ~ .entry-meta .plugin-contributors, 172 span#installation:target ~ .entry-meta .plugin-contributors { 173 display:none; 174 } 121 175 122 176 @media screen and ( min-width: $ms-breakpoint ) {
Note: See TracChangeset
for help on using the changeset viewer.