Ticket #974: 974.3.patch
| File 974.3.patch, 12.2 KB (added by , 9 years ago) |
|---|
-
sidebar.php
IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8
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> … … 8 8 </ul> 9 9 </li> 10 10 <ul/> 11 </div><!-- .secondary_content --> 12 No newline at end of file 11 </div><!-- .secondary_content --> -
style.css
IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8
242 242 243 243 #header { 244 244 margin-top: 10px; 245 height: 57px;246 245 } 247 246 248 247 #header h1 { … … 251 250 } 252 251 253 252 #header .sleeve { 254 width: 942px;253 max-width: 942px; 255 254 margin: 0 auto; 256 255 } 257 256 257 .menu-toggle { 258 display: none; 259 margin: 0 auto; 260 } 261 262 #menu { 263 clear: both; 264 } 265 258 266 #menu ul { 259 267 float: right; 260 268 height: 57px;; … … 286 294 color: #000 !important; 287 295 } 288 296 289 #searchform {290 float: right;291 margin-left: 15px;292 }293 294 297 #searchform #searchbox, 295 298 #searchform input#s { 296 299 box-sizing: content-box; … … 322 325 box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); 323 326 } 324 327 328 /* Forms */ 329 325 330 input[type=submit], button, .button { 326 331 text-decoration: none; 327 332 -moz-border-radius: 5px; … … 396 401 ); 397 402 } 398 403 404 /* Intro */ 405 399 406 .intro { 400 407 font-size: 30px; 401 408 height: 64px; … … 1464 1471 display: none; 1465 1472 } 1466 1473 1467 #content {1468 width: 630px;1469 float: left;1470 }1471 1472 1474 #content .post { 1473 1475 margin-bottom: 20px; 1474 1476 clear: both; … … 1551 1553 } 1552 1554 1553 1555 #commentform textarea { 1554 width: 600px;1556 width: 96%; 1555 1557 height: 100px; 1556 1558 margin-bottom: 5px; 1557 1559 } … … 1767 1769 } 1768 1770 1769 1771 .container { 1770 width: 940px;1772 max-width: 940px; 1771 1773 margin: auto; 1772 1774 } 1773 1775 1774 1776 .primary-content { 1775 float: left;1776 width: 700px;1777 1777 margin: 0; 1778 1778 } 1779 1779 1780 1780 .secondary-content { 1781 float: right; 1782 width: 170px; 1783 margin: 0 0 50px 0; 1781 margin: 0 30px; 1784 1782 } 1785 1783 1786 1784 .tag-count { … … 1849 1847 1850 1848 /* Menu */ 1851 1849 1852 #menu {1853 margin-right: 5px;1854 }1855 1856 1850 #menu li { 1857 1851 font-size: 14px; 1858 1852 } … … 1895 1889 } 1896 1890 1897 1891 .page-title { 1898 width: 940px;1892 max-width: 940px; 1899 1893 margin: auto; 1900 1894 } 1901 1895 … … 1989 1983 .wptv-hero { 1990 1984 clear: both; 1991 1985 1992 margin: 10px auto 30px auto;1986 margin: 20px auto 30px auto; 1993 1987 padding: 30px 0 10px 0; 1994 1988 1995 1989 background: #F0F0F0; … … 1998 1992 .wptv-hero .main-video { 1999 1993 background: #2f2f2f; 2000 1994 clear: both; 2001 2002 float: left;2003 width: 575px;2004 1995 } 2005 1996 2006 1997 .wptv-hero .main-video .video-player { 2007 1998 width: 100% !important; 2008 height: 323px !important;2009 1999 margin: 0 !important; 2010 2000 } 2011 2001 … … 2022 2012 } 2023 2013 2024 2014 .wptv-hero .main-video .video-player .videopress-title, 2025 .wptv-hero .main-video .video-player .videopress-wate mark {2015 .wptv-hero .main-video .video-player .videopress-watermark { 2026 2016 display: none !important; 2027 2017 } 2028 2018 … … 2062 2052 display: none; 2063 2053 } 2064 2054 2065 .wptv-hero .secondary-videos {2066 float: right;2067 width: 345px;2068 }2069 2070 2055 .wptv-hero .secondary-videos h3 { 2071 2056 font-size: 18px; 2072 2057 font-weight: bold; … … 2079 2064 .wptv-hero .secondary-videos li { 2080 2065 font-size: 13px; 2081 2066 2082 min-height: 7 5px;2067 min-height: 78px; 2083 2068 position: relative; 2084 2069 2085 2070 margin: 0 auto 23px 0; 2086 padding: 0 0 0 142px; 2071 padding: 0 0 0 142px; /* todo pushes title outside container at 450px wide */ 2087 2072 } 2088 2073 2089 2074 .wptv-hero .secondary-videos .video-thumbnail img { … … 2106 2091 } 2107 2092 2108 2093 .video-list li { 2109 float: left;2110 min-height: 220px;2111 2094 margin-bottom: 20px; 2112 2095 } 2113 2096 2114 2097 .video-list li .video-thumbnail { 2115 2098 display: block; 2116 2099 width: 100%; 2117 height: 100px;2118 2100 2119 2101 margin: 0 0 8px 0; 2120 2102 … … 2127 2109 min-height: 100px; 2128 2110 } 2129 2111 2130 .video-list.four-col {2131 width: 860px;2132 }2133 2134 .video-list.four-col li {2135 width: 160px;2136 margin-right: 20px;2137 }2138 2139 2112 .secondary-content .video-list .video-title { 2140 2113 font-size: 13px; 2141 2114 display: block; … … 2170 2143 position: relative; 2171 2144 } 2172 2145 2173 .archive.video-list .video-thumbnail {2174 position: absolute;2175 top: 0;2176 left: 0;2177 2178 width: 220px;2179 height: 120px;2180 2181 margin: 0 20px 0 0;2182 }2183 2184 2146 .archive.video-list .video-title { 2185 2147 font-size: 16px; 2186 2148 margin: 4px 0 8px; 2187 2149 } 2188 2150 2189 .archive.video-list .video-description {2190 display: block;2191 padding-left: 240px;2192 }2193 2194 2151 .archive.video-list .video-date { 2195 2152 color: #aaa; 2196 2153 display: block; … … 2247 2204 } 2248 2205 2249 2206 /* Video Player and Placeholder */ 2250 2251 .single .video-player {2252 float: left;2253 width: 940px !important;2254 height: 529px !important;2255 2256 overflow: hidden;2257 }2258 2259 2207 .videopress-placeholder, 2260 2208 .video-player object { 2261 2209 width: 100% !important; … … 2396 2344 margin: 3px 0 20px 0; 2397 2345 } 2398 2346 2399 .category-wordcamptv .secondary-content {2400 float: left;2401 width: 170px;2402 }2403 2404 .category-wordcamptv .primary-content {2405 float: right;2406 margin: 0;2407 }2408 2409 2347 /* WordCamp Individual Page 2410 2348 ============================================================= */ 2411 2349 … … 2443 2381 ============================================================= */ 2444 2382 2445 2383 .error404 .primary-content { 2446 width: 940px;2384 max-width: 940px; 2447 2385 } 2448 2386 2449 2387 .error404 h2 { … … 2482 2420 clear: both; 2483 2421 color: #888; 2484 2422 height: 3.5em; 2485 margin: 10px 0 15px0;2423 margin: 10px 0 0 0; 2486 2424 padding: 10px 0; 2487 2425 } 2488 2426 … … 2542 2480 2543 2481 #footer img.videopress { 2544 2482 display: inline; 2483 } 2484 2485 /* Media Queries 2486 ============================================================= */ 2487 2488 @media screen and ( min-width:941px ) { 2489 .wptv-hero .main-video { 2490 width: 575px; 2491 } 2492 2493 .wptv-hero .main-video .video-player { 2494 height: 323px !important; 2495 } 2496 2497 .primary-content { 2498 float: left; 2499 max-width: 700px; 2500 } 2501 2502 .secondary-content { 2503 float: right; 2504 width: 170px; 2505 margin: 0 0 50px 0; 2506 } 2507 2508 .container { 2509 overflow: hidden; 2510 } 2511 2512 .category-wordcamptv .secondary-content { 2513 float: left; 2514 width: 170px; 2515 } 2516 2517 .category-wordcamptv .primary-content { 2518 float: right; 2519 margin: 0; 2520 } 2521 2522 .video-list.four-col { 2523 width: 860px; 2524 } 2525 2526 .wptv-hero .main-video { 2527 float: left; 2528 } 2529 2530 .wptv-hero .secondary-videos { 2531 float: right; 2532 width: 345px; 2533 } 2534 2535 .single .video-player { 2536 float: left; 2537 width: 940px !important; 2538 height: 529px !important; 2539 overflow: hidden; 2540 } 2541 } 2542 2543 @media screen and ( max-width:940px ) { 2544 #header { 2545 padding: 0 30px; 2546 } 2547 2548 .category .page-title, 2549 .desc { 2550 float: none; 2551 } 2552 2553 .wptv-hero .main-video .video-player { 2554 /*height: auto !important;*/ 2555 2556 /* todo when video starts playing, it dissappears */ 2557 /* todo watermark is creating empty space */ 2558 } 2559 2560 .primary-content { 2561 padding: 0 30px; 2562 } 2563 2564 .wptv-hero { 2565 padding: 30px 30px 10px; 2566 } 2567 2568 .wptv-hero .secondary-videos { 2569 margin-top: 20px; 2570 } 2571 2572 .wptv-hero .secondary-videos li { 2573 display: inline-block; 2574 width: 150px; 2575 vertical-align: top; 2576 padding-right: 20px; 2577 } 2578 2579 .secondary-content { 2580 clear: both; 2581 } 2582 2583 .secondary-content li.widget { 2584 width: 45%; 2585 display: inline-block; 2586 vertical-align: top; 2587 margin-right: -6px; /* http://css-tricks.com/fighting-the-space-between-inline-block-elements/ */ 2588 padding-right: 30px; 2589 } 2590 2591 .secondary-content li.widget:nth-child( even ) { 2592 margin-right: 0; 2593 padding-right: 0; 2594 } 2595 } 2596 2597 @media screen and ( min-width:921px ) { 2598 #footer { 2599 clear: both; 2600 height: 3.5em; 2601 2602 } 2603 2604 .automattic { 2605 width: 380px; 2606 float: right; 2607 text-align: right; 2608 } 2609 } 2610 2611 @media screen and ( max-width:920px ) { 2612 .menu-footer-container { 2613 float: none; 2614 text-align: center; 2615 } 2616 2617 .automattic { 2618 width: 100%; 2619 clear: both; 2620 text-align: center; 2621 } 2622 } 2623 2624 @media screen and ( max-width: 700px ) { 2625 .wptv-hero .secondary-videos li { 2626 display: block; 2627 width: auto; 2628 padding-right: 0; 2629 } 2630 } 2631 2632 @media screen and ( min-width:621px ) { 2633 .menu-footer-container li { 2634 display: inline-block; 2635 } 2636 } 2637 2638 @media screen and ( max-width:620px ) { 2639 .dot { 2640 display: none; 2641 } 2642 } 2643 2644 @media screen and ( min-width:620px ) and ( max-width:940px ) { 2645 2646 } 2647 2648 @media screen and ( min-width:601px ) { 2649 #header { 2650 height: 57px; 2651 } 2652 } 2653 2654 @media screen and ( max-width:600px ) { 2655 /* Menu */ 2656 .menu-toggle { 2657 display: block; 2658 } 2659 2660 .menu-primary-container { 2661 display: none; 2662 margin-top: 20px; 2663 } 2664 2665 #menu.toggled .menu-primary-container { 2666 display: block; 2667 } 2668 2669 #menu { 2670 text-align: center; 2671 padding: 10px 0; 2672 } 2673 2674 #menu ul { 2675 float: none; 2676 height: auto; 2677 margin-left: -30px; /* offset margins on #header, to achieve 100% viewport width */ 2678 margin-right: -30px; 2679 background-color: #2698CF; 2680 text-align: center; 2681 } 2682 2683 #menu li { 2684 float: none; 2685 margin-left: 0; 2686 padding: 10px 0 8px; 2687 line-height: 2em; 2688 border-bottom: 1px solid white; 2689 } 2690 2691 #menu li:last-child { 2692 border-bottom: none; 2693 } 2694 2695 #menu li a, 2696 #menu li a:link, 2697 #menu li a:visited { 2698 color: white; 2699 } 2700 2701 #menu .current-menu-item > a, 2702 #menu .current-menu-ancestor > a, 2703 #menu .current_page_item > a, 2704 #menu .current_page_ancestor > a { 2705 color: white !important; 2706 } 2707 2708 /* Footer */ 2709 .menu-footer-container { 2710 float: none; 2711 } 2712 2713 #menu-footer { 2714 text-align: center; 2715 } 2716 2717 #menu-footer li { 2718 display: block; 2719 } 2720 } 2721 2722 @media screen and ( min-width:621px ) { 2723 .archive.video-list .video-thumbnail { 2724 position: absolute; 2725 top: 0; 2726 left: 0; 2727 2728 width: 220px; 2729 height: 120px; 2730 2731 margin: 0 20px 0 0; 2732 } 2733 2734 .archive.video-list .video-description { 2735 display: block; 2736 padding-left: 240px; 2737 } 2738 } 2739 2740 @media screen and ( min-width:501px ) { 2741 #searchform { 2742 float: right; 2743 margin-left: 15px; 2744 } 2745 } 2746 2747 @media screen and ( max-width: 500px ) { 2748 .secondary-content li.widget { 2749 width: auto; 2750 display: block; 2751 margin-right: 0; 2752 padding-right: 0; 2753 text-align: center; 2754 } 2755 2756 #header h1 { 2757 float: none; 2758 } 2759 2760 #searchform { 2761 width: 100%; 2762 float: none; 2763 margin-left: auto; 2764 } 2765 2766 #searchform #searchbox, 2767 #searchform input#s { 2768 width: 71%; 2769 } 2770 } 2771 2772 @media screen and ( max-width:400px ) { 2773 2774 .entry .contact-form textarea { 2775 width: 98%; 2776 } 2777 } 2778 2779 @media screen and ( min-width:395px ) { 2780 .video-list li { 2781 float: left; 2782 min-height: 220px; 2783 } 2784 2785 .video-list.four-col li { 2786 width: 160px; 2787 margin-right: 20px; 2788 } 2545 2789 } -
header.php
IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8
14 14 15 15 <head> 16 16 <meta charset="<?php bloginfo( 'charset' ); ?>"> 17 <meta name="viewport" content="width=device-width, initial-scale=1"> 17 18 <title><?php wp_title( '|', true, 'right' ); ?></title> 18 19 19 20 <link rel="alternate" type="application/rss+xml" title="<?php esc_attr_e( 'WordPress.tv RSS Feed', 'wptv' ); ?>" href="https://wordpress.tv/feed/" /> … … 40 41 </form> 41 42 42 43 <div id="menu"> 44 <button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php esc_html_e( 'Menu', 'wptv' ); ?></button> 43 45 <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?> 44 46 </div> 45 47 -
anon-upload-template.php
IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8
29 29 padding-top: 10px; 30 30 } 31 31 32 .page-template-anon-upload-template-php #footer {33 position: absolute;34 bottom: 0;35 right: 0;36 left: 0;37 }38 39 .video-upload {40 padding-bottom: 70px;41 }42 43 32 .noscript-show p { 44 33 margin: 0 !important; 45 34 } … … 51 40 52 41 .video-upload-left { 53 42 max-width: 550px; 43 margin: 15px; 54 44 } 55 45 56 46 .video-upload-right { … … 59 49 margin: -25px 0 25px; 60 50 } 61 51 52 @media screen and ( max-width:920px ) { 53 .video-upload-right { 54 float: none; 55 width: auto; 56 margin: 0 10px; 57 } 58 } 59 62 60 .video-upload p { 63 61 margin: 16px 0; 64 62 overflow: auto; … … 77 75 font-weight: bold; 78 76 } 79 77 78 @media screen and ( max-width: 500px ) { 79 .video-upload-left p > label, 80 .video-upload-left div > label { 81 width: 100%; 82 } 83 } 84 80 85 .video-upload-left p > label.wptv-video-wordcamp-cb { 81 86 display: inline; 82 87 float: none; … … 96 101 color: #333; 97 102 background-color: #fff; 98 103 padding: 4px; 99 width: 329px;104 width: 96%; 100 105 max-width: 329px; 101 106 } 102 107 103 108 .video-upload-left ul.cats-checkboxes { 104 margin-left: 130px;105 109 height: 150px; 106 110 overflow: auto; 107 111 }