Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <dom-module id="shared-style"> | 1 <dom-module id="shared-style"> |
| 2 <template> | 2 <template> |
| 3 <style> | 3 <style> |
| 4 :root { | 4 :root { |
| 5 --card-border-color: rgba(0, 0, 0, 0.14); | 5 --card-border-color: rgba(0, 0, 0, 0.14); |
| 6 --card-first-last-item-padding: 8px; | 6 --card-first-last-item-padding: 8px; |
| 7 --card-max-width: 960px; | 7 --card-max-width: 960px; |
| 8 --card-min-width: 550px; | 8 --card-min-width: 550px; |
| 9 --card-padding-between: 20px; | 9 --card-padding-between: 20px; |
| 10 --card-padding-side: 24px; | 10 --card-padding-side: 24px; |
| 11 --card-sizing: { | 11 --card-sizing: { |
| 12 margin: 0 auto; | 12 margin: 0 auto; |
| 13 max-width: var(--card-max-width); | 13 max-width: var(--card-max-width); |
| 14 min-width: var(--card-min-width); | 14 min-width: var(--card-min-width); |
| 15 padding: 0 var(--card-padding-side); | 15 padding: 0 var(--card-padding-side); |
| 16 width: calc(100% - 2 * var(--card-padding-side)); | 16 width: calc(100% - 2 * var(--card-padding-side)); |
| 17 }; | 17 }; |
| 18 --card-container-filter: { | |
| 19 filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .05)) | |
|
tsergeant
2016/08/05 00:16:48
Maybe one day we'll be able to get the same shadow
calamity
2016/08/05 04:01:58
They don't even render the same T_T
Changed the b
| |
| 20 drop-shadow(0 1px 4px rgba(0, 0, 0, .08)) | |
| 21 drop-shadow(0 1px 1px rgba(0, 0, 0, .2)); | |
| 22 }; | |
| 18 --first-card-padding-top: 24px; | 23 --first-card-padding-top: 24px; |
| 19 --item-height: 44px; | 24 --item-height: 44px; |
| 20 --primary-text-color: #333; | 25 --primary-text-color: #333; |
| 21 --secondary-text-color: #757575; | 26 --secondary-text-color: #757575; |
| 22 --side-bar-width: 256px; | 27 --side-bar-width: 256px; |
| 23 --toolbar-grouped-height: 101px; | 28 --toolbar-grouped-height: 101px; |
| 24 --toolbar-height: 56px; | 29 --toolbar-height: 56px; |
| 25 } | 30 } |
| 26 | 31 |
| 27 [hidden] { | 32 [hidden] { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 62 .website-title { | 67 .website-title { |
| 63 color: var(--primary-text-color); | 68 color: var(--primary-text-color); |
| 64 overflow: hidden; | 69 overflow: hidden; |
| 65 text-decoration: none; | 70 text-decoration: none; |
| 66 text-overflow: ellipsis; | 71 text-overflow: ellipsis; |
| 67 white-space: nowrap; | 72 white-space: nowrap; |
| 68 } | 73 } |
| 69 </style> | 74 </style> |
| 70 </template> | 75 </template> |
| 71 </dom-module> | 76 </dom-module> |
| OLD | NEW |