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] { | |
876 -webkit-appearance: menulist; | |
877 width: 88px; | |
878 height: 23px; | |
879 } | |
880 | |
881 input[type="color"][list]::-webkit-color-swatch-wrapper { | |
882 padding-left: 8px; | |
883 padding-right: 24px; | |
884 } | |
885 | |
886 input[type="color"][list]::-webkit-color-swatch { | |
887 border-color: #000000; | |
888 } | |
889 | |
890 #endif // defined(ENABLE_DATALIST_ELEMENT) && ENABLE_DATALIST_ELEMENT | |
891 | |
892 #endif // defined(ENABLE_INPUT_TYPE_COLOR) && ENABLE_INPUT_TYPE_COLOR | 867 #endif // defined(ENABLE_INPUT_TYPE_COLOR) && ENABLE_INPUT_TYPE_COLOR |
893 | 868 |
894 #if defined(ENABLE_CALENDAR_PICKER) && ENABLE_CALENDAR_PICKER | 869 #if defined(ENABLE_CALENDAR_PICKER) && ENABLE_CALENDAR_PICKER |
895 input::-webkit-calendar-picker-indicator { | 870 input::-webkit-calendar-picker-indicator { |
896 display: inline-block; | 871 display: inline-block; |
897 width: 0.66em; | 872 width: 0.66em; |
898 height: 0.66em; | 873 height: 0.66em; |
899 padding: 0.17em 0.34em; | 874 padding: 0.17em 0.34em; |
900 -webkit-user-modify: read-only !important; | 875 -webkit-user-modify: read-only !important; |
901 } | 876 } |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1273 @page { | 1248 @page { |
1274 /* FIXME: Define the right default values for page properties. */ | 1249 /* FIXME: Define the right default values for page properties. */ |
1275 size: auto; | 1250 size: auto; |
1276 margin: auto; | 1251 margin: auto; |
1277 padding: 0px; | 1252 padding: 0px; |
1278 border-width: 0px; | 1253 border-width: 0px; |
1279 } | 1254 } |
1280 | 1255 |
1281 /* noscript is handled internally, as it depends on settings. */ | 1256 /* noscript is handled internally, as it depends on settings. */ |
1282 | 1257 |
OLD | NEW |