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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
474 | 474 |
475 input[type="search"]::-webkit-search-results-decoration { | 475 input[type="search"]::-webkit-search-results-decoration { |
476 -webkit-appearance: searchfield-results-decoration; | 476 -webkit-appearance: searchfield-results-decoration; |
477 display: block; | 477 display: block; |
478 -webkit-flex: none; | 478 -webkit-flex: none; |
479 -webkit-user-modify: read-only !important; | 479 -webkit-user-modify: read-only !important; |
480 -webkit-align-self: flex-start; | 480 -webkit-align-self: flex-start; |
481 margin: auto 0; | 481 margin: auto 0; |
482 } | 482 } |
483 | 483 |
484 #if defined(ENABLE_DATALIST_ELEMENT) && ENABLE_DATALIST_ELEMENT | |
485 datalist { | |
486 display: none; | |
487 } | |
488 #endif | |
489 | |
490 #if defined(ENABLE_INPUT_MULTIPLE_FIELDS_UI) && ENABLE_INPUT_MULTIPLE_FIELDS_UI | 484 #if defined(ENABLE_INPUT_MULTIPLE_FIELDS_UI) && ENABLE_INPUT_MULTIPLE_FIELDS_UI |
491 input[type="date"] { | 485 input[type="date"] { |
492 -webkit-align-items: center; | 486 -webkit-align-items: center; |
493 display: -webkit-inline-flex; | 487 display: -webkit-inline-flex; |
494 font-family: monospace; | 488 font-family: monospace; |
495 overflow: hidden; | 489 overflow: hidden; |
496 padding: 0; | 490 padding: 0; |
497 -webkit-padding-start: 1px; | 491 -webkit-padding-start: 1px; |
498 } | 492 } |
499 | 493 |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
863 height: 100% | 857 height: 100% |
864 } | 858 } |
865 | 859 |
866 input[type="color"]::-webkit-color-swatch { | 860 input[type="color"]::-webkit-color-swatch { |
867 background-color: #000000; | 861 background-color: #000000; |
868 border: 1px solid #777777; | 862 border: 1px solid #777777; |
869 -webkit-flex: 1; | 863 -webkit-flex: 1; |
870 -webkit-user-modify: read-only !important; | 864 -webkit-user-modify: read-only !important; |
871 } | 865 } |
872 | 866 |
873 #if defined(ENABLE_DATALIST_ELEMENT) && ENABLE_DATALIST_ELEMENT | |
874 | |
875 input[type="color"][list] { | 867 input[type="color"][list] { |
tkent
2013/05/20 21:32:11
These three blocks should be added dynamically by
| |
876 -webkit-appearance: menulist; | 868 -webkit-appearance: menulist; |
877 width: 88px; | 869 width: 88px; |
878 height: 23px; | 870 height: 23px; |
879 } | 871 } |
880 | 872 |
881 input[type="color"][list]::-webkit-color-swatch-wrapper { | 873 input[type="color"][list]::-webkit-color-swatch-wrapper { |
882 padding-left: 8px; | 874 padding-left: 8px; |
883 padding-right: 24px; | 875 padding-right: 24px; |
884 } | 876 } |
885 | 877 |
886 input[type="color"][list]::-webkit-color-swatch { | 878 input[type="color"][list]::-webkit-color-swatch { |
887 border-color: #000000; | 879 border-color: #000000; |
888 } | 880 } |
889 | 881 |
890 #endif // defined(ENABLE_DATALIST_ELEMENT) && ENABLE_DATALIST_ELEMENT | |
891 | |
892 #endif // defined(ENABLE_INPUT_TYPE_COLOR) && ENABLE_INPUT_TYPE_COLOR | 882 #endif // defined(ENABLE_INPUT_TYPE_COLOR) && ENABLE_INPUT_TYPE_COLOR |
893 | 883 |
894 #if defined(ENABLE_CALENDAR_PICKER) && ENABLE_CALENDAR_PICKER | 884 #if defined(ENABLE_CALENDAR_PICKER) && ENABLE_CALENDAR_PICKER |
895 input::-webkit-calendar-picker-indicator { | 885 input::-webkit-calendar-picker-indicator { |
896 display: inline-block; | 886 display: inline-block; |
897 width: 0.66em; | 887 width: 0.66em; |
898 height: 0.66em; | 888 height: 0.66em; |
899 padding: 0.17em 0.34em; | 889 padding: 0.17em 0.34em; |
900 -webkit-user-modify: read-only !important; | 890 -webkit-user-modify: read-only !important; |
901 } | 891 } |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1273 @page { | 1263 @page { |
1274 /* FIXME: Define the right default values for page properties. */ | 1264 /* FIXME: Define the right default values for page properties. */ |
1275 size: auto; | 1265 size: auto; |
1276 margin: auto; | 1266 margin: auto; |
1277 padding: 0px; | 1267 padding: 0px; |
1278 border-width: 0px; | 1268 border-width: 0px; |
1279 } | 1269 } |
1280 | 1270 |
1281 /* noscript is handled internally, as it depends on settings. */ | 1271 /* noscript is handled internally, as it depends on settings. */ |
1282 | 1272 |
OLD | NEW |