Make WordPress Core

Ticket #30776: 30776.2.diff

File 30776.2.diff, 11.5 KB (added by iamtakashi, 11 years ago)

Style properly multisite forms and pages to follow the theme style.

  • src/wp-content/themes/twentyfifteen/css/ie.css

     
    9393input[type="button"],
    9494input[type="reset"],
    9595input[type="submit"],
    96 .post-password-form input[type="submit"] {
     96.post-password-form input[type="submit"],
     97.widecolumn #submit,
     98.widecolumn .mu_register input[type="submit"] {
    9799        font-size: 16px;
    98100        padding: 0.8125em 1.625em;
    99101}
     
    180182.site-info,
    181183.wp-caption-text,
    182184.gallery-caption,
    183 .entry-caption {
     185.entry-caption,
     186.widecolumn label,
     187.widecolumn .mu_register label {
    184188        font-size: 16px;
    185189}
    186190
     
    454458        padding: 0 9.0909%;
    455459}
    456460
    457 .entry-title {
     461.entry-title,
     462.widecolumn h2 {
    458463        font-size: 39px;
    459464        line-height: 1.2308;
    460465        margin-bottom: 1.2308em;
     
    767772        padding: 0.5em 0;
    768773}
    769774
     775.widecolumn {
     776        margin: 7.6923%;
     777}
    770778
     779.widecolumn .mu_alert {
     780        margin-bottom: 1.6842em;
     781}
     782
     783.widecolumn p {
     784        margin: 1.6842em 0;
     785}
     786
     787.widecolumn p + h2 {
     788        margin-top: 1.641em;
     789}
     790
     791.widecolumn #key,
     792.widecolumn .mu_register #blog_title,
     793.widecolumn .mu_register #user_email,
     794.widecolumn .mu_register #blogname,
     795.widecolumn .mu_register #user_name {
     796        font-size: 19px;
     797}
     798
     799.widecolumn .mu_register #blog_title,
     800.widecolumn .mu_register #user_email,
     801.widecolumn .mu_register #user_name {
     802        margin: 0 0 0.421em;
     803}
     804
     805
    771806/**
    772807 * RTL
    773808 */
  • src/wp-content/themes/twentyfifteen/inc/customizer.php

     
    327327        .hentry,
    328328        .page-header,
    329329        .page-content,
    330         .comments-area {
     330        .comments-area,
     331        .widecolumn {
    331332                background-color: {$colors['box_background_color']};
    332333        }
    333334
     
    458459        .site-info a,
    459460        .wp-caption-text,
    460461        .gallery-caption,
    461         .comment-list .reply a {
     462        .comment-list .reply a,
     463        .widecolumn label,
     464        .widecolumn .mu_register label {
    462465                color: {$colors['textcolor']}; /* Fallback for IE7 and IE8 */
    463466                color: {$colors['secondary_textcolor']};
    464467        }
  • src/wp-content/themes/twentyfifteen/style.css

     
    25662566 * 15.0 Multisite
    25672567 */
    25682568
    2569 .site-content .mu_register {
     2569.widecolumn {
    25702570        background-color: #fff;
    2571         margin: 0;
    25722571        padding: 7.6923%;
     2572}
     2573
     2574.widecolumn .mu_register {
    25732575        width: auto;
    25742576}
    25752577
     2578.widecolumn .mu_alert {
     2579        margin-bottom: 1.6em;
     2580}
     2581
     2582.widecolumn form,
     2583.widecolumn .mu_register form {
     2584        margin-top: 0;
     2585}
     2586
     2587.widecolumn h2 {
     2588        font-size: 26px;
     2589        font-size: 2.6rem;
     2590        line-height: 1.1538;
     2591        margin-bottom: 0.9231em;
     2592}
     2593
     2594.widecolumn p {
     2595        margin: 1.6em 0;
     2596}
     2597
     2598.widecolumn p + h2 {
     2599        margin-top: 1.8462em;
     2600}
     2601
     2602.widecolumn label,
     2603.widecolumn .mu_register label {
     2604        color: #707070;
     2605        color: rgba(51, 51, 51, 0.7);
     2606        font-family: "Noto Sans", sans-serif;
     2607        font-size: 12px;
     2608        font-size: 1.2rem;
     2609        font-weight: 700;
     2610        letter-spacing: 0.04em;
     2611        line-height: 1.5;
     2612        text-transform: uppercase;
     2613}
     2614
     2615.widecolumn .mu_register label {
     2616        margin: 2em 0 0;
     2617}
     2618
     2619.widecolumn #key,
     2620.widecolumn .mu_register #blog_title,
     2621.widecolumn .mu_register #user_email,
     2622.widecolumn .mu_register #blogname,
     2623.widecolumn .mu_register #user_name {
     2624        font-size: 16px;
     2625        font-size: 1.6rem;
     2626        width: 100%;
     2627}
     2628
     2629.widecolumn .mu_register #blogname {
     2630        margin: 0;
     2631}
     2632
     2633.widecolumn .mu_register #blog_title,
     2634.widecolumn .mu_register #user_email,
     2635.widecolumn .mu_register #user_name {
     2636        margin: 0 0 0.375em;
     2637}
     2638
     2639.widecolumn #submit,
     2640.widecolumn .mu_register input[type="submit"] {
     2641        font-size: 12px;
     2642        font-size: 1.2rem;
     2643        margin: 0;
     2644        width: 100%;
     2645}
     2646
     2647.widecolumn .mu_register .prefix_address,
     2648.widecolumn .mu_register .suffix_address {
     2649        font-size: inherit;
     2650}
     2651
     2652.widecolumn .mu_register > :last-child,
     2653.widecolumn form > :last-child {
     2654        margin-bottom: 0;
     2655}
     2656
     2657
    25762658/**
    25772659 * 16.0 Media Queries
    25782660 */
     
    27772859                margin-left: 1.3333em;
    27782860        }
    27792861
    2780         .site-content .mu_register {
     2862        .widecolumn {
    27812863                box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
    27822864                margin: 7.6923%;
    27832865        }
     
    28442926        input[type="button"],
    28452927        input[type="reset"],
    28462928        input[type="submit"],
    2847         .post-password-form input[type="submit"] {
     2929        .post-password-form input[type="submit"],
     2930        .widecolumn #submit,
     2931        .widecolumn .mu_register input[type="submit"] {
    28482932                font-size: 14px;
    28492933                font-size: 1.4rem;
    28502934                padding: 0.8214em 1.6429em;
     
    29233007        .site-info,
    29243008        .wp-caption-text,
    29253009        .gallery-caption,
    2926         .entry-caption {
     3010        .entry-caption,
     3011        .widecolumn label,
     3012        .widecolumn .mu_register label {
    29273013                font-size: 14px;
    29283014                font-size: 1.4rem;
    29293015        }
     
    31503236                margin-bottom: 3em;
    31513237        }
    31523238
    3153         .entry-title {
     3239        .entry-title,
     3240        .widecolumn h2 {
    31543241                font-size: 35px;
    31553242                font-size: 3.5rem;
    31563243                line-height: 1.2;
     
    33783465        .gallery {
    33793466                margin-bottom: 1.6471em;
    33803467        }
     3468
     3469        .widecolumn .mu_alert {
     3470                margin-bottom: 1.6471em;
     3471        }
     3472
     3473        .widecolumn p {
     3474                margin: 1.6471em 0;
     3475        }
     3476
     3477        .widecolumn p + h2 {
     3478                margin-top: 1.6em;
     3479        }
     3480
     3481        .widecolumn #key,
     3482        .widecolumn .mu_register #blog_title,
     3483        .widecolumn .mu_register #user_email,
     3484        .widecolumn .mu_register #blogname,
     3485        .widecolumn .mu_register #user_name {
     3486                font-size: 17px;
     3487                font-size: 1.7rem;
     3488                line-height: normal;
     3489        }
     3490
     3491        .widecolumn .mu_register #blog_title,
     3492        .widecolumn .mu_register #user_email,
     3493        .widecolumn .mu_register #user_name {
     3494                margin: 0 0 0.4117em;
     3495        }
    33813496}
    33823497
    33833498
     
    34413556        input[type="button"],
    34423557        input[type="reset"],
    34433558        input[type="submit"],
    3444         .post-password-form input[type="submit"] {
     3559        .post-password-form input[type="submit"],
     3560        .widecolumn #submit,
     3561        .widecolumn .mu_register input[type="submit"] {
    34453562                font-size: 16px;
    34463563                font-size: 1.6rem;
    34473564                padding: 0.8125em 1.625em;
     
    35163633        .site-info,
    35173634        .wp-caption-text,
    35183635        .gallery-caption,
    3519         .entry-caption {
     3636        .entry-caption,
     3637        .widecolumn label,
     3638        .widecolumn .mu_register label {
    35203639                font-size: 16px;
    35213640                font-size: 1.6rem;
    35223641        }
     
    36863805                margin-bottom: 2.9474em;
    36873806        }
    36883807
    3689         .entry-title {
     3808        .entry-title,
     3809        .widecolumn h2 {
    36903810                font-size: 39px;
    36913811                font-size: 3.9rem;
    36923812                line-height: 1.2308;
     
    38994019        .gallery {
    39004020                margin-bottom: 1.6842em;
    39014021        }
     4022
     4023        .widecolumn .mu_alert {
     4024                margin-bottom: 1.6842em;
     4025        }
     4026
     4027        .widecolumn p {
     4028                margin: 1.6842em 0;
     4029        }
     4030
     4031        .widecolumn p + h2 {
     4032                margin-top: 1.641em;
     4033        }
     4034
     4035        .widecolumn #key,
     4036        .widecolumn .mu_register #blog_title,
     4037        .widecolumn .mu_register #user_email,
     4038        .widecolumn .mu_register #blogname,
     4039        .widecolumn .mu_register #user_name {
     4040                font-size: 19px;
     4041                font-size: 1.9rem;
     4042        }
     4043
     4044        .widecolumn .mu_register #blog_title,
     4045        .widecolumn .mu_register #user_email,
     4046        .widecolumn .mu_register #user_name {
     4047                margin: 0 0 0.421em;
     4048        }
    39024049}
    39034050
    39044051
     
    40084155        input[type="button"],
    40094156        input[type="reset"],
    40104157        input[type="submit"],
    4011         .post-password-form input[type="submit"] {
     4158        .post-password-form input[type="submit"],
     4159        .widecolumn #submit,
     4160        .widecolumn .mu_register input[type="submit"] {
    40124161                font-size: 12px;
    40134162                font-size: 1.2rem;
    40144163                padding: 0.7917em 1.5833em;
     
    40954244        .site-info,
    40964245        .wp-caption-text,
    40974246        .gallery-caption,
    4098         .entry-caption {
     4247        .entry-caption,
     4248        .widecolumn label,
     4249        .widecolumn .mu_register label {
    40994250                font-size: 12px;
    41004251                font-size: 1.2rem;
    41014252        }
     
    43124463                padding: 0 10%;
    43134464        }
    43144465
    4315         .entry-title {
     4466        .entry-title,
     4467        .widecolumn h2 {
    43164468                font-size: 31px;
    43174469                font-size: 3.1rem;
    43184470                line-height: 1.1613;
     
    45704722                margin-bottom: 1.6em;
    45714723        }
    45724724
    4573         .site-content .mu_register {
     4725        .widecolumn {
    45744726                margin: 8.3333%;
    45754727                padding: 8.3333%;
    45764728        }
     4729
     4730        .widecolumn .mu_alert {
     4731                margin-bottom: 1.6em;
     4732        }
     4733
     4734        .widecolumn p {
     4735                margin: 1.6em 0;
     4736        }
     4737
     4738        .widecolumn p + h2 {
     4739                margin-top: 1.5484em;
     4740        }
     4741
     4742        .widecolumn #key,
     4743        .widecolumn .mu_register #blog_title,
     4744        .widecolumn .mu_register #user_email,
     4745        .widecolumn .mu_register #blogname,
     4746        .widecolumn .mu_register #user_name {
     4747                font-size: 16px;
     4748                font-size: 1.6rem;
     4749        }
     4750
     4751        .widecolumn .mu_register #blog_title,
     4752        .widecolumn .mu_register #user_email,
     4753        .widecolumn .mu_register #user_name {
     4754                margin: 0 0 0.375em;
     4755        }
    45774756}
    45784757
    45794758
     
    46374816        input[type="button"],
    46384817        input[type="reset"],
    46394818        input[type="submit"],
    4640         .post-password-form input[type="submit"] {
     4819        .post-password-form input[type="submit"],
     4820        .widecolumn #submit,
     4821        .widecolumn .mu_register input[type="submit"] {
    46414822                font-size: 14px;
    46424823                font-size: 1.4rem;
    46434824                padding: 0.8214em 1.5714em;
     
    47134894        .site-info,
    47144895        .wp-caption-text,
    47154896        .gallery-caption,
    4716         .entry-caption {
     4897        .entry-caption,
     4898        .widecolumn label,
     4899        .widecolumn .mu_register label {
    47174900                font-size: 14px;
    47184901                font-size: 1.4rem;
    47194902        }
     
    48635046                margin-bottom: 2.4706em;
    48645047        }
    48655048
    4866         .entry-title {
     5049        .entry-title,
     5050        .widecolumn h2 {
    48675051                font-size: 35px;
    48685052                font-size: 3.5rem;
    48695053                line-height: 1.2;
     
    50815265        .gallery {
    50825266                margin-bottom: 1.6471em;
    50835267        }
     5268
     5269        .widecolumn .mu_alert {
     5270                margin-bottom: 1.6471em;
     5271        }
     5272
     5273        .widecolumn p {
     5274                margin: 1.6471em 0;
     5275        }
     5276
     5277        .widecolumn p + h2 {
     5278                margin-top: 1.6em;
     5279        }
     5280
     5281        .widecolumn #key,
     5282        .widecolumn .mu_register #blog_title,
     5283        .widecolumn .mu_register #user_email,
     5284        .widecolumn .mu_register #blogname,
     5285        .widecolumn .mu_register #user_name {
     5286                font-size: 17px;
     5287                font-size: 1.7rem;
     5288        }
     5289
     5290        .widecolumn .mu_register #blog_title,
     5291        .widecolumn .mu_register #user_email,
     5292        .widecolumn .mu_register #user_name {
     5293                margin: 0 0 0.4117em;
     5294        }
    50845295}
    50855296
    50865297
     
    51445355        input[type="button"],
    51455356        input[type="reset"],
    51465357        input[type="submit"],
    5147         .post-password-form input[type="submit"] {
     5358        .post-password-form input[type="submit"],
     5359        .widecolumn #submit,
     5360        .widecolumn .mu_register input[type="submit"] {
    51485361                font-size: 16px;
    51495362                font-size: 1.6rem;
    51505363                padding: 0.8125em 1.625em;
     
    52195432        .site-info,
    52205433        .wp-caption-text,
    52215434        .gallery-caption,
    5222         .entry-caption {
     5435        .entry-caption,
     5436        .widecolumn label,
     5437        .widecolumn .mu_register label {
    52235438                font-size: 16px;
    52245439                font-size: 1.6rem;
    52255440        }
     
    53815596                margin-bottom: 2.9474em;
    53825597        }
    53835598
    5384         .entry-title {
     5599        .entry-title,
     5600        .widecolumn h2 {
    53855601                font-size: 39px;
    53865602                font-size: 3.9rem;
    53875603                line-height: 1.2308;
     
    55905806        .gallery {
    55915807                margin-bottom: 1.6842em;
    55925808        }
     5809
     5810        .widecolumn .mu_alert {
     5811                margin-bottom: 1.6842em;
     5812        }
     5813
     5814        .widecolumn p {
     5815                margin: 1.6842em 0;
     5816        }
     5817
     5818        .widecolumn p + h2 {
     5819                margin-top: 1.641em;
     5820        }
     5821
     5822        .widecolumn #key,
     5823        .widecolumn .mu_register #blog_title,
     5824        .widecolumn .mu_register #user_email,
     5825        .widecolumn .mu_register #blogname,
     5826        .widecolumn .mu_register #user_name {
     5827                font-size: 19px;
     5828                font-size: 1.9rem;
     5829        }
     5830
     5831        .widecolumn .mu_register #blog_title,
     5832        .widecolumn .mu_register #user_email,
     5833        .widecolumn .mu_register #user_name {
     5834                margin: 0 0 0.421em;
     5835        }
    55935836}
    55945837
    55955838
     
    56265869        button,
    56275870        input,
    56285871        textarea,
    5629         select {
     5872        select,
     5873        .widecolumn form,
     5874        .widecolumn .mu_register form {
    56305875                display: none;
    56315876        }
    56325877
     
    56375882        .page-header,
    56385883        .page-content,
    56395884        .comments-area,
    5640         .site-content .mu_register {
     5885        .widecolumn {
    56415886                background: none !important; /* Make sure color schemes dont't affect to print */
    56425887        }
    56435888
     
    56915936                margin: 0 7.6923%;
    56925937        }
    56935938
     5939        .sidebar {
     5940                position: relative !important; /* Make sure sticky sidebar doesn't affect to print */
     5941        }
     5942
    56945943        .site-branding {
    56955944                padding: 0;
    56965945        }
     
    57526001                padding: 3.84615% 0;
    57536002        }
    57546003
    5755         .site-content .mu_register {
    5756                 padding: 7.6923%;
     6004        .widecolumn {
     6005                margin: 7.6923% 0 0;
     6006                padding: 0;
    57576007        }
    57586008}