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

Unified Diff: polymer_0.5.0/bower_components/paper-tabs/paper-tab.css

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, 12 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
Index: polymer_0.5.0/bower_components/paper-tabs/paper-tab.css
diff --git a/bower_components/paper-tabs/paper-tab.css b/polymer_0.5.0/bower_components/paper-tabs/paper-tab.css
similarity index 58%
rename from bower_components/paper-tabs/paper-tab.css
rename to polymer_0.5.0/bower_components/paper-tabs/paper-tab.css
index 74ad3d1201bdeb67a80ced696dc3e3014d218acb..b2eb63e0b60f57383f16dd0398126e3407608779 100644
--- a/bower_components/paper-tabs/paper-tab.css
+++ b/polymer_0.5.0/bower_components/paper-tabs/paper-tab.css
@@ -8,23 +8,28 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
*/
:host {
- display: block;
position: relative;
overflow: hidden;
-}
-
-#tabContainer {
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
+ cursor: default;
}
.tab-content {
transition: opacity .1s cubic-bezier(0.4, 0.0, 1, 1), color .1s cubic-bezier(0.4, 0.0, 1, 1);
- cursor: default;
- pointer-events: none;
+ height: 100%;
+ margin: 0 12px;
+}
+
+:host-context(#tabsContainer.scrollable) .tab-content {
+ margin: 0 24px;
+}
+
+:host-context(paper-tabs[link]) .tab-content {
+ margin: 0 !important;
+}
+
+polyfill-next-selector { content: '.core-narrow #tabsContainer.scrollable :host .tab-content'; }
+:host-context(.core-narrow):host-context(#tabsContainer.scrollable) .tab-content {
+ margin: 0 12px;
}
:host(:not(.core-selected)) .tab-content {
@@ -38,12 +43,17 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
bottom: 0;
left: 0;
color: #ffff8d;
-}
-
-:host[noink] #ink {
pointer-events: none;
}
-:host-context(paper-tabs[noink]) #ink {
- pointer-events: none;
+polyfill-next-selector { content: '.tab-content > a'; }
+::content > a {
+ height: 100%;
+ padding: 0 12px;
+ /* flex */
+ -ms-flex: 1 1 0.000000001px;
+ -webkit-flex: 1;
+ flex: 1;
+ -webkit-flex-basis: 0.000000001px;
+ flex-basis: 0.000000001px;
}
« no previous file with comments | « polymer_0.5.0/bower_components/paper-tabs/metadata.html ('k') | polymer_0.5.0/bower_components/paper-tabs/paper-tab.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698