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

Side by Side Diff: chrome/browser/resources/md_user_manager/create_profile.css

Issue 1826903002: updated UI, default profile name, check for existing supervised user before create (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated browser tests Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 /* Copyright 2016 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 4
5 .container { 5 .container {
6 color: var(--paper-grey-800); 6 color: var(--paper-grey-800);
7 margin: 64px auto; 7 margin: 0 auto;
8 width: 556px; 8 width: 624px;
9 }
10
11 #message-container {
12 background-color: var(--google-red-700);
13 color: white;
14 left: 0;
15 overflow: hidden;
16 padding: 10px 16px;
17 position: absolute;
18 right: 0;
19 top: 0;
20 }
21
22 #message-container iron-icon {
23 height: 20px;
24 width: 20px;
25 }
26
27 #message-container #message {
28 -webkit-margin-start: 16px;
29 }
30
31 #message-container #supervised-user-import-existing {
32 color: inherit;
33 text-decoration: underline;
9 } 34 }
10 35
11 #title-bar { 36 #title-bar {
12 border-bottom: 1px solid rgba(0, 0, 0, .12); 37 border-bottom: 1px solid rgba(0, 0, 0, .12);
13 font-size: 16px; 38 font-size: 16px;
14 padding-bottom: 20px; 39 font-weight: 500;
40 padding: 104px 0 16px 0;
Dan Beam 2016/04/05 23:38:40 why 104px?
Dan Beam 2016/04/05 23:38:40 nit: padding: 104px 0 16px;
Moe 2016/04/07 14:36:39 Done.
Moe 2016/04/07 14:36:40 The spec asks for it: https://folio.googleplex.com
15 } 41 }
16 42
17 #nameInput, 43 #nameInput,
18 paper-dropdown-menu { 44 paper-dropdown-menu {
45 --paper-input-container: {
46 padding: 0;
47 };
19 --paper-input-container-input: { 48 --paper-input-container-input: {
20 color: inherit; 49 color: inherit;
21 font-size: inherit; 50 font-size: inherit;
22 }; 51 };
23 } 52 }
24 53
25 #nameInput { 54 #nameInput {
55 margin-bottom: 24px;
56 margin-top: 32px;
26 width: 300px; 57 width: 300px;
27 } 58 }
28 59
29 paper-dropdown-menu { 60 paper-dropdown-menu {
30 position: relative; 61 margin-top: 12px;
31 top: -1px;
32 width: 200px; 62 width: 200px;
33 } 63 }
34 64
35 #icons { 65 paper-menu {
36 margin-top: 24px; 66 --paper-menu: {
67 color: inherit;
68 padding: 0;
69 };
70 --paper-menu-selected-item: {
71 font-weight: normal;
72 }
73 }
74
75 paper-menu paper-item {
76 font-size: inherit;
77 min-height: 40px;
37 } 78 }
38 79
39 #icons #wrapper { 80 #icons #wrapper {
40 margin: -12px -10px; 81 display: flex;
82 flex-wrap: wrap;
83 margin: -12px;
41 } 84 }
42 85
43 #icons paper-button { 86 #icons paper-button {
44 background: rgb(222, 222, 222); 87 background: var(--paper-grey-300);
45 border: 1px solid rgba(0, 0, 0, .12); 88 border: 1px solid rgba(0, 0, 0, .12);
46 margin: 12px 10px; 89 margin: 12px;
47 min-width: 0; 90 min-width: 0;
48 padding: 6px 4px; 91 padding: 6px 4px;
49 } 92 }
50 93
51 #icons paper-button[active] { 94 #icons paper-button[active] {
52 border-color: var(--google-blue-500); 95 border-color: var(--google-blue-500);
53 } 96 }
54 97
55 #icons paper-button:focus:not([active]) { 98 #icons paper-button:focus:not([active]) {
56 outline: 1px dotted #666; 99 outline: 1px dotted #666;
57 } 100 }
58 101
59 #createSupervisedContainer { 102 #supervised-user-container {
60 margin-top: 10px; 103 margin-top: 24px;
61 } 104 }
62 105
63 #messageBubble { 106 #supervised-user-container paper-checkbox {
64 -webkit-transition: max-height 200ms, padding 200ms; 107 --paper-checkbox-label-spacing: 16px;
65 background-color: var(--google-red-700); 108 --paper-checkbox-size: 20px;
66 border-radius: 4px;
67 color: white;
68 font-weight: bold;
69 margin-left: auto;
70 margin-right: auto;
71 margin-top: 16px;
72 max-height: 50px;
73 overflow: hidden;
74 padding: 10px 10px;
75 text-align: center;
76 width: 80%;
77 } 109 }
78 110
79 #messageBubble:empty { 111 #supervised-user-container #learn-more-accounts {
80 display: none; 112 -webkit-margin-start: 36px;
113 }
114
115 #supervised-user-container #learn-more {
116 display: block;
117 line-height: 20px;
81 } 118 }
82 119
83 #actions { 120 #actions {
84 margin-top: 32px; 121 bottom: 16px;
122 display: flex;
123 position: absolute;
124 right: 16px;
125 }
126
127 :host-context([dir='rtl']) #actions {
128 left: 16px;
129 right: auto;
85 } 130 }
86 131
87 #actions paper-button { 132 #actions paper-button {
88 border-radius: 2px; 133 border-radius: 2px;
134 font-weight: 500;
89 line-height: 32px; 135 line-height: 32px;
136 margin: 0;
90 min-width: 52px; 137 min-width: 52px;
91 padding: 0 16px; 138 padding: 0 16px;
92 } 139 }
93 140
94 #cancel { 141 #actions paper-spinner {
142 align-self: center;
143 height: 20px;
144 width: 20px;
145 }
146
147 #actions #cancel {
95 color: var(--paper-grey-600); 148 color: var(--paper-grey-600);
96 } 149 }
97 150
98 #save { 151 #actions #save {
99 -webkit-margin-end: 0; 152 -webkit-margin-start: 8px;
100 background: var(--google-blue-500); 153 background: var(--google-blue-500);
101 color: white; 154 color: white;
102 } 155 }
103 156
104 #save[disabled] { 157 #actions #save[disabled] {
105 background: rgba(66, 133, 244, .5); 158 background: rgba(66, 133, 244, .5);
106 } 159 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698