OLD | NEW |
1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/device-icons
.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/device-icons
.html"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/hardware-ico
ns.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/hardware-ico
ns.html"> |
5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h
tml"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h
tml"> |
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/social-icons
.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/social-icons
.html"> |
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-menu.h
tml"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-menu.h
tml"> |
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-submen
u.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-submen
u.html"> |
| 9 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> |
9 | 10 |
10 <if expr="chromeos"> | 11 <if expr="chromeos"> |
11 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/device-icons
.html"> | 12 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/device-icons
.html"> |
12 </if> | 13 </if> |
13 | 14 |
14 <dom-module id="settings-menu"> | 15 <dom-module id="settings-menu"> |
15 <template> | 16 <template> |
16 <style> | 17 <style include="settings-shared"> |
17 iron-icon { | 18 iron-icon { |
| 19 --iron-icon-fill-color: var(--settings-side-nav-color); |
| 20 --iron-icon-stroke-color: var(--settings-side-nav-color); |
18 -webkit-margin-end: 16px; | 21 -webkit-margin-end: 16px; |
19 height: 20px; | |
20 width: 20px; | |
21 } | 22 } |
22 | 23 |
23 .menu-trigger span { | 24 .menu-trigger span { |
24 -webkit-margin-end: 16px; | 25 -webkit-margin-end: 16px; |
25 flex: 1; | 26 flex: 1; |
26 } | 27 } |
27 | 28 |
28 paper-menu { | 29 paper-menu { |
29 background-color: rgb(236, 239, 241); | 30 background-color: var(--settings-background-color); |
30 color: #5a5a5a; | 31 color: var(--settings-side-nav-color); |
31 font-size: 13px; | 32 font-size: 13px; |
32 --paper-menu-selected-item: { | 33 --paper-menu-selected-item: { |
33 font-weight: 500; | 34 font-weight: 500; |
34 }; | 35 }; |
35 --paper-menu-focused-item-after: { | 36 --paper-menu-focused-item-after: { |
36 background: none; | 37 background: none; |
37 }; | 38 }; |
38 } | 39 } |
39 | 40 |
40 paper-submenu { | 41 paper-submenu { |
41 --paper-menu-selected-item: { | 42 --paper-menu-selected-item: { |
42 font-weight: 500; | 43 font-weight: 500; |
43 }; | 44 }; |
44 } | 45 } |
45 | 46 |
46 paper-submenu paper-menu { | 47 paper-submenu paper-menu { |
47 --paper-menu-selected-item: { | 48 --paper-menu-selected-item: { |
48 color: #4285f4; | 49 color: var(--google-blue-500); |
49 font-weight: 500; | 50 font-weight: 500; |
50 }; | 51 }; |
51 padding: 0; | 52 padding: 0; |
52 } | 53 } |
53 | 54 |
54 paper-submenu div { | 55 paper-submenu div { |
55 @apply(--layout-center); | 56 @apply(--layout-center); |
56 -webkit-margin-start: 24px; | 57 -webkit-margin-start: 24px; |
57 display: flex; | 58 display: flex; |
58 font-size: 13px; | 59 font-size: 13px; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 </paper-submenu> | 159 </paper-submenu> |
159 <paper-submenu on-tap="openPage_"> | 160 <paper-submenu on-tap="openPage_"> |
160 <div class="menu-trigger"> | 161 <div class="menu-trigger"> |
161 <span i18n-content="aboutProgram"></span> | 162 <span i18n-content="aboutProgram"></span> |
162 </div> | 163 </div> |
163 </paper-submenu> | 164 </paper-submenu> |
164 </paper-menu> | 165 </paper-menu> |
165 </template> | 166 </template> |
166 <script src="settings_menu.js"></script> | 167 <script src="settings_menu.js"></script> |
167 </dom-module> | 168 </dom-module> |
OLD | NEW |