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

Unified Diff: bower_components/core-style/my-theme.html

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bower_components/core-style/index.html ('k') | bower_components/core-tests/.bower.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bower_components/core-style/my-theme.html
diff --git a/bower_components/core-style/my-theme.html b/bower_components/core-style/my-theme.html
deleted file mode 100644
index 1542d01325029c064f79b089713763bd78153c5d..0000000000000000000000000000000000000000
--- a/bower_components/core-style/my-theme.html
+++ /dev/null
@@ -1,73 +0,0 @@
-<!--
- @license
- Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
- Code distributed by Google as part of the polymer project is also
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
--->
-<link rel="import" href="core-style.html">
-
-<script>
-
- CoreStyle.g.theme = {
- colorOne: '#abcdef',
- colorTwo: '#123456',
- colorThree: '#224433'
- }
-</script>
-
-<core-style id="main">
- body {
- font-family: sans-serif;
- }
-
- section {
- overflow: auto;
- }
-
- button {
- border: 1px solid {{g.theme.colorOne | cycle(-50)}};
- border-radius: 4px;
- background-color: {{g.theme.colorOne}};
- color: {{g.theme.colorTwo}};
- }
-
- button:active {
- border: 1px solid {{g.theme.colorTwo | cycle(50)}};
- border-radius: 4px;
- background-color: {{g.theme.colorTwo}};
- color: {{g.theme.colorOne}};
- }
-
- <template repeat="{{item in g.items}}">
- my-panel:nth-of-type({{item+1}}) {
- background-color: {{ g.theme.colorThree | cycle(item * -1) }};
- }
- </template>
-</core-style>
-
-<core-style id="my-toolbar">
- :host {
- border-bottom: 8px solid {{g.theme.colorOne}};
- color: {{g.theme.colorOne | cycle(100)}};
- background-color: {{g.theme.colorTwo}};
- }
-</core-style>
-
-<core-style id="my-panel">
- :host {
- box-sizing: border-box;
- background-color: {{g.theme.colorOne}};
- border: 8px solid {{g.theme.colorOne | cycle(50)}};
- color: {{g.theme.colorOne | cycle(-100)}};
- }
-
- :host(:nth-of-type(2n + 1)) {
- background-color: {{g.theme.colorTwo}};
- border: 8px solid {{g.theme.colorTwo | cycle(-50)}};
- color: {{g.theme.colorTwo | cycle(100)}}
- }
-
-</core-style>
« no previous file with comments | « bower_components/core-style/index.html ('k') | bower_components/core-tests/.bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698