OLD | NEW |
---|---|
1 /* | 1 /* |
2 * The default style sheet used to render HTML. | 2 * The default style sheet used to render HTML. |
3 * | 3 * |
4 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 4 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
481 margin: auto 0; | 481 margin: auto 0; |
482 } | 482 } |
483 | 483 |
484 input[type="search"]::-webkit-search-results-button { | 484 input[type="search"]::-webkit-search-results-button { |
485 -webkit-appearance: searchfield-results-button; | 485 -webkit-appearance: searchfield-results-button; |
486 display: block; | 486 display: block; |
487 -webkit-flex: none; | 487 -webkit-flex: none; |
488 -webkit-user-modify: read-only !important; | 488 -webkit-user-modify: read-only !important; |
489 } | 489 } |
490 | 490 |
491 #if defined(ENABLE_DATALIST_ELEMENT) && ENABLE_DATALIST_ELEMENT | |
tkent
2013/05/07 01:14:03
It makes <datalist> display:none even if the runti
| |
492 datalist { | 491 datalist { |
493 display: none; | 492 display: none; |
494 } | 493 } |
495 #endif | |
496 | 494 |
497 #if defined(ENABLE_INPUT_MULTIPLE_FIELDS_UI) && ENABLE_INPUT_MULTIPLE_FIELDS_UI | 495 #if defined(ENABLE_INPUT_MULTIPLE_FIELDS_UI) && ENABLE_INPUT_MULTIPLE_FIELDS_UI |
498 input[type="date"] { | 496 input[type="date"] { |
499 -webkit-align-items: center; | 497 -webkit-align-items: center; |
500 display: -webkit-inline-flex; | 498 display: -webkit-inline-flex; |
501 font-family: monospace; | 499 font-family: monospace; |
502 overflow: hidden; | 500 overflow: hidden; |
503 padding: 0; | 501 padding: 0; |
504 -webkit-padding-start: 1px; | 502 -webkit-padding-start: 1px; |
505 } | 503 } |
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
881 height: 100% | 879 height: 100% |
882 } | 880 } |
883 | 881 |
884 input[type="color"]::-webkit-color-swatch { | 882 input[type="color"]::-webkit-color-swatch { |
885 background-color: #000000; | 883 background-color: #000000; |
886 border: 1px solid #777777; | 884 border: 1px solid #777777; |
887 -webkit-flex: 1; | 885 -webkit-flex: 1; |
888 -webkit-user-modify: read-only !important; | 886 -webkit-user-modify: read-only !important; |
889 } | 887 } |
890 | 888 |
891 #if defined(ENABLE_DATALIST_ELEMENT) && ENABLE_DATALIST_ELEMENT | |
892 | |
893 input[type="color"][list] { | 889 input[type="color"][list] { |
894 -webkit-appearance: menulist; | 890 -webkit-appearance: menulist; |
895 width: 88px; | 891 width: 88px; |
896 height: 23px; | 892 height: 23px; |
897 } | 893 } |
898 | 894 |
899 input[type="color"][list]::-webkit-color-swatch-wrapper { | 895 input[type="color"][list]::-webkit-color-swatch-wrapper { |
900 padding-left: 8px; | 896 padding-left: 8px; |
901 padding-right: 24px; | 897 padding-right: 24px; |
902 } | 898 } |
903 | 899 |
904 input[type="color"][list]::-webkit-color-swatch { | 900 input[type="color"][list]::-webkit-color-swatch { |
905 border-color: #000000; | 901 border-color: #000000; |
906 } | 902 } |
907 | 903 |
908 #endif // defined(ENABLE_DATALIST_ELEMENT) && ENABLE_DATALIST_ELEMENT | |
909 | 904 |
910 #endif // defined(ENABLE_INPUT_TYPE_COLOR) && ENABLE_INPUT_TYPE_COLOR | 905 #endif // defined(ENABLE_INPUT_TYPE_COLOR) && ENABLE_INPUT_TYPE_COLOR |
911 | 906 |
912 #if defined(ENABLE_CALENDAR_PICKER) && ENABLE_CALENDAR_PICKER | 907 #if defined(ENABLE_CALENDAR_PICKER) && ENABLE_CALENDAR_PICKER |
913 input::-webkit-calendar-picker-indicator { | 908 input::-webkit-calendar-picker-indicator { |
914 display: inline-block; | 909 display: inline-block; |
915 width: 0.66em; | 910 width: 0.66em; |
916 height: 0.66em; | 911 height: 0.66em; |
917 padding: 0.17em 0.34em; | 912 padding: 0.17em 0.34em; |
918 -webkit-user-modify: read-only !important; | 913 -webkit-user-modify: read-only !important; |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1291 @page { | 1286 @page { |
1292 /* FIXME: Define the right default values for page properties. */ | 1287 /* FIXME: Define the right default values for page properties. */ |
1293 size: auto; | 1288 size: auto; |
1294 margin: auto; | 1289 margin: auto; |
1295 padding: 0px; | 1290 padding: 0px; |
1296 border-width: 0px; | 1291 border-width: 0px; |
1297 } | 1292 } |
1298 | 1293 |
1299 /* noscript is handled internally, as it depends on settings. */ | 1294 /* noscript is handled internally, as it depends on settings. */ |
1300 | 1295 |
OLD | NEW |