| OLD | NEW |
| 1 /* Copyright 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. */ |
| 4 */ | |
| 5 | 4 |
| 6 .tutorial-slide { | 5 .tutorial-slide { |
| 7 -webkit-transition: opacity 200ms ease-in-out; | 6 -webkit-transition: opacity 200ms ease-in-out; |
| 8 background-color: white; | 7 background-color: white; |
| 9 border-radius: 2px; | 8 border-radius: 2px; |
| 10 bottom: 0; | 9 bottom: 0; |
| 11 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25); | 10 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25); |
| 12 height: 408px; | 11 height: 408px; |
| 13 left: 0; | 12 left: 0; |
| 14 margin: auto; | 13 margin: auto; |
| 15 position: absolute; | 14 position: absolute; |
| 16 right: 0; | 15 right: 0; |
| 17 top: 0; | 16 top: 0; |
| 18 width: 320px; | 17 width: 320px; |
| 19 z-index: 100; | 18 z-index: 100; |
| 20 } | 19 } |
| 21 | 20 |
| 22 .tutorial-slide.single-pod { | 21 :host.single-pod #yourChrome, |
| 23 margin-left: 30px; | 22 :host.single-pod #complete { |
| 23 -webkit-margin-start: 30px; |
| 24 } | 24 } |
| 25 | 25 |
| 26 html[dir=rtl] .tutorial-slide.single-pod { | 26 #guests { |
| 27 margin-right: 30px; | |
| 28 } | |
| 29 | |
| 30 .hidden { | |
| 31 opacity: 0; | |
| 32 pointer-events: none; | |
| 33 } | |
| 34 | |
| 35 #slide-guests { | |
| 36 bottom: 20px; | 27 bottom: 20px; |
| 37 left: 20px; | 28 left: auto; |
| 38 margin: 0; | 29 margin: 0; |
| 30 right: 100px; |
| 39 top: auto; | 31 top: auto; |
| 40 } | 32 } |
| 41 | 33 |
| 42 html[dir=rtl] #slide-guests { | 34 :host-context([dir='rtl']) #guests { |
| 43 right: 20px; | 35 left: 100px; |
| 36 right: auto; |
| 44 } | 37 } |
| 45 | 38 |
| 46 #slide-friends, | 39 #friends, |
| 47 #slide-not-you { | 40 #notYou { |
| 48 bottom: 20px; | 41 bottom: 20px; |
| 49 left: 60px; | 42 left: auto; |
| 50 margin: 0; | 43 margin: 0; |
| 44 right: 20px; |
| 51 top: auto; | 45 top: auto; |
| 52 } | 46 } |
| 53 | 47 |
| 54 html[dir=rtl] #slide-friends, | 48 :host-context([dir='rtl']) #friends, |
| 55 html[dir=rtl] #slide-not-you { | 49 :host-context([dir='rtl']) #notYou { |
| 56 right: 60px; | 50 left: 20px; |
| 51 right: auto; |
| 57 } | 52 } |
| 58 | 53 |
| 59 #slide-not-you { | 54 #notYou { |
| 60 height: 100px; | 55 height: 100px; |
| 61 left: 100px; | |
| 62 margin: 0; | |
| 63 width: 240px; | 56 width: 240px; |
| 64 } | 57 } |
| 65 | 58 |
| 66 html[dir=rtl] #slide-not-you { | |
| 67 right: 100px; | |
| 68 } | |
| 69 | |
| 70 .slide-contents { | 59 .slide-contents { |
| 71 padding: 0 20px; | 60 padding: 0 20px; |
| 72 text-align: center; | 61 text-align: center; |
| 73 } | 62 } |
| 74 | 63 |
| 75 .slide-title { | 64 .slide-title { |
| 76 color: black; | 65 color: black; |
| 77 font-size: 20px; | 66 font-size: 20px; |
| 78 line-height: 20px; | 67 line-height: 20px; |
| 79 margin: 30px 0; | 68 margin: 30px 0; |
| 80 } | 69 } |
| 81 | 70 |
| 82 .slide-text { | 71 .slide-text { |
| 83 color: #666; | 72 color: var(--google-grey-600); |
| 84 font-size: 15px; | 73 font-size: 15px; |
| 85 line-height: 20px; | 74 line-height: 20px; |
| 86 } | 75 } |
| 87 | 76 |
| 88 .slide-buttons { | 77 .slide-buttons { |
| 89 bottom: 20px; | 78 bottom: 20px; |
| 90 position: absolute; | 79 position: absolute; |
| 91 text-align: center; | 80 text-align: center; |
| 92 width: 100%; | 81 width: 100%; |
| 93 } | 82 } |
| 94 | 83 |
| 95 .slide-buttons [is='action-link'] { | 84 .slide-buttons [is='action-link'] { |
| 96 width: 100%; | 85 width: 100%; |
| 97 } | 86 } |
| 98 | 87 |
| 99 .slide-buttons button { | 88 .slide-buttons button { |
| 100 bottom: 0; | 89 bottom: 0; |
| 101 height: 35px; | 90 height: 35px; |
| 102 padding: 0 15px; | 91 padding: 0 15px; |
| 103 width: 138px; | 92 width: 138px; |
| 104 } | 93 } |
| 105 | 94 |
| 106 .slide-buttons button.left { | |
| 107 left: 16px; | |
| 108 position: absolute; | |
| 109 } | |
| 110 | |
| 111 html[dir=rtl] .slide-buttons button.left { | |
| 112 right: 16px; | |
| 113 } | |
| 114 | |
| 115 .slide-buttons button.right { | |
| 116 bottom: 0; | |
| 117 position: absolute; | |
| 118 } | |
| 119 | |
| 120 .arrow-down { | 95 .arrow-down { |
| 121 border-left: 15px solid transparent; | 96 border-left: 15px solid transparent; |
| 122 border-right: 15px solid transparent; | 97 border-right: 15px solid transparent; |
| 123 border-top: 15px solid white; | 98 border-top: 15px solid white; |
| 124 bottom: -15px; | 99 bottom: -15px; |
| 125 height: 0; | 100 height: 0; |
| 126 left: 120px; | |
| 127 position: absolute; | 101 position: absolute; |
| 102 right: 40px; |
| 128 width: 0; | 103 width: 0; |
| 129 } | 104 } |
| 130 | 105 |
| 131 #slide-not-you .arrow-down { | 106 :host-context([dir='rtl']) .arrow-down { |
| 132 left: 100px; | 107 left: 40px; |
| 108 right: auto; |
| 133 } | 109 } |
| 134 | 110 |
| 135 html[dir=rtl] #slide-not-you .arrow-down { | 111 #guests .arrow-down { |
| 136 right: 100px; | 112 right: 110px; |
| 137 } | 113 } |
| 138 | 114 |
| 139 #slide-guests .arrow-down { | 115 :host-context([dir='rtl']) #guests .arrow-down { |
| 140 left: 60px; | 116 left: 110px; |
| 141 } | 117 right: auto; |
| 142 | |
| 143 html[dir=rtl] #slide-guests .arrow-down { | |
| 144 right: 60px; | |
| 145 } | 118 } |
| 146 | 119 |
| 147 .slide-image { | 120 .slide-image { |
| 148 height: 182px; | 121 height: 182px; |
| 149 } | 122 } |
| 150 | 123 |
| 151 #slide-your-chrome .slide-image { | 124 #yourChrome .slide-image { |
| 152 background-color: rgb(241, 202, 58); | 125 background-color: rgb(241, 202, 58); |
| 153 background-image: | 126 background-image: |
| 154 url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_YOUR_CHROME); | 127 url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_YOUR_CHROME); |
| 155 } | 128 } |
| 156 | 129 |
| 157 #slide-guests .slide-image { | 130 #guests .slide-image { |
| 158 background-color: rgb(90, 196, 144); | 131 background-color: rgb(90, 196, 144); |
| 159 background-image: url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_GUESTS); | 132 background-image: url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_GUESTS); |
| 160 } | 133 } |
| 161 | 134 |
| 162 #slide-friends .slide-image { | 135 #friends .slide-image { |
| 163 background-color: rgb(179, 229, 252); | 136 background-color: var(--paper-light-blue-100); |
| 164 background-image: | 137 background-image: |
| 165 url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_FRIENDS); | 138 url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_FRIENDS); |
| 166 } | 139 } |
| 167 | 140 |
| 168 #slide-complete .slide-image { | 141 #complete .slide-image { |
| 169 background-color: white; | 142 background-color: white; |
| 170 background-image: | 143 background-image: |
| 171 url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_COMPLETE); | 144 url(chrome://theme/IDR_ICON_USER_MANAGER_TUTORIAL_COMPLETE); |
| 172 } | 145 } |
| 173 | 146 |
| 174 #slide-not-you #dismiss-bubble-button { | 147 #notYou #dismiss { |
| 175 background-image: url(chrome://theme/IDR_CLOSE_1); | |
| 176 cursor: pointer; | |
| 177 height: 16px; | |
| 178 position: absolute; | 148 position: absolute; |
| 179 right: 5px; | 149 right: 5px; |
| 180 top: 5px; | 150 top: 5px; |
| 181 width: 16px; | |
| 182 } | 151 } |
| 183 | 152 |
| 184 html[dir=rtl] #slide-not-you #dismiss-bubble-button { | 153 #notYou #slide-add-user { |
| 154 margin-top: 10px; |
| 155 } |
| 156 |
| 157 :host-context([dir='rtl']) #notYou #dismiss { |
| 185 left: 5px; | 158 left: 5px; |
| 159 right: auto; |
| 186 } | 160 } |
| OLD | NEW |