Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 136 } | 136 } |
| 137 | 137 |
| 138 .diff-entry-delete .CodeMirror-gutter-wrapper { | 138 .diff-entry-delete .CodeMirror-gutter-wrapper { |
| 139 border-bottom: 2px solid #D32F2F; | 139 border-bottom: 2px solid #D32F2F; |
| 140 } | 140 } |
| 141 | 141 |
| 142 .CodeMirror-gutter-diff { | 142 .CodeMirror-gutter-diff { |
| 143 width: 4px; | 143 width: 4px; |
| 144 } | 144 } |
| 145 | 145 |
| 146 /* Don't show text associated with color swatch */ | |
| 147 [is="color-swatch"] > span { | |
|
lushnikov
2016/07/12 03:48:02
a better way would be adding an API to the ColorSw
flandy
2016/07/12 21:17:15
Done.
| |
| 148 display: none; | |
| 149 } | |
| 150 | |
| 146 .highlight-line-modification { | 151 .highlight-line-modification { |
| 147 animation: source-line-modification-background-fadeout 0.4s 0s; | 152 animation: source-line-modification-background-fadeout 0.4s 0s; |
| 148 animation-timing-function: cubic-bezier(0, 0, 0.2, 1); | 153 animation-timing-function: cubic-bezier(0, 0, 0.2, 1); |
| 149 } | 154 } |
| 150 | 155 |
| 151 .highlight-line-modification span { | 156 .highlight-line-modification span { |
| 152 animation: source-line-modification-foreground-fadeout 0.4s 0s; | 157 animation: source-line-modification-foreground-fadeout 0.4s 0s; |
| 153 animation-timing-function: cubic-bezier(0, 0, 0.2, 1); | 158 animation-timing-function: cubic-bezier(0, 0, 0.2, 1); |
| 154 } | 159 } |
| 155 | 160 |
| 156 @keyframes source-line-modification-background-fadeout { | 161 @keyframes source-line-modification-background-fadeout { |
| 157 from { background-color: rgba(158, 54, 153, 0.5); } | 162 from { background-color: rgba(158, 54, 153, 0.5); } |
| 158 50% { background-color: rgba(158, 54, 153, 0.5); } | 163 50% { background-color: rgba(158, 54, 153, 0.5); } |
| 159 90% { background-color: rgba(158, 54, 153, 0); } | 164 90% { background-color: rgba(158, 54, 153, 0); } |
| 160 to { background-color: transparent; } | 165 to { background-color: transparent; } |
| 161 } | 166 } |
| 162 | 167 |
| 163 @keyframes source-line-modification-foreground-fadeout { | 168 @keyframes source-line-modification-foreground-fadeout { |
| 164 from { color: white; } | 169 from { color: white; } |
| 165 50% { color: white; } | 170 50% { color: white; } |
| 166 90% { color: intial; } | 171 90% { color: intial; } |
| 167 to { color: intial; } | 172 to { color: intial; } |
| 168 } | 173 } |
| OLD | NEW |