Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
update palette items style
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiefu committed Dec 20, 2013
1 parent 91e61d4 commit 7761762
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions x-palette.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,21 @@
border-radius: 5px;
-webkit-transition: border 0.5s;
}
.group-item {
font-weight: 500;
}
.group-item.palette-selected {
color: #4285f4;
}
.simple-item {
height: 40px;
line-height: 40px;
opacity: 0.7;
font-size: 14px;
font-weight: 500;
cursor: pointer;
color: #000;
white-space: nowrap;
}
.stage{
background: url('stage.png');
Expand All @@ -81,9 +90,9 @@
</style>
<x-meta id="meta" categories="{{categories}}"></x-meta>
<div id="list" on-trackstart="{{trackStart}}" on-track="{{track}}" on-trackend="{{trackEnd}}">
<polymer-ui-menu>
<polymer-ui-menu selectedClass="palette-selected">
<template repeat="{{categories}}">
<polymer-ui-submenu-item label="{{name}}">
<polymer-ui-submenu-item class="group-item" label="{{name}}">
<template repeat="{{list}}">
<!-- <div class="item {{bg}}" tag="{{id}}" loaded?="{{importsLoaded}}" ishidden?="{{isHidden}}" theme="polymer-ui-dark-theme">
<div style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.2em;">
Expand Down

0 comments on commit 7761762

Please sign in to comment.