X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/9e77185fafaf4e60e2b73821e0e4b9b1a11fb85f..refs/tags/wordpress-4.1-scripts:/wp-admin/css/about.css diff --git a/wp-admin/css/about.css b/wp-admin/css/about.css index 50c4d923..09f1b219 100644 --- a/wp-admin/css/about.css +++ b/wp-admin/css/about.css @@ -1,12 +1,24 @@ /*------------------------------------------------------------------------------ 22.0 - About Pages + + 1.0 Global: About, Credits, Freedoms + 1.1 Typography + 1.2 Structure + 1.3 Point Releases + 2.0 About Page + 2.1 Typography + 2.2 Structure + 3.0 Credits & Freedoms Pages +------------------------------------------------------------------------------*/ + +/*------------------------------------------------------------------------------ + 1.0 - Global: About, Credits, Freedoms ------------------------------------------------------------------------------*/ .about-wrap { position: relative; margin: 25px 40px 0 20px; max-width: 1050px; /* readability */ - font-size: 15px; } @@ -29,7 +41,53 @@ vertical-align: middle; } -/* Typography */ +/* WordPress Version Badge */ + +.wp-badge { + background: #0074a2 url(../images/w-logo-white.png?ver=20131202) no-repeat; + background-position: center 24px; + -webkit-background-size: 85px 85px; + background-size: 85px 85px; + color: #78c8e6; + font-size: 14px; + text-align: center; + font-weight: 600; + margin: 5px 0 0; + padding-top: 120px; + height: 40px; + display: inline-block; + width: 150px; + text-rendering: optimizeLegibility; + -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2); + box-shadow: 0 1px 3px rgba(0,0,0,0.2); +} + +.svg .wp-badge { + background-image: url(../images/wordpress-logo-white.svg?ver=20131110); +} + +.about-wrap .wp-badge { + position: absolute; + top: 0; + right: 0; +} + +/* Tabs */ + +.about-wrap h2.nav-tab-wrapper { + padding-left: 6px; +} + +.about-wrap h2 .nav-tab { + padding: 4px 15px 6px; + margin: 0 3px -1px 0; + font-size: 18px; + vertical-align: top; + border-width: 1px; + white-space: nowrap; +} + +/* 1.1 - Typography */ .about-wrap p { line-height: 1.6em; @@ -44,80 +102,56 @@ font-weight: 400; } +.about-wrap h3 { + margin: 2em 0 .6em; + font-size: 1.25em; + line-height: 1.5em; +} + .about-wrap h4 { color: #222; } -.about-wrap .about-text, -.about-wrap p.about-description, -.about-wrap li.wp-person a.web { - font-weight: normal; - line-height: 1.6em; - font-size: 19px; +.about-wrap code, +.about-wrap ol li p { + font-size: 14px; } -.about-description { +.about-wrap .about-description, +.about-wrap .about-text { margin-top: 1.4em; + font-weight: normal; + line-height: 1.6em; + font-size: 19px; } -.about-text { +.about-wrap .about-text { margin: 1em 200px 1em 0; min-height: 60px; color: #777; - font-size: 24px; } -.about-wrap .changelog h2.about-headline-callout { - margin: 1.1em 0 0.2em; - font-size: 2.4em; - font-weight: 300; - line-height: 1.3; - text-align: center; -} +/* 1.2 - Structure */ -.about-wrap h3 { - margin: 1em 0 .6em; - font-size: 1.5em; - line-height: 1.5em; -} - -.about-wrap h3.higher { - margin-top: .5em; -} - -.customize h3 { - margin-top: 1.75em; - text-align: center; -} - -.about-wrap .feature-section h4 { - margin: 1.4em 0 0.6em 0; - font-size: 1.2em; -} - -.about-wrap .feature-section p { - margin-top: 0.6em; -} - -.about-wrap code, -.about-wrap ol li p { - font-size: 14px; +.about-wrap .two-col > div { + position: relative; + width: 47.6%; + margin-right: 4.799999999%; + float: left; } -.about-wrap .button.button-large { - padding: 8px 20px 10px !important; - height: 46px !important; - font-size: 14px; - line-height: 28px !important; +.about-wrap .three-col > div { + position: relative; + width: 29.95%; + margin-right: 4.999999999%; + float: left; } -/* 3.8 Images */ - -.about-wrap .about-overview-img { - margin: 0; +.about-wrap .col .last-feature { + margin-right: 0; } -/* Point Releases */ +/* 1.3 - Point Releases */ .about-wrap .point-releases { margin-top: 5px; @@ -132,134 +166,117 @@ padding-top: 7px; } -/* WordPress Version Badge */ +/*------------------------------------------------------------------------------ + 2.0 - About Page +------------------------------------------------------------------------------*/ -.wp-badge { - background: #0074a2 url(../images/w-logo-white.png?ver=20131202) no-repeat; - background: #0074a2, url(../images/wordpress-logo-white.svg?ver=20131110) no-repeat; /* multiple backgrounds are ignored by browsers that don't support SVGs */ - background-position: center 24px; - -webkit-background-size: 85px 85px; - background-size: 85px 85px; - color: #78c8e6; - font-size: 14px; +/* 2.1 - Typography */ + +.about-wrap .headline-feature h2 { + margin: 1.1em 0 0.2em; + font-size: 2.4em; + font-weight: 300; + line-height: 1.3; text-align: center; - font-weight: 600; - margin: 5px 0 0; - padding-top: 120px; - height: 40px; - display: inline-block; - width: 150px; - text-rendering: optimizeLegibility; - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2); - box-shadow: 0 1px 3px rgba(0,0,0,0.2); } - -.about-wrap .wp-badge { - position: absolute; - top: 0; - right: 0; +.about-wrap .feature-list h2 { + margin: 30px 0 15px; + text-align: center; } -/* Tabs */ - -.about-wrap h2.nav-tab-wrapper { - padding-left: 6px; +.about-wrap .dfw h3 { + margin-top: 1em; + text-align: center; } -.about-wrap h2 .nav-tab { - padding: 4px 15px 6px; - margin: 0 3px -1px 0; - font-size: 18px; - vertical-align: top; - border-width: 1px; +.about-wrap .feature-section h4 { + margin: 1.4em 0 0.6em 0; + font-size: 1.2em; } -/* Changelog / Update screen */ +.about-wrap .feature-section p { + margin-top: 0.6em; +} -.about-overview { - margin-top: 40px; - margin-bottom: 40px; - text-align: center; +.about-wrap .dfw p { + max-width: 68%; + margin: 0 auto 20px; } -.about-overview p { - margin: 1em auto 50px; - max-width: 770px; - font-size: 18px; - line-height: 1.5; +/* 2.2 - Structure */ + +.about-wrap .featured-image { text-align: center; } .about-wrap .feature-section { - margin-top: 40px; + overflow: hidden; padding-bottom: 20px; } -.about-wrap .feature-section.two-col > div { - position: relative; - width: 47.6%; - margin-right: 4.799999999%; - float: left; +.about-wrap .headline-feature .feature-section { + margin: 0 auto; + max-width: 82%; } -.about-wrap .feature-section.three-col > div { - position: relative; - width: 29.95%; - margin-right: 4.999999999%; +.about-wrap .headline-feature .feature-section .col:first-child { float: left; + margin: 15px 5% 0 0; + width: 55%; } -.about-wrap .feature-section.col .last-feature { - margin-right: 0; +.about-wrap .headline-feature .feature-section .col:last-child { + float: right; + margin: 15px 0 40px; + width: 40%; } -.about-wrap .under-the-hood .feature-section { +.about-wrap .feature-list .feature-section { margin-top: 0; } -.about-wrap .changelog .feature-section { - overflow: hidden; -} - -.about-wrap .feature-section.two-col div p { - margin-right: 3%; -} - -.about-wrap .feature-section div p img { - float: right; - margin-left: 10px; - max-width: 20%; +.about-wrap .dfw .feature-section { + overflow: visible; } -/* responsive videos for 4.0 */ -.about-video { +.about-wrap .dfw-container { position: relative; - width: 100%; - height: 0; + overflow: hidden; + margin-top: 50px; + -webkit-box-shadow: 0 0 10px rgba( 0, 0, 0, 0.25 ); + box-shadow: 0 0 10px rgba( 0, 0, 0, 0.25 ); } -.about-video-embed { - padding-bottom: 70.4%; /* 352 / 500 */ +.about-wrap .dfw-container .overlay-image { + position: absolute; + top: 0; + left: 0; + /* Cubic Bezier to speed up the slide-out of the full-width sidebar image */ + -webkit-transition: 0.8s -webkit-transform cubic-bezier(.9,.03,1,.61), + 0.65s opacity linear; + transition: 0.8s transform cubic-bezier(.9,.03,1,.61), + 0.65s opacity linear; } -.about-video-focus { - padding-bottom: 56.2%; /* 281 / 500 */ +.about-wrap .dfw-container .overlay-image.fade-in { + opacity: 0; } -.about-video .wp-video, -.about-video .mejs-container, -.about-video video { - position: absolute; - top: 0; - left: 0; - width: 100% !important; - height: 100% !important; +.about-wrap .dfw-container .overlay-image.from-left { + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); } -.about-wrap .changelog li { - list-style-type: disc; - margin-left: 3em; +.about-wrap .dfw-container:hover .overlay-image { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + /* Cubic Bezier to speed up the slide-in of the full-width sidebar image */ + -webkit-transition: 0.7s -webkit-transform cubic-bezier( 0, 0.8, 0.8, 1 ), + 0.8s opacity linear; + transition: 0.7s transform cubic-bezier( 0, 0.8, 0.8, 1 ), + 0.8s opacity linear; } /* Return to Dashboard Home link */ @@ -275,6 +292,29 @@ padding: 0 5px; } +/* SVGs */ +.about-wrap .feature-list svg { + float: left; + clear: left; + margin: 15px 15px 0 0 ; + height: 90px; + width: 90px; + background-color: #cccccc; + -webkit-border-radius: 50%; + border-radius: 50%; + fill: #999; + border: 1px solid #c1c1c1; +} + +.about-wrap .feature-list.finer-points h4, +.about-wrap .feature-list.finer-points p { + margin-left: 115px; +} + +/*------------------------------------------------------------------------------ + 3.0 - Credits & Freedoms Pages +------------------------------------------------------------------------------*/ + /* Credits */ .about-wrap h4.wp-people-group { @@ -293,8 +333,19 @@ } .about-wrap li.wp-person { - float: left; + display: inline-block; + vertical-align: top; margin-right: 10px; + padding-bottom: 15px; + height: 70px; + width: 280px; +} + +.about-wrap ul.compact li.wp-person { + height: auto; + width: 180px; + padding-bottom: 0; + margin-bottom: 0; } .about-wrap li.wp-person img.gravatar { @@ -310,31 +361,19 @@ height: 30px; } -/* @todo: combine this */ -.about-wrap li.wp-person { - height: 70px; - width: 280px; - padding-bottom: 15px; -} - -.about-wrap ul.compact li.wp-person { - height: auto; - width: 180px; - padding-bottom: 0; - margin-bottom: 0; -} - -.about-wrap #wp-people-group-validators + p.wp-credits-list { - margin-top: 0; -} - .about-wrap li.wp-person a.web { display: block; margin: 6px 0 2px; font-size: 16px; + font-weight: normal; + line-height: 1.6em; text-decoration: none; } +.about-wrap #wp-people-group-validators + p.wp-credits-list { + margin-top: 0; +} + .about-wrap p.wp-credits-list a { white-space: nowrap; } @@ -355,44 +394,33 @@ margin: 0.6em 0; } -/* =Media Queries --------------------------------------------------------------- */ +/*------------------------------------------------------------------------------ + 4.0 - Media Queries +------------------------------------------------------------------------------*/ @media screen and ( max-width: 782px ) { - .about-wrap .feature-section.one-col > div, - .about-wrap .feature-section.two-col > div, - .about-wrap .feature-section.three-col > div { + .about-wrap .one-col > div, + .about-wrap .two-col > div, + .about-wrap .three-col > div { width: 100%; margin: 0 0 40px; padding: 0 0 40px; - float: none; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } - .about-wrap .under-the-hood .feature-section > div, - .about-wrap .feature-section.col > div.last-feature { + .about-wrap .feature-list div, + .about-wrap .col > div.last-feature { margin: 0; padding: 0; border-bottom: none; } -} - -/* Responsive release video */ -@media screen and ( max-width: 710px ) { - .about-overview { - position: relative; - padding-bottom: 56.25%; /* 360 / 640 */ - width: 100%; - height: 0; + .about-wrap .headline-feature .feature-section { + max-width: 100%; } - .about-overview embed { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; + .about-wrap .feature-list .feature-section { + padding: 0 0 40px; } } @@ -403,11 +431,11 @@ } .about-wrap h1, - .about-text { + .about-wrap .about-text { margin-right: 0; } - .about-text { + .about-wrap .about-text { margin-bottom: 0.25em; } @@ -428,19 +456,25 @@ border-bottom: 1px solid #ccc; } - .about-wrap .feature-section.three-col div { - width: 100%; - float: none; + .about-wrap .three-col div, + .about-wrap .headline-feature .feature-section div { + width: 100% !important; + float: none !important; } - .about-wrap .three-col.about-updates .col-1 { - padding: 0; - float: none; + .about-wrap .dfw p { + max-width: 90%; } +} - .about-wrap .three-col.about-updates .col-2 { - margin: 0 0 20px; - width: 100%; - float: none; +@media only screen and (max-width: 400px) { + .about-wrap .feature-list svg { + margin-top: 15px; + height: 65px; + width: 65px; + } + .about-wrap .feature-list.finer-points h4, + .about-wrap .feature-list.finer-points p { + margin-left: 80px; } }