Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / resources / chromeos / login / user_pod_row.css
index bf5bbf5..4de8727 100644 (file)
@@ -22,8 +22,6 @@ podrow.images-loading {
 .pod {
   -webkit-tap-highlight-color: transparent;
   -webkit-transform: scale3d(0.9, 0.9, 0.9);
-  -webkit-transition: -webkit-transform 180ms ease,
-                      opacity 180ms ease;
   background-color: white;
   border-radius: 2px;
   box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2),
@@ -32,6 +30,7 @@ podrow.images-loading {
   cursor: pointer;
   display: flex;
   flex-flow: row;
+  outline: none;
   padding: 10px 10px 3px;
   position: absolute;
   vertical-align: middle;
@@ -39,12 +38,16 @@ podrow.images-loading {
   z-index: 0;
 }
 
+html[run=firstExecAfterBoot] .pod {
+  -webkit-transition: -webkit-transform 180ms ease,
+                      opacity 180ms ease;
+}
+
 .account-picker.flying-pods .pod {
   -webkit-transition: all 180ms ease;
 }
 
 .pod .main-pane {
-  margin-right: 10px;
   position: relative;
   text-align: center;
   width: 160px;
@@ -61,9 +64,17 @@ podrow[ncolumns='6'] .pod {
   z-index: 1;
 }
 
+.pod .user-image-container {
+  height: 160px;
+  line-height: 160px;
+  text-align: center;
+  width: 160px;
+}
+
 .pod .user-image {
   height: 160px;
   opacity: 0.7;
+  vertical-align: middle;
   width: 160px;
 }
 
@@ -75,6 +86,10 @@ podrow[ncolumns='6'] .pod {
   opacity: 1;
 }
 
+.pod.not-focusable .user-image {
+  -webkit-filter: grayscale(100%);
+}
+
 .pod.init {
   -webkit-transform: scale3d(2.4, 2.4, 2.4);
   opacity: 0;
@@ -107,7 +122,6 @@ podrow[ncolumns='6'] .pod {
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
-  width: 140px;
 }
 
 .name.init {
@@ -168,17 +182,19 @@ button.custom-button:focus:hover {
   display: -webkit-box;
 }
 
-.pod .signin-button {
+.pod .signin-button,
+.pod .launch-app-button {
   box-sizing: border-box;
   display: inline-block;
   height: 26px;
-  margin: 6px 0;
+  margin: 6px 0 !important;
   max-width: 100%;
   min-width: 72px !important;
   padding: 4px 8px;
 }
 
-.pod:not(.focused) .signin-button {
+.pod:not(.focused) .signin-button,
+.pod:not(.focused) .launch-app-button  {
   display: none;
 }
 
@@ -252,9 +268,13 @@ html[dir=rtl] .pod .capslock-hint {
   z-index: 1;
 }
 
+html[dir=rtl] .user-type-icon-area {
+  left: auto;
+  right: 0;
+}
+
 .user-type-icon-image {
   background-color: transparent;
-  background-image: url('chrome://theme/IDR_MANAGED_MODE_ICON');
   border: 0 !important;
   height: 16px;
   margin: 5px;
@@ -262,6 +282,51 @@ html[dir=rtl] .pod .capslock-hint {
   width: 16px;
 }
 
+.user-type-icon-area.supervised .user-type-icon-image {
+  background-image: url('chrome://theme/IDR_MANAGED_MODE_ICON');
+}
+
+.user-type-icon-area.policy .user-type-icon-image {
+  background-image: url('chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY');
+}
+
+.user-type-icon-area.app .user-type-icon-image {
+  background-image: url('chrome://theme/IDR_KIOSK_APP_USER_POD_ICON');
+}
+
+.user-type-icon-area.policy:hover ~ .user-type-bubble {
+  opacity: 1;
+  visibility: visible;
+}
+
+.user-type-bubble {
+  -webkit-transition: all 100ms ease-in-out;
+  background-color: white;
+  border: 1px solid lightgray;
+  border-radius: 2px;
+  box-shadow: none;
+  font-size: 14px;
+  left: 5px;
+  margin: 0;
+  opacity: 0;
+  padding: 17px;
+  position: absolute;
+  top: 20px;
+  visibility: hidden;
+  width: 200px;
+  z-index: 1;
+}
+
+html[dir=rtl] .user-type-bubble {
+  left: auto;
+  right: 5px;
+}
+
+.user-type-bubble-header {
+  font-weight: bold;
+  margin-bottom: 14px;
+}
+
 html[dir=rtl] .action-box-area {
   left: 0;
   right: auto;
@@ -295,6 +360,11 @@ html[dir=rtl] .action-box-area {
   z-index: 1;
 }
 
+html[dir=rtl] .action-box-menu {
+  left: 5px;
+  right: auto;
+}
+
 .action-box-area.active ~ .action-box-menu {
   opacity: 1;
   visibility: visible;
@@ -376,6 +446,10 @@ html[oobe=old] .pod.focused .action-box-area {
 
 /**** Public account user pod rules *******************************************/
 
+.pod.public-account .name {
+  width: 140px;
+}
+
 .pod.public-account .name,
 .side-pane-name {
   -webkit-padding-end: 16px;
@@ -416,6 +490,7 @@ html[dir=rtl] .learn-more {
 }
 
 .side-pane-divider {
+  -webkit-margin-start: 10px;
   border-left: 1px solid lightgray;
   left: 180px;
   right: auto;
@@ -493,7 +568,7 @@ html[dir=rtl] .side-pane-container .enter-button {
   width: 400px;
 }
 
-.pod.public-account:not(expanded) {
+.pod.public-account:not(.expanded) {
   max-height: 204px;
 }