| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/cr_icons.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/cr_icons.html"> |
| 2 <link rel="import" href="chrome://resources/html/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 3 <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-icon/iron-icon.htm
l"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/av-icons.htm
l"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/av-icons.htm
l"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/device-icons
.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/device-icons
.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/hardware-ico
ns.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/hardware-ico
ns.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/image-icons.
html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/image-icons.
html"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h
tml"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h
tml"> |
| 9 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/social-icons
.html"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/social-icons
.html"> |
| 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-menu.h
tml"> | 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-menu.h
tml"> |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 .iron-selected:not(.menu-trigger) > iron-icon { | 26 .iron-selected:not(.menu-trigger) > iron-icon { |
| 27 fill: var(--google-blue-500); | 27 fill: var(--google-blue-500); |
| 28 } | 28 } |
| 29 | 29 |
| 30 .menu-trigger span { | 30 .menu-trigger span { |
| 31 -webkit-margin-end: 16px; | 31 -webkit-margin-end: 16px; |
| 32 flex: 1; | 32 flex: 1; |
| 33 } | 33 } |
| 34 | 34 |
| 35 paper-menu { | 35 paper-menu { |
| 36 background: none; /* Overrides <paper-menu> default. */ | |
| 37 color: var(--settings-nav-grey); | |
| 38 font-size: 13px; | |
| 39 --paper-menu-selected-item: { | 36 --paper-menu-selected-item: { |
| 40 font-weight: 500; | 37 font-weight: 500; |
| 41 }; | 38 }; |
| 42 --paper-menu-focused-item-after: { | 39 --paper-menu-focused-item-after: { |
| 43 background: none; | 40 background: none; |
| 44 }; | 41 }; |
| 42 background: none; /* Overrides <paper-menu> default. */ |
| 43 color: var(--settings-nav-grey); |
| 44 font-size: 13px; |
| 45 padding: 0; |
| 46 } |
| 47 |
| 48 paper-submenu > div { |
| 49 margin-top: 8px; |
| 45 } | 50 } |
| 46 | 51 |
| 47 paper-submenu { | 52 paper-submenu { |
| 48 --paper-menu-selected-item: { | 53 --paper-menu-selected-item: { |
| 49 font-weight: 500; | 54 font-weight: 500; |
| 50 }; | 55 }; |
| 51 } | 56 } |
| 52 | 57 |
| 53 paper-submenu paper-menu { | 58 paper-submenu paper-menu { |
| 54 --paper-menu-selected-item: { | 59 --paper-menu-selected-item: { |
| 55 color: var(--google-blue-500); | 60 color: var(--google-blue-500); |
| 56 font-weight: 500; | 61 font-weight: 500; |
| 57 }; | 62 }; |
| 58 padding: 0; | |
| 59 } | 63 } |
| 60 | 64 |
| 61 paper-submenu div { | 65 paper-submenu div { |
| 62 @apply(--layout-center); | 66 @apply(--layout-center); |
| 63 -webkit-margin-start: 24px; | 67 -webkit-margin-start: 24px; |
| 64 display: flex; | 68 display: flex; |
| 65 font-size: 13px; | 69 font-size: 13px; |
| 66 font-weight: 500; | 70 font-weight: 500; |
| 67 min-height: 40px; | 71 min-height: 40px; |
| 68 } | 72 } |
| 73 |
| 74 .separator { |
| 75 /* Per Alan@, this line is different from the other separator lines. */ |
| 76 border-bottom: 1px solid rgba(0, 0, 0, 0.08); |
| 77 margin-top: 8px; |
| 78 } |
| 69 </style> | 79 </style> |
| 70 <paper-menu name="root-menu"> | 80 <paper-menu name="root-menu"> |
| 71 <paper-submenu data-page="basic" id="basicPage" opened="{{basicOpened_}}"> | 81 <paper-submenu data-page="basic" id="basicPage" opened="{{basicOpened_}}"> |
| 72 <div class="menu-trigger" data-section="" on-tap="openPage_"> | 82 <div class="menu-trigger" data-section="" on-tap="openPage_"> |
| 73 <span i18n-content="basicPageTitle"></span> | 83 <span i18n-content="basicPageTitle"></span> |
| 74 <iron-icon icon="[[arrowState_(basicOpened_)]]" item-icon></iron-icon> | 84 <iron-icon icon="[[arrowState_(basicOpened_)]]" item-icon></iron-icon> |
| 75 </div> | 85 </div> |
| 76 <paper-menu attr-for-selected="data-section" class="menu-content" | 86 <paper-menu attr-for-selected="data-section" class="menu-content" |
| 77 data-page="basic" id="basicMenu"> | 87 data-page="basic" id="basicMenu"> |
| 78 <if expr="chromeos"> | 88 <if expr="chromeos"> |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 <iron-icon icon="icons:build" item-icon></iron-icon> | 167 <iron-icon icon="icons:build" item-icon></iron-icon> |
| 158 <span i18n-content="systemPageTitle"></span> | 168 <span i18n-content="systemPageTitle"></span> |
| 159 </div> | 169 </div> |
| 160 </if> | 170 </if> |
| 161 <div data-section="reset" on-tap="openPage_"> | 171 <div data-section="reset" on-tap="openPage_"> |
| 162 <iron-icon icon="icons:restore" item-icon></iron-icon> | 172 <iron-icon icon="icons:restore" item-icon></iron-icon> |
| 163 <span i18n-content="resetPageTitle"></span> | 173 <span i18n-content="resetPageTitle"></span> |
| 164 </div> | 174 </div> |
| 165 </paper-menu> | 175 </paper-menu> |
| 166 </paper-submenu> | 176 </paper-submenu> |
| 177 <div class="separator"></div> |
| 167 <paper-submenu data-page="about"> | 178 <paper-submenu data-page="about"> |
| 168 <div class="menu-trigger" on-tap="openPage_" data-section=""> | 179 <div class="menu-trigger" on-tap="openPage_" data-section=""> |
| 169 <span i18n-content="aboutPageTitle"></span> | 180 <span i18n-content="aboutPageTitle"></span> |
| 170 </div> | 181 </div> |
| 171 </paper-submenu> | 182 </paper-submenu> |
| 172 </paper-menu> | 183 </paper-menu> |
| 173 </template> | 184 </template> |
| 174 <script src="settings_menu.js"></script> | 185 <script src="settings_menu.js"></script> |
| 175 </dom-module> | 186 </dom-module> |
| OLD | NEW |