Make WordPress Core

source: branches/5.0/src/wp-content/themes/twentynineteen/sass/forms/_fields.scss @ 43904

Last change on this file since 43904 was 43904, checked in by allancole, 6 years ago

Updating Twenty Nineteen, our new default theme for 2019, set for 5.0.

This update changes the following:

  • Improve menu UI to support keyboard navigation in both directions
  • Improve more-menu-link visibility when no menu items are hidden
  • Improve text-selection custom colors for better contrast and legibility
  • Improve support for sticky toolbars in the editor
  • Improve table element fonts
  • Add .button class support
  • Remove translation escaping
  • Fix menu JS to prevent unused touched event listeners
  • Fix duplicate more-menu-link issue on selective refresh in the customizer
  • Fix editor font-weights for headings
  • Fix search form input style
  • Fix nested blockquote styles
  • Fix download block button style when download text stretches more than one line
  • Fix audio block centering issue
  • Fix align-full blocks in the editor so they don’t create horizontal scrollbars
  • Fix editor to prevent Gutenberg's meta boxes area from overlapping the content

Initial development occurred on GitHub. See: https://github.com/WordPress/twentynineteen

Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, aaronjorbin, ntwb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins12, peterwilsoncc, DannyCooper, WPprodigy, siriokun, briannaorg, 00travelgirl00, shahjehanali1, ianbelanger79, nadim1992, Ismail-elkorchi, nativeinside, iamchetanp, grappler, ocean90, joshfeck, frankew, abdulwahab610, mendezcode, eliorivero, melchoyce, jasmussen, laurelfulford, mdawaffe, kraftbj, dereksmart, naokomc, mayukojpn, enodekciw, chetansatasiya, ketuchetan, atanas-angelov-dev, carolinan, sharazghouri, artisan-asad, mukeshpanchal27, mukesh27, burhandodhy, @crunnells, aryaprakasa, tlxo, themeroots, whizbangik, yingles, tlxo, youthkee, brentswisher, smy315, ahmadawais, desi-developer, 2ndkauboy, mor10.

File size: 994 bytes
Line 
1input[type="text"],
2input[type="email"],
3input[type="url"],
4input[type="password"],
5input[type="search"],
6input[type="number"],
7input[type="tel"],
8input[type="range"],
9input[type="date"],
10input[type="month"],
11input[type="week"],
12input[type="time"],
13input[type="datetime"],
14input[type="datetime-local"],
15input[type="color"],
16textarea {
17        -webkit-backface-visibility: hidden;
18        background: $color__background-input;
19        border: solid 1px $color__border;
20        box-sizing: border-box;
21        outline: none;
22        padding: #{.36 * $size__spacing-unit} #{.66 * $size__spacing-unit};
23        -webkit-appearance: none;
24        outline-offset: 0;
25        border-radius: 0;
26
27        &:focus {
28                border-color: $color__link;
29                outline: thin solid rgba( $color__link, 0.15 );
30                outline-offset: -4px;
31        }
32}
33
34input[type="search"] {
35        &::-webkit-search-decoration {
36                display: none;
37        }
38}
39
40select {
41
42}
43
44textarea {
45        box-sizing: border-box;
46        display: block;
47        width: 100%;
48        max-width: 100%;
49        resize: vertical;
50}
51
52form {
53
54        p {
55                margin: $size__spacing-unit 0;
56        }
57
58}
Note: See TracBrowser for help on using the repository browser.