Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: Source/core/css/view-source.css

Issue 306953006: Remove webkit- prefix from classes used by View Source (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 23 matching lines...) Expand all
34 word-break: break-word; 34 word-break: break-word;
35 font-size: initial; 35 font-size: initial;
36 font-family: monospace; 36 font-family: monospace;
37 } 37 }
38 38
39 td { 39 td {
40 padding: 0 !important; 40 padding: 0 !important;
41 vertical-align: baseline 41 vertical-align: baseline
42 } 42 }
43 43
44 .webkit-line-gutter-backdrop, .webkit-line-number { 44 .line-gutter-backdrop, .line-number {
45 /* Keep this in sync with inspector.css (.webkit-line-gutter-backdrop) */ 45 /* Keep this in sync with inspector.css (.webkit-line-gutter-backdrop) */
46 box-sizing: border-box; 46 box-sizing: border-box;
47 padding: 0 4px !important; 47 padding: 0 4px !important;
48 width: 31px; 48 width: 31px;
49 background-color: rgb(240, 240, 240); 49 background-color: rgb(240, 240, 240);
50 border-right: 1px solid rgb(187, 187, 187) !important; 50 border-right: 1px solid rgb(187, 187, 187) !important;
51 -webkit-user-select: none; 51 -webkit-user-select: none;
52 } 52 }
53 53
54 .webkit-line-gutter-backdrop { 54 .line-gutter-backdrop {
55 /* Keep this in sync with inspector.css (.webkit-line-gutter-backdrop) */ 55 /* Keep this in sync with inspector.css (.webkit-line-gutter-backdrop) */
56 position: absolute; 56 position: absolute;
57 z-index: -1; 57 z-index: -1;
58 left: 0; 58 left: 0;
59 top: 0; 59 top: 0;
60 height: 100% 60 height: 100%
61 } 61 }
62 62
63 .webkit-line-number { 63 .line-number {
64 text-align: right; 64 text-align: right;
65 color: rgb(128, 128, 128); 65 color: rgb(128, 128, 128);
66 word-break: normal; 66 word-break: normal;
67 white-space: nowrap; 67 white-space: nowrap;
68 font-size: 9px; 68 font-size: 9px;
69 font-family: Helvetica; 69 font-family: Helvetica;
70 -webkit-user-select: none; 70 -webkit-user-select: none;
71 } 71 }
72 72
73 .webkit-line-number::before { 73 .line-number::before {
74 content: attr(value); 74 content: attr(value);
75 } 75 }
76 76
77 tbody:last-child .webkit-line-content:empty:before { 77 tbody:last-child .line-content:empty:before {
78 content: " "; 78 content: " ";
79 } 79 }
80 80
81 .webkit-line-content { 81 .line-content {
82 padding: 0 5px !important; 82 padding: 0 5px !important;
83 } 83 }
84 84
85 .webkit-highlight { 85 .highlight {
86 background-color: rgb(100%, 42%, 42%); 86 background-color: rgb(100%, 42%, 42%);
87 border: 2px solid rgb(100%, 31%, 31%); 87 border: 2px solid rgb(100%, 31%, 31%);
88 } 88 }
89 89
90 .webkit-html-tag { 90 .html-tag {
91 /* Keep this in sync with inspector.css (.webkit-html-tag) */ 91 /* Keep this in sync with inspector.css (.webkit-html-tag) */
92 color: rgb(136, 18, 128); 92 color: rgb(136, 18, 128);
93 } 93 }
94 94
95 .webkit-html-attribute-name { 95 .html-attribute-name {
96 /* Keep this in sync with inspector.css (.webkit-html-attribute-name) */ 96 /* Keep this in sync with inspector.css (.webkit-html-attribute-name) */
97 color: rgb(153, 69, 0); 97 color: rgb(153, 69, 0);
98 } 98 }
99 99
100 .webkit-html-attribute-value { 100 .html-attribute-value {
101 /* Keep this in sync with inspector.css (.webkit-html-attribute-value) */ 101 /* Keep this in sync with inspector.css (.webkit-html-attribute-value) */
102 color: rgb(26, 26, 166); 102 color: rgb(26, 26, 166);
103 } 103 }
104 104
105 .webkit-html-external-link, .webkit-html-resource-link { 105 .html-external-link, .html-resource-link {
106 /* Keep this in sync with inspectorSyntaxHighlight.css (.webkit-html-externa l-link, .webkit-html-resource-link) */ 106 /* Keep this in sync with inspectorSyntaxHighlight.css (.webkit-html-externa l-link, .webkit-html-resource-link) */
107 color: #00e; 107 color: #00e;
108 } 108 }
109 109
110 .webkit-html-external-link { 110 .html-external-link {
111 /* Keep this in sync with inspectorSyntaxHighlight.css (.webkit-html-externa l-link) */ 111 /* Keep this in sync with inspectorSyntaxHighlight.css (.webkit-html-externa l-link) */
112 text-decoration: none; 112 text-decoration: none;
113 } 113 }
114 114
115 .webkit-html-external-link:hover { 115 .html-external-link:hover {
116 /* Keep this in sync with inspectorSyntaxHighlight.css (.webkit-html-externa l-link:hover) */ 116 /* Keep this in sync with inspectorSyntaxHighlight.css (.webkit-html-externa l-link:hover) */
117 text-decoration: underline; 117 text-decoration: underline;
118 } 118 }
119 119
120 .webkit-html-comment { 120 .html-comment {
121 /* Keep this in sync with inspectorSyntaxHighlight.css (.webkit-html-comment ) */ 121 /* Keep this in sync with inspectorSyntaxHighlight.css (.webkit-html-comment ) */
122 color: rgb(35, 110, 37); 122 color: rgb(35, 110, 37);
123 } 123 }
124 124
125 .webkit-html-doctype { 125 .html-doctype {
126 /* Keep this in sync with inspectorSyntaxHighlight.css (.webkit-html-doctype ) */ 126 /* Keep this in sync with inspectorSyntaxHighlight.css (.webkit-html-doctype ) */
127 color: rgb(192, 192, 192); 127 color: rgb(192, 192, 192);
128 } 128 }
129 129
130 .webkit-html-end-of-file { 130 .html-end-of-file {
131 /* Keep this in sync with inspectorSyntaxHighlight.css (.webkit-html-end-of- file) */ 131 /* Keep this in sync with inspectorSyntaxHighlight.css (.webkit-html-end-of- file) */
132 color: rgb(255, 0, 0); 132 color: rgb(255, 0, 0);
133 font-weight: bold; 133 font-weight: bold;
134 } 134 }
135 135
136 .webkit-html-message-bubble { 136 .html-message-bubble {
137 box-shadow: black 0px 2px 5px; 137 box-shadow: black 0px 2px 5px;
138 border-radius: 9px; 138 border-radius: 9px;
139 -webkit-border-fit: lines; 139 -webkit-border-fit: lines;
140 min-height: 13px; 140 min-height: 13px;
141 font-size: 9px; 141 font-size: 9px;
142 font-family: Lucida Grande, sans-serif; 142 font-family: Lucida Grande, sans-serif;
143 font-weight: bold; 143 font-weight: bold;
144 margin: 6px 25px; 144 margin: 6px 25px;
145 padding: 0 7px 1px; 145 padding: 0 7px 1px;
146 } 146 }
147 147
148 .webkit-html-warning-message { 148 .html-warning-message {
149 background-color: rgb(100%, 62%, 42%); 149 background-color: rgb(100%, 62%, 42%);
150 border: 2px solid rgb(100%, 52%, 21%); 150 border: 2px solid rgb(100%, 52%, 21%);
151 } 151 }
152 152
153 .webkit-html-error-message { 153 .html-error-message {
154 background-color: rgb(100%, 42%, 42%); 154 background-color: rgb(100%, 42%, 42%);
155 border: 2px solid rgb(100%, 31%, 31%); 155 border: 2px solid rgb(100%, 31%, 31%);
156 } 156 }
157 157
158 .webkit-html-message-line { 158 .html-message-line {
159 padding-left: 23px; 159 padding-left: 23px;
160 text-indent: -20px; 160 text-indent: -20px;
161 } 161 }
162 162
163 .webkit-html-message-icon { 163 .html-message-icon {
164 position: relative; 164 position: relative;
165 top: 2px; 165 top: 2px;
166 margin: 0 4px; 166 margin: 0 4px;
167 } 167 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698