Ticket #19386: 19386.staggered-semifluid.2.diff

File 19386.staggered-semifluid.2.diff, 6.3 KB (added by helenyhou, 18 months ago)

With tab alignment

Line 
1Index: wp-admin/css/wp-admin-rtl.dev.css
2===================================================================
3--- wp-admin/css/wp-admin-rtl.dev.css   (revision 19487)
4+++ wp-admin/css/wp-admin-rtl.dev.css   (working copy)
5@@ -1382,27 +1382,28 @@
6        margin-right: 9%;
7 }
8 
9-.about-wrap .feature-section.angled-left .left-feature,
10-.about-wrap .feature-section.angled-right .left-feature {
11-       margin-right: 0;
12-       margin-left: 3%;
13+.about-wrap .feature-section.left-third {
14+       float: right;
15 }
16-
17-.about-wrap .feature-section.angled-left .right-feature,
18-.about-wrap .feature-section.angled-right .right-feature {
19+.about-wrap .feature-section.right-two-thirds {
20+       float: left;
21+}
22+.about-wrap .feature-section.right-two-thirds .angled-right {
23        margin-left: 0;
24-       margin-right: 4%;
25+       margin-right: 2.5em;
26 }
27 
28+.about-wrap .feature-section .angled-right img,
29+.about-wrap .feature-section .angled-left img {
30+       margin-right: 0;
31+       margin-left: 2em;
32+}
33+
34 .about-wrap .feature-section.images-stagger-right .angled-left,
35 .about-wrap .feature-section.images-stagger-left .angled-left {
36        float: left;
37 }
38 
39-.about-wrap .feature-section.three-col img {
40-       margin: 0.5em 0 1em 0;
41-}
42-
43 .about-wrap li.wp-person,
44 .about-wrap li.wp-person img.gravatar {
45        float: right;
46Index: wp-admin/css/wp-admin.dev.css
47===================================================================
48--- wp-admin/css/wp-admin.dev.css       (revision 19487)
49+++ wp-admin/css/wp-admin.dev.css       (working copy)
50@@ -4828,7 +4828,8 @@
51 .about-wrap {
52        position: relative;
53        margin: 25px 40px 0 20px;
54-       width: 770px;
55+       min-width: 770px;
56+       max-width: 1200px; /* readability */
57       
58        font-size: 15px;
59 }
60@@ -4918,6 +4919,7 @@
61        padding: 4px 10px 6px;
62        margin: 0 3px -1px 0;
63        font-size: 18px;
64+       vertical-align: top;
65 }
66 .about-wrap h2 .nav-tab-active {
67        font-weight: bold;
68@@ -4946,40 +4948,33 @@
69        border-radius: 3px;
70 }
71 
72-.about-wrap .feature-section.angled-right {
73-       margin-top: -10.5em;
74+.about-wrap .feature-section.left-third {
75+       width: 31%;
76+       float: left;
77+       overflow: visible;
78 }
79-.about-wrap .feature-section.angled-right .left-feature {
80-       padding-top: 9.5em;
81+.about-wrap .feature-section.left-third div {
82+       width: 112%;
83 }
84-.about-wrap .feature-section.angled-right img,
85-.about-wrap .feature-section.angled-left img {
86-       margin-top: 1.5em;
87-}
88-
89-.about-wrap .feature-section.angled-left .left-feature,
90-.about-wrap .feature-section.angled-right .left-feature {
91-       margin-right: 3%;
92-}
93-.about-wrap .feature-section.angled-left .right-feature,
94-.about-wrap .feature-section.angled-right .right-feature {
95-       margin-left: 3%;
96-}
97-.about-wrap .feature-section .left-feature {
98-       margin-right: 5%;
99-}
100-.about-wrap .feature-section .right-feature {
101-       margin-left: 5%;
102+.about-wrap .feature-section.right-two-thirds {
103+       width: 67%;
104+       margin-top: 1.33em;
105        float: right;
106+       clear: none;
107 }
108+.about-wrap .feature-section.right-two-thirds .angled-right {
109+       margin-top: -1em;
110+       margin-left: 2.5em;
111+}
112 
113-.about-wrap .feature-section.angled-left .left-feature,
114-.about-wrap .feature-section.angled-right .right-feature {
115-       width: 27%;
116+.about-wrap .feature-section .angled-right h4,
117+.about-wrap .feature-section .angled-left h4 {
118+       margin-top: 0;
119 }
120-.about-wrap .feature-section.angled-left .right-feature,
121-.about-wrap .feature-section.angled-right .left-feature {
122-       width: 32%;
123+.about-wrap .feature-section .angled-right img,
124+.about-wrap .feature-section .angled-left img {
125+       margin-top: .1em;
126+       margin-right: 2em;
127 }
128 
129 .about-wrap .feature-section.three-col {
130@@ -4996,7 +4991,8 @@
131        margin:  0 0 0.6em 0;
132 }
133 .about-wrap .feature-section.three-col img {
134-       margin: 0.5em 3px 1em 0;
135+       float: none;
136+       margin: 0.5em 0;
137        max-width: 100%;
138 }
139 .about-wrap .feature-section.three-col .last-feature {
140Index: wp-admin/about.php
141===================================================================
142--- wp-admin/about.php  (revision 19487)
143+++ wp-admin/about.php  (working copy)
144@@ -57,25 +57,24 @@
145 <div class="changelog">
146        <h3><?php _e( 'Dashboard Design' ); ?></h3>
147       
148-       <div class="feature-section angled-left">
149-               <div class="left-feature">
150-                       <h4><?php _e( 'Flyout Menus' ); ?></h4>
151-                       <p><?php _e( 'Speed up navigating the dashboard and reduce repetitive clicking with our new flyout submenus. As you hover over each main menu item in your dashboard navigation, the submenus will magically appear, providing single-click access to any dashboard screen.' ); ?></p>
152+       <div class="feature-section left-third">
153+               <h4><?php _e( 'Flyout Menus' ); ?></h4>
154+               <p><?php _e( 'Speed up navigating the dashboard and reduce repetitive clicking with our new flyout submenus. As you hover over each main menu item in your dashboard navigation, the submenus will magically appear, providing single-click access to any dashboard screen.' ); ?></p>
155+               
156+               <div>
157+               <h4><?php _e( 'Header + Admin Bar = Toolbar' ); ?></h4>
158+               <p><?php _e( 'To save space and increase efficiency, we&#8217;ve combined the admin bar and the old Dashboard header into one persistent toolbar. Hovering over the toolbar items will reveal submenus when available for quick access. ' ); ?></p>
159                </div>
160-               <img src="images/screenshots/admin-flyouts.png" />
161-               <div class="right-feature">
162+       </div>
163+       
164+       <div class="feature-section right-two-thirds">
165+               <div class="angled-left">
166+                       <img src="images/screenshots/admin-flyouts.png" />
167                        <h4><?php _e( 'Responsive Design' ); ?></h4>
168                        <p><?php _e( 'Certain dashboard screens have been updated to look better at various sizes, including improved iPad/tablet support.' ); ?></p>
169                </div>
170-       </div>
171-       
172-       <div class="feature-section angled-right">
173-               <div class="left-feature">
174-                       <h4><?php _e( 'Header + Admin Bar = Toolbar' ); ?></h4>
175-                       <p><?php _e( 'To save space and increase efficiency, we&#8217;ve combined the admin bar and the old Dashboard header into one persistent toolbar. Hovering over the toolbar items will reveal submenus when available for quick access. ' ); ?></p>
176-               </div>
177-               <img src="images/screenshots/help-screen.png" />
178-               <div class="right-feature">
179+               <div class="angled-right">
180+                       <img src="images/screenshots/help-screen.png" />
181                        <h4><?php _e( 'Help Tabs' ); ?></h4>
182                        <p><?php _e( 'The Help tabs located in the upper corner of the dashboard screens below your name have gotten a facelift. Help content is broken into smaller sections for easier access, with links to relevant documentation and the support forums always visible.' ); ?></p>
183                </div>