Ticket #974: 974.7.diff
| File 974.7.diff, 14.3 KB (added by , 6 years ago) |
|---|
-
anon-upload-template.php
27 27 padding-top: 10px; 28 28 } 29 29 30 .page-template-anon-upload-template-php #footer {31 position: absolute;32 bottom: 0;33 right: 0;34 left: 0;35 }36 37 30 .video-upload { 38 padding-bottom: 70px;31 width: 100%; 39 32 } 40 33 41 34 .noscript-show p { … … 48 41 49 42 .video-upload-left { 50 43 max-width: 550px; 44 margin: 15px; 51 45 } 52 46 53 47 .video-upload-right { … … 56 50 margin: -25px 0 25px; 57 51 } 58 52 53 @media screen and ( max-width: 920px ) { 54 .video-upload-right { 55 float: none; 56 width: auto; 57 margin: 0 10px; 58 } 59 } 60 59 61 .video-upload p { 60 62 margin: 16px 0; 61 63 overflow: hidden; … … 74 76 font-weight: bold; 75 77 } 76 78 79 @media screen and ( max-width: 500px ) { 80 .video-upload-left p > label, 81 .video-upload-left div > label { 82 width: 100%; 83 } 84 } 85 77 86 .video-upload-left p > label.wptv-video-wordcamp-cb { 78 87 display: inline; 79 88 float: none; … … 93 102 color: #333; 94 103 background-color: #fff; 95 104 padding: 4px; 96 width: 329px;105 width: 96%; 97 106 max-width: 329px; 98 107 } 99 108 100 109 .video-upload-left ul.cats-checkboxes { 101 margin-left: 130px;102 110 height: 150px; 103 111 overflow: auto; 104 112 } -
front-page.php
49 49 ?> 50 50 51 51 <li class="group"> 52 <a href="<?php the_permalink(); ?>" rel="bookmark">53 52 <span class="video-thumbnail"> 53 <a href="<?php the_permalink(); ?>" rel="bookmark"> 54 54 <?php $wptv->the_video_image( 50, null, false ); ?> 55 </a> 55 56 </span> 56 <span class="video-title"><?php the_title(); ?></span> 57 </a> 57 <span class="video-title"> 58 <a href="<?php the_permalink(); ?>" rel="bookmark"> 59 <?php the_title(); ?> 60 </a> 61 </span> 58 62 <?php $wptv->the_event( '<strong class="video-event">', '</strong>' ); ?> 59 63 </li> 60 64 -
header.php
15 15 <head> 16 16 <meta charset="<?php bloginfo( 'charset' ); ?>"> 17 17 18 <meta name="viewport" content="width=device-width, initial-scale=1"> 18 19 <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 19 20 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 20 21 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= -
sidebar.php
1 1 <div class="secondary-content"> 2 2 <ul> 3 <li >3 <li class="widget"> 4 4 <h3><?php esc_html_e( 'Resources', 'wptv' ); ?></h3> 5 5 6 6 <ul> -
style.css
86 86 border: none; 87 87 } 88 88 89 /* Contain floats */ 90 .group:before, .group:after { 91 content: ""; 92 display: table; 89 iframe { 90 max-width: 100%; 93 91 } 94 92 95 .group:after {96 clear: both;97 }98 99 .group {100 *zoom: 1;101 }102 103 93 /*************************************/ 104 94 105 95 /* Defaults */ … … 111 101 color: #444; 112 102 } 113 103 114 .group:after {115 content: ".";116 display: block;117 height: 0;118 clear: both;119 visibility: hidden;120 }121 122 104 .clear { 123 105 clear: both; 124 106 } … … 246 228 247 229 #header { 248 230 margin-top: 10px; 249 height: 57px;231 padding: 0 30px; 250 232 } 251 233 234 #header:after { 235 clear: both; 236 content: ''; 237 display: table; 238 } 239 252 240 #header h1 { 253 241 padding-top: 8px; 254 float: left;255 242 } 256 243 257 244 #header .sleeve { 258 width: 942px;245 max-width: 942px; 259 246 margin: 0 auto; 260 247 } 261 248 262 #menu ul { 263 float: right; 264 height: 57px;; 249 /* Menu */ 250 251 #menu { 252 clear: both; 253 padding: 10px 0; 265 254 } 266 255 267 256 #menu li { 268 float: left;269 display: block;270 margin-left: 10px;271 line-height: 57px;257 display: inline-block; 258 font-size: 14px; 259 margin-left: 0; 260 border-bottom: 1px solid white; 272 261 } 273 262 263 #menu li:last-child { 264 border-bottom: none; 265 } 266 267 #menu li a { 268 border: 0; 269 padding: 0 5px; 270 } 271 272 #menu #searchform { 273 margin: 0 0 0 15px; 274 } 275 276 274 277 #menu li a, 275 278 #menu li a:link, 276 279 #menu li a:visited { 277 padding: 5px;278 color: #555;279 280 text-decoration: none; 280 border: 0;281 281 } 282 282 283 283 #menu .current-menu-item > a, … … 288 288 color: #000 !important; 289 289 } 290 290 291 #searchform { 292 float: right; 293 margin-left: 15px; 291 #menu.toggled .menu-primary-container { 292 display: block; 294 293 } 295 294 295 #menu .current-menu-item > a, 296 #menu .current-menu-ancestor > a, 297 #menu .current_page_item > a, 298 #menu .current_page_ancestor > a { 299 color: white !important; 300 } 301 296 302 #searchform #searchbox, 297 303 #searchform input#s { 298 304 box-sizing: content-box; … … 303 309 border-radius: 2px; 304 310 height: 15px; 305 311 padding: 5px 6px; 306 width: 140px;312 width: 71%; 307 313 -webkit-appearance: textfield; 308 314 } 309 315 … … 322 328 box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); 323 329 } 324 330 331 /* Forms */ 332 325 333 input[type=submit], button, .button { 326 334 text-decoration: none; 327 335 -moz-border-radius: 5px; … … 396 404 ); 397 405 } 398 406 407 /* Intro */ 408 399 409 .intro { 400 410 font-size: 30px; 401 411 height: 64px; … … 1479 1489 display: none; 1480 1490 } 1481 1491 1482 #content {1483 width: 100%;1484 float: left;1485 }1486 1487 1492 #content .post { 1488 1493 margin-bottom: 20px; 1489 1494 clear: both; … … 1784 1789 outline: none 1785 1790 } 1786 1791 1787 . container {1788 width: 940px; 1792 .wptv-hero .container, 1793 #page > .container { 1789 1794 margin: auto; 1795 max-width: 940px; 1796 padding: 0 10px; 1790 1797 } 1791 1798 1792 1799 .primary-content { 1793 float: left; 1794 width: 700px; 1800 flex: 1 1 650px; 1795 1801 margin: 0; 1796 1802 } 1797 1803 1798 1804 .secondary-content { 1799 float: right; 1800 width: 200px; 1801 margin: 0 0 50px 0; 1805 flex: 1 1 auto; 1806 margin: 0 30px; 1802 1807 } 1803 1808 1804 1809 .tag-count { … … 1869 1874 /* Typography 1870 1875 ============================================================= */ 1871 1876 1872 /* Menu */1873 1874 #menu {1875 margin-right: 5px;1876 }1877 1878 #menu li {1879 font-size: 14px;1880 }1881 1882 #menu li a,1883 #menu li a:link,1884 #menu li a:visited {1885 color: #21759b;1886 }1887 1888 #menu li a.selected {1889 color: #545454;1890 }1891 1892 #menu li a:hover,1893 #menu li a:focus {1894 color: #d54e21;1895 }1896 1897 #menu #searchform {1898 margin: 0 0 0 15px;1899 }1900 1901 1877 /* Titles and Body Text */ 1902 1878 1903 1879 body, td, p, … … 1918 1894 } 1919 1895 1920 1896 .page-title { 1921 width: 940px;1897 max-width: 940px; 1922 1898 margin: auto; 1923 1899 } 1924 1900 … … 1926 1902 font-size: 13px; 1927 1903 font-weight: bold; 1928 1904 -webkit-font-smoothing: antialiased; 1905 text-align: left; 1929 1906 } 1930 1907 1931 1908 h2 { … … 2015 1992 ============================================================= */ 2016 1993 2017 1994 .wptv-hero { 2018 clear: both; 2019 2020 margin: 10px auto 30px auto; 2021 padding: 30px 0 10px 0; 2022 1995 margin: 10px auto 30px; 1996 padding: 30px 0 10px; 2023 1997 background: #F0F0F0; 2024 1998 } 2025 1999 2026 2000 .wptv-hero .main-video { 2027 2001 background: #2f2f2f; 2028 clear: both; 2029 2030 float: left; 2031 width: 575px; 2002 margin: 0 auto; 2003 max-width: 575px; 2004 position: relative; 2032 2005 } 2033 2006 2034 2007 .wptv-hero .main-video .video-player { 2035 width: 100% !important;2036 height: 323px !important;2037 2008 margin: 0 !important; 2038 2009 } 2039 2010 … … 2050 2021 } 2051 2022 2052 2023 .wptv-hero .main-video .video-player .videopress-title, 2053 .wptv-hero .main-video .video-player .videopress-wate mark {2024 .wptv-hero .main-video .video-player .videopress-watermark { 2054 2025 display: none !important; 2055 2026 } 2056 2027 … … 2096 2067 } 2097 2068 2098 2069 .wptv-hero .secondary-videos { 2099 float: right;2100 width: 345px;2070 margin: 20px auto 0; 2071 max-width: 575px; 2101 2072 } 2102 2073 2103 2074 .wptv-hero .secondary-videos h3 { … … 2111 2082 2112 2083 .wptv-hero .secondary-videos li { 2113 2084 font-size: 13px; 2114 2115 min-height: 75px; 2116 position: relative; 2117 2118 margin: 0 auto 23px 0; 2119 padding: 0 0 0 142px; 2085 margin: 0 auto 23px; 2086 max-width: 130px; 2120 2087 } 2121 2088 2122 2089 .wptv-hero .secondary-videos .video-thumbnail img { 2123 2090 width: 130px; 2124 2091 height: 75px; 2125 2126 position: absolute;2127 left: 0;2128 2092 } 2129 2093 2130 2094 .wptv-hero .secondary-videos a:hover img { … … 2135 2099 ============================================================= */ 2136 2100 2137 2101 .video-list { 2138 clear: both; 2102 display: flex; 2103 flex-wrap: wrap; 2104 margin: 0 -5px; 2139 2105 } 2140 2106 2107 .video-list:after { 2108 content: ''; 2109 flex: auto; 2110 } 2111 2141 2112 .video-list li { 2142 float: left; 2143 min-height: 220px; 2113 flex: 0 0 160px; 2144 2114 margin-bottom: 20px; 2115 padding: 0 5px; 2145 2116 } 2146 2117 2147 2118 .video-list li .video-thumbnail { 2148 2119 display: block; 2149 2120 width: 100%; 2150 height: 100px;2151 2121 2152 2122 margin: 0 0 8px 0; 2153 2123 … … 2160 2130 min-height: 100px; 2161 2131 } 2162 2132 2163 .video-list.four-col {2164 width: 860px;2165 }2166 2167 .video-list.four-col li {2168 width: 160px;2169 margin-right: 20px;2170 }2171 2172 2133 .secondary-content .video-list .video-title { 2173 2134 font-size: 13px; 2174 2135 display: block; … … 2203 2164 position: relative; 2204 2165 } 2205 2166 2206 .archive.video-list .video-thumbnail {2207 position: absolute;2208 top: 0;2209 left: 0;2210 2211 width: 220px;2212 height: 120px;2213 2214 margin: 0 20px 0 0;2215 }2216 2217 2167 .archive.video-list .video-title { 2218 2168 font-size: 16px; 2219 2169 margin: 4px 0 8px; 2220 2170 } 2221 2171 2222 .archive.video-list .video-description {2223 display: block;2224 padding-left: 240px;2225 }2226 2227 2172 .archive.video-list .video-date { 2228 2173 color: #aaa; 2229 2174 display: block; … … 2281 2226 2282 2227 /* Video Player and Placeholder */ 2283 2228 2284 .single .video-player {2285 float: left;2286 width: 940px !important;2287 height: 529px !important;2288 2289 overflow: hidden;2290 }2291 2292 2229 .videopress-placeholder, 2293 2230 .video-player object { 2294 2231 width: 100% !important; … … 2418 2355 } 2419 2356 2420 2357 .category .page-title { 2421 float: left; 2422 width: auto; 2423 margin: -8px 0 20px 0; 2358 flex: 0 0 25%; 2359 margin: -8px auto 20px; 2424 2360 } 2425 2361 2426 2362 .desc { 2427 fl oat: right;2363 flex: 0 0 70%; 2428 2364 color: #969696; 2429 2365 margin: 3px 0 20px 0; 2366 text-align: center; 2430 2367 } 2431 2368 2432 .category-wordcamptv .secondary-content {2433 float: left;2434 width: 200px;2435 }2436 2437 .category-wordcamptv .primary-content {2438 float: right;2439 margin: 0;2440 }2441 2442 2369 /* WordCamp Individual Page 2443 2370 ============================================================= */ 2444 2371 … … 2453 2380 margin: 0 0 40px 0; 2454 2381 } 2455 2382 2383 .secondary-content li.widget { 2384 border: 0; 2385 text-align: center; 2386 } 2387 2456 2388 .secondary-content li li { 2457 2389 border-bottom: 1px #e5e5e5 solid; 2458 2390 padding: 5px 0; … … 2468 2400 padding: 0 0 9px; 2469 2401 } 2470 2402 2471 .secondary-content li.widget {2472 border: 0;2473 }2474 2475 2403 /* 404 page 2476 2404 ============================================================= */ 2477 2405 2478 2406 .error404 .primary-content { 2479 width: 940px;2407 max-width: 940px; 2480 2408 } 2481 2409 2482 2410 .error404 h2 { … … 2512 2440 2513 2441 #footer { 2514 2442 background: #f0f0f0; 2515 clear: both;2516 2443 color: #888; 2517 height: 3.5em; 2518 margin: 10px 0 15px 0; 2444 margin: 10px 0 0 0; 2519 2445 padding: 10px 0; 2520 2446 } 2521 2447 2522 2448 #footer .automattic { 2523 width: 400px;2524 float: right;2525 text-align: right;2526 2449 font-size: 11px; 2527 2450 letter-spacing: 0.2em; 2528 line-height: 3em; 2451 line-height: 28px; 2452 padding-right: 2px; 2529 2453 padding-top: 13px; 2530 padding-right: 2px;2454 text-align: center; 2531 2455 text-transform: uppercase; 2532 line-height: 28px;2533 2456 } 2534 2457 2535 2458 #footer .automattic a { … … 2540 2463 2541 2464 .menu-footer-container, 2542 2465 #footer div.menu { 2543 float: left;2544 2466 line-height: 4em; 2545 margin-left: 2px;2546 2467 font-size: 13px; 2547 2468 margin-bottom: 0; 2469 text-align: center; 2548 2470 } 2549 2471 2550 .menu-footer-container li,2551 #footer div.menu li {2552 display: inline-block;2553 margin: 0 10px;2554 }2555 2556 2472 .menu-footer-container li:last-of-type:after, 2557 2473 #footer div.menu li:last-of-type:after { 2558 2474 content: none; … … 2587 2503 #footer img.videopress { 2588 2504 display: inline; 2589 2505 } 2506 2507 /* Media Queries 2508 ============================================================= */ 2509 2510 @media screen and ( min-width: 415px ) { 2511 .wptv-hero .secondary-videos li { 2512 max-width: initial; 2513 min-height: 75px; 2514 padding-left: 150px; 2515 position: relative; 2516 } 2517 2518 .wptv-hero .secondary-videos .video-thumbnail { 2519 left: 0; 2520 position: absolute; 2521 } 2522 } 2523 2524 @media screen and ( min-width: 500px ) { 2525 #header { 2526 padding: 0 20px; 2527 } 2528 2529 #header h1 { 2530 float: left; 2531 } 2532 2533 .menu-primary-container { 2534 display: initial; 2535 } 2536 2537 #menu ul { 2538 background-color: transparent; 2539 margin-left: -10px; 2540 margin-right: auto; 2541 } 2542 2543 #menu li { 2544 float: left; 2545 margin-left: 10px; 2546 } 2547 2548 #menu li a, 2549 #menu li a:link, 2550 #menu li a:visited { 2551 color: #21759b; 2552 } 2553 2554 #menu li a.selected { 2555 color: #545454; 2556 } 2557 2558 #menu li a:hover, 2559 #menu li a:focus { 2560 color: #d54e21; 2561 } 2562 2563 #searchform { 2564 float: right; 2565 } 2566 2567 #searchform #searchbox, 2568 #searchform input#s { 2569 width: 140px; 2570 } 2571 2572 .secondary-content li.widget { 2573 width: 45%; 2574 display: inline-block; 2575 vertical-align: top; 2576 margin-right: -6px; /* http://css-tricks.com/fighting-the-space-between-inline-block-elements/ */ 2577 padding-right: 30px; 2578 } 2579 2580 .secondary-content li.widget:nth-child( even ) { 2581 margin-right: 0; 2582 padding-right: 0; 2583 } 2584 2585 } 2586 2587 @media screen and ( min-width: 600px ) { 2588 #menu li a:link, 2589 #menu li a:visited { 2590 color: #555; 2591 } 2592 2593 #footer { 2594 height: 3.5em; 2595 } 2596 2597 .menu-footer-container li, 2598 #footer div.menu li { 2599 display: inline-block; 2600 margin: 0 10px; 2601 } 2602 } 2603 2604 @media screen and ( min-width: 940px ) { 2605 #menu { 2606 clear: initial; 2607 padding: 0; 2608 } 2609 2610 #menu ul { 2611 float: right; 2612 margin-top: 18px; 2613 } 2614 2615 #menu li { 2616 padding: 0; 2617 } 2618 2619 #menu li a { 2620 display: initial; 2621 padding: 5px; 2622 } 2623 2624 #searchform { 2625 margin-left: 15px; 2626 } 2627 2628 body .wptv-hero .container, 2629 body #page > .container { 2630 display: flex; 2631 flex-direction: row; 2632 flex-wrap: wrap; 2633 justify-content: space-between; 2634 } 2635 2636 .wptv-hero .main-video { 2637 flex: 0 0 575px; 2638 margin-left: 0; 2639 margin-right: 0; 2640 } 2641 2642 .wptv-hero .secondary-videos { 2643 flex: 1 0 320px; 2644 margin-left: 23px; 2645 margin-top: 0; 2646 } 2647 2648 .secondary-content { 2649 flex: 0 0 200px; 2650 margin: -20px 0 50px 40px; 2651 } 2652 2653 .secondary-content li.widget { 2654 display: initial; 2655 text-align: left; 2656 width: auto; 2657 } 2658 2659 .category-wordcamptv .secondary-content { 2660 margin: 0 30px 0 0; 2661 order: 0; 2662 width: 170px; 2663 } 2664 2665 .category-wordcamptv .primary-content { 2666 margin: 0; 2667 order: 1; 2668 } 2669 2670 .single .video-player { 2671 float: left; 2672 width: 940px !important; 2673 height: 529px !important; 2674 overflow: hidden; 2675 } 2676 2677 .menu-footer-container, 2678 #footer div.menu { 2679 float: left; 2680 } 2681 2682 #footer .automattic { 2683 float: right; 2684 margin-right: 20px; 2685 text-align: right; 2686 width: 380px; 2687 } 2688 } 2689 2690 @media screen and ( min-width:920px ) { 2691 #footer { 2692 height: 3.5em; 2693 } 2694 } 2695 2696 @media screen and ( max-width:620px ) { 2697 .dot { 2698 display: none; 2699 } 2700 } 2701 2702 @media screen and ( min-width:621px ) { 2703 .archive.video-list .video-thumbnail { 2704 top: 0; 2705 left: 0; 2706 2707 width: 220px; 2708 height: 120px; 2709 2710 margin: 0 20px 0 0; 2711 } 2712 2713 .archive.video-list .video-description { 2714 display: block; 2715 } 2716 } 2717 2718 @media screen and ( max-width:400px ) { 2719 .entry .contact-form textarea { 2720 width: 98%; 2721 } 2722 }