diff --git a/client/css/core-forms.styl b/client/css/core-forms.styl index f083ffbe..bed63e3b 100644 --- a/client/css/core-forms.styl +++ b/client/css/core-forms.styl @@ -137,6 +137,38 @@ input[type=checkbox]:focus + .checkbox:before +/* + * Date and time inputs + */ + +input[type=date], +input[type=time] + vertical-align: top + font-family: 'Droid Sans', sans-serif + font-size: 100% + padding: 0.2em 0.3em + box-sizing: border-box + border: 2px solid $input-enabled-border-color + background: $input-enabled-background-color + color: $input-enabled-text-color + box-shadow: none /* :-moz-submit-invalid on FF */ + transition: border-color 0.1s linear, background-color 0.1s linear + + &:disabled + border: 2px solid $input-disabled-border-color + background: $input-disabled-background-color + color: $input-disabled-text-color + + &:focus + border-color: $main-color + + &[readonly] + border: 2px solid $input-disabled-border-color + background: $input-disabled-background-color + color: $input-disabled-text-color + + + /* * Regular inputs */ diff --git a/client/css/user-view.styl b/client/css/user-view.styl index 64a01b52..3cdd29cb 100644 --- a/client/css/user-view.styl +++ b/client/css/user-view.styl @@ -42,12 +42,6 @@ $token-border-color = $active-tab-background-color #user-tokens - .flex-centered - width: 100%; - display: flex; - flex-direction: row; - justify-content: space-around; - .token-flex-container width: 100% display: flex; @@ -63,14 +57,14 @@ $token-border-color = $active-tab-background-color justify-content: space-between; padding: 0.2em; + .no-wrap + white-space: nowrap; + .token-input min-height: 2em; line-height: 2em; text-align: center; - form - width: auto; - .token-flex-column display: flex; flex-direction: column; @@ -81,7 +75,8 @@ $token-border-color = $active-tab-background-color hr border-top: 3px solid $token-border-color + form + width: 100%; + #user-delete form width: 100% - - diff --git a/client/html/user_tokens.tpl b/client/html/user_tokens.tpl index 8a37aca2..8032dc1a 100644 --- a/client/html/user_tokens.tpl +++ b/client/html/user_tokens.tpl @@ -1,31 +1,35 @@