Changeset 19138 for trunk/wp-admin/about.php
- Timestamp:
- 11/03/2011 11:32:44 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/about.php
r19136 r19138 12 12 $title = __( 'About' ); 13 13 $parent_file = 'index.php'; 14 15 add_action( 'admin_head', '_wp_about_add_css' );16 function _wp_about_add_css() { ?>17 <style type="text/css">18 .about-wrap {19 position: relative;20 margin: 44px 40px 0 20px;21 }22 .about-wrap h1 {23 margin: 0.6em 200px 0 0;24 line-height: 1.2em;25 font-size: 3.6em;26 font-weight: 200;27 28 color: #333;29 text-shadow: 1px 1px 1px white;30 }31 .about-text {32 font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif;33 font-weight: normal;34 font-size: 24px;35 color: #777;36 margin: 1em 200px 1.4em 0;37 line-height: 1.6em;38 min-height: 60px;39 }40 .about-wrap h2.nav-tab-wrapper {41 padding-left: 6px;42 }43 .wp-badge {44 padding-top: 142px;45 height: 37px;46 width: 160px;47 48 position: absolute;49 top: 0;50 right: 0;51 52 color: #fff;53 font-weight: bold;54 font-size: 14px;55 text-shadow: 0 -1px 0 #0c3d57;56 text-align: center;57 58 border: 1px solid #2B5173;59 -webkit-border-radius: 3px;60 border-radius: 3px;61 62 -moz-box-shadow: inset 0 0 0 1px #5F8CA8;63 -webkit-box-shadow: inset 0 0 0 1px #5F8CA8;64 box-shadow: inset 0 0 0 1px #5F8CA8;65 66 background-color: #378aac;67 background-repeat: no-repeat;68 background-position: center 20px;69 background-image: url(images/wp-badge.png);70 background-image: url(images/wp-badge.png), -ms-linear-gradient(top, #378aac, #165d84); /* IE10 */71 background-image: url(images/wp-badge.png), -moz-linear-gradient(top, #378aac, #165d84); /* Firefox */72 background-image: url(images/wp-badge.png), -o-linear-gradient(top, #378aac, #165d84); /* Opera */73 background-image: url(images/wp-badge.png), -webkit-gradient(linear, left top, left bottom, from(#378aac), to(#165d84)); /* old Webkit */74 background-image: url(images/wp-badge.png), -webkit-linear-gradient(top, #378aac, #165d84); /* new Webkit */75 background-image: url(images/wp-badge.png), linear-gradient(top, #378aac, #165d84); /* proposed W3C Markup */76 }77 78 .about-wrap h2 .nav-tab {79 color: #21759B;80 padding: 4px 10px 6px;81 margin: 0 3px -1px 0;82 font-size: 18px;83 }84 .about-wrap h2 .nav-tab:hover {85 color: #d54e21;86 }87 88 .about-wrap h2 .nav-tab-active,89 .about-wrap h2 .nav-tab-active:hover {90 color: #333;91 }92 .about-wrap h2 .nav-tab-active {93 font-weight: bold;94 text-shadow: 1px 1px 1px white;95 color: #464646;96 padding-top: 3px;97 }98 99 .about-wrap h3 {100 font-size: 24px;101 color: #333;102 text-shadow: 1px 1px 1px white;103 margin-bottom: 0.4em;104 padding-top: 20px;105 }106 107 .about-wrap .changelog {108 font-size: 14px;109 padding-bottom: 10px;110 overflow: hidden;111 }112 .about-wrap .changelog li {113 list-style-type: disc;114 margin-left: 3em;115 }116 117 .about-wrap .feature-section .left-feature,118 .about-wrap .feature-section img,119 .about-wrap .feature-section .right-feature {120 float: left;121 }122 123 .about-wrap .feature-section {124 min-height: 100px;125 overflow: hidden;126 }127 128 .about-wrap .feature-section.angled-right {129 margin-top: -35px;130 padding-top: 15px;131 }132 .about-wrap .feature-section.angled-right img {133 margin-top: 0;134 }135 .about-wrap .feature-section.angled-right .left-feature {136 margin-top: 15px;137 }138 139 .about-wrap .feature-section h4 {140 color: #464646;141 margin-bottom: 0.6em;142 }143 .about-wrap .feature-section p {144 line-height: 1.6em;145 margin-top: 0.6em;146 }147 148 .about-wrap .feature-section .left-feature,149 .about-wrap .feature-section .right-feature {150 width: 40%;151 }152 .about-wrap .feature-section .left-feature {153 margin-right: 10%;154 }155 .about-wrap .feature-section .right-feature {156 margin-left: 9%;157 }158 .about-wrap .feature-section.angled-left .left-feature,159 .about-wrap .feature-section.angled-right .left-feature {160 margin-right: 5%;161 }162 .about-wrap .feature-section.angled-left .right-feature,163 .about-wrap .feature-section.angled-right .right-feature {164 margin-left: 5%;165 }166 .about-wrap .feature-section img {167 width: 19%;168 height: 130px;169 background: #f9f9f9;170 margin-top: 15px;171 172 border: 1px solid #dfdfdf;173 -webkit-border-radius: 3px;174 border-radius: 3px;175 176 -moz-box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );177 -webkit-box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );178 box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );179 }180 .about-wrap .feature-section.angled-left .left-feature {181 width: 30%;182 }183 .about-wrap .feature-section.angled-left .right-feature {184 width: 40%;185 }186 .about-wrap .feature-section.angled-right .left-feature {187 width: 40%;188 }189 .about-wrap .feature-section.angled-right .right-feature {190 width: 30%;191 }192 193 .about-wrap .return-to-dashboard {194 margin: 16px 0 0;195 font-size: 14px;196 font-weight: bold;197 }198 .about-wrap .return-to-dashboard a {199 text-decoration: none;200 }201 </style>202 <?php }203 14 204 15 include( './admin-header.php' );
Note: See TracChangeset
for help on using the changeset viewer.