Changeset 969
- Timestamp:
- 11/10/2014 11:10:21 PM (10 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/page-dashicons.js
r814 r969 43 43 glyph: glyphtext 44 44 }) ); 45 46 $(window).scrollTop(0);47 45 } 48 46 }; … … 75 73 76 74 dashicons.display( attr, cssClass ); 75 $(window).scrollTop( $("#glyph").offset().top ); 77 76 78 77 }); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-dashicons.php
r957 r969 335 335 <div class="info"> 336 336 <span class="name">← {{data.cssClass}}</span> 337 <span ><a href='javascript:dashicons.copy( "content: \"\\{{data.attr}}\";", "css" )'>Copy CSS</a></span>338 <span ><a href="javascript:dashicons.copy( '{{data.html}}', 'html' )">Copy HTML</a></span>339 <span ><a href="javascript:dashicons.copy( '{{data.glyph}}' )">Copy Glyph</a></span>337 <span class="link"><a href='javascript:dashicons.copy( "content: \"\\{{data.attr}}\";", "css" )'>Copy CSS</a></span> 338 <span class="link"><a href="javascript:dashicons.copy( '{{data.html}}', 'html' )">Copy HTML</a></span> 339 <span class="link"><a href="javascript:dashicons.copy( '{{data.glyph}}' )">Copy Glyph</a></span> 340 340 </div> 341 341 </script> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/page-dashicons.scss
r814 r969 22 22 bottom: $spacing * 2; 23 23 padding: 0 2.5em; 24 width: 30em;24 width: 50%; 25 25 26 26 #search { … … 42 42 margin-top: 0 !important; 43 43 padding: 1.5em $spacing; 44 width: 30em;44 width: 50%; 45 45 } 46 46 … … 48 48 float:left; 49 49 padding: 1.5em $spacing; 50 width: 30em;50 width: 50%; 51 51 52 52 .dashicons { … … 60 60 float:right; 61 61 margin-top: $spacing*2; 62 width: 10em;62 width: 35%; 63 63 } 64 64 … … 139 139 display: block; 140 140 font: 14px/1.5 monospace; 141 width: 600px;141 max-width: 600px; 142 142 white-space: pre; 143 143 border: 1px solid #ccc; … … 147 147 } 148 148 149 @media ( max-width: 900px ) { 150 .icon-filter { 151 position: relative; 152 left: auto; 153 bottom: auto; 154 padding-left: $spacing; 155 padding-right: $spacing; 156 padding-bottom: $spacing; 157 width: 100%; 158 } 159 160 .entry-content { 161 float: none; 162 padding-bottom: 0; 163 width: 100%; 164 } 165 166 #glyph { 167 float: none; 168 width: 100%; 169 text-align: center; 170 171 .dashicons { 172 font-size: 240px; 173 width: 240px; 174 height: 240px; 175 overflow: visible; 176 } 177 178 .info { 179 float: none; 180 margin-top: 0; 181 width: 100%; 182 } 183 184 span.link { 185 display: inline-block; 186 margin-right: 10px; 187 margin-bottom: 10px; 188 margin-left: 10px; 189 190 &:nth-of-type(2) { 191 margin-left: 0; 192 } 193 &:last-of-type { 194 margin-right: 0; 195 } 196 } 197 } 198 } 199 200 @media ( max-width: 400px ) { 201 #glyph, 202 .entry-content, 203 .icon-filter { 204 padding-left: 0; 205 padding-right: 0; 206 } 207 } 208 149 209 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/page-dashicons.css
r814 r969 18 18 bottom: 50px; 19 19 padding: 0 2.5em; 20 width: 30em;20 width: 50%; 21 21 } 22 22 .dashicons-page .icon-filter #search { … … 36 36 margin-top: 0 !important; 37 37 padding: 1.5em 25px; 38 width: 30em;38 width: 50%; 39 39 } 40 40 .dashicons-page #glyph { 41 41 float: left; 42 42 padding: 1.5em 25px; 43 width: 30em;43 width: 50%; 44 44 } 45 45 .dashicons-page #glyph .dashicons { … … 52 52 float: right; 53 53 margin-top: 50px; 54 width: 10em;54 width: 35%; 55 55 } 56 56 .dashicons-page #glyph span { … … 115 115 display: block; 116 116 font: 14px/1.5 monospace; 117 width: 600px;117 max-width: 600px; 118 118 white-space: pre; 119 119 border: 1px solid #ccc; … … 122 122 min-height: 180px; 123 123 } 124 @media (max-width: 900px) { 125 .dashicons-page .icon-filter { 126 position: relative; 127 left: auto; 128 bottom: auto; 129 padding-left: 25px; 130 padding-right: 25px; 131 padding-bottom: 25px; 132 width: 100%; 133 } 134 .dashicons-page .entry-content { 135 float: none; 136 padding-bottom: 0; 137 width: 100%; 138 } 139 .dashicons-page #glyph { 140 float: none; 141 width: 100%; 142 text-align: center; 143 } 144 .dashicons-page #glyph .dashicons { 145 font-size: 240px; 146 width: 240px; 147 height: 240px; 148 overflow: visible; 149 } 150 .dashicons-page #glyph .info { 151 float: none; 152 margin-top: 0; 153 width: 100%; 154 } 155 .dashicons-page #glyph span.link { 156 display: inline-block; 157 margin-right: 10px; 158 margin-bottom: 10px; 159 margin-left: 10px; 160 } 161 .dashicons-page #glyph span.link:nth-of-type(2) { 162 margin-left: 0; 163 } 164 .dashicons-page #glyph span.link:last-of-type { 165 margin-right: 0; 166 } 167 } 168 @media (max-width: 400px) { 169 .dashicons-page #glyph, .dashicons-page .entry-content, .dashicons-page .icon-filter { 170 padding-left: 0; 171 padding-right: 0; 172 } 173 }
Note: See TracChangeset
for help on using the changeset viewer.