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

Unified Diff: chrome/browser/resources/options/manage_profile_overlay.css

Issue 7845004: [Multi Profile] Don't allow the user to choose an empty profile name. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: merge + fix nit Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/options/manage_profile_overlay.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/manage_profile_overlay.css
diff --git a/chrome/browser/resources/options/manage_profile_overlay.css b/chrome/browser/resources/options/manage_profile_overlay.css
index f41b38c0236c749eb94bd16331505e8a5f351394..9faeda972adc26a9d81309a8b405a29d8a110d8c 100644
--- a/chrome/browser/resources/options/manage_profile_overlay.css
+++ b/chrome/browser/resources/options/manage_profile_overlay.css
@@ -48,7 +48,11 @@
display: block;
}
-#manage-profile-duplicate-name-error {
+#manage-profile-name:invalid {
+ background-color: pink;
+}
+
+#manage-profile-error-bubble {
-webkit-transition: max-height 0.2s, padding 0.2s;
background-color: #eeb939;
border-radius: 4px;
@@ -62,7 +66,8 @@
width: 80%;
}
-#manage-profile-duplicate-name-error.hiding {
+#manage-profile-error-bubble[hidden] {
+ display: block !important;
max-height: 0;
padding: 0 10px;
}
« no previous file with comments | « no previous file | chrome/browser/resources/options/manage_profile_overlay.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698