diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2016-06-09 11:38:49 +0300 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2016-06-09 11:38:49 +0300 |
commit | 1f5ecf916ee7b1d34fbf8775890b2aada2055384 (patch) | |
tree | 72358f3dd981de0ead3effcbb84b65a7d5c3fdb4 /app/assets/stylesheets/pages/profile.scss | |
parent | 0dff6fd7148957fa94d2626e3912cd929ba150d3 (diff) |
Implement @jschatz1's comments.
- No hardcoded colors in any SCSS file except `variables.scss`
- Don't allow choosing a date in the past
- Use the same table as in the "Applications" tab
- The button should say "Create Personal Access Token"
- Float the revoke button to the right of the table cell
- Change the revocation message to be more explicit.
- Date shouldn't look selected on page load
- Don't use a panel for the created token
- Use a normal flash for "Your new personal access token has been created"
- Show the input (with the token) below it full width.
- Put the "Make sure you save it - you won't be able to access it again." message near the input
- Have the created token's input highlight all on single click
Diffstat (limited to 'app/assets/stylesheets/pages/profile.scss')
-rw-r--r-- | app/assets/stylesheets/pages/profile.scss | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/app/assets/stylesheets/pages/profile.scss b/app/assets/stylesheets/pages/profile.scss index a2bbe734d2a..88e062d156f 100644 --- a/app/assets/stylesheets/pages/profile.scss +++ b/app/assets/stylesheets/pages/profile.scss @@ -192,24 +192,12 @@ } } -.personal-access-tokens-revoked-label { - color: #bbb; -} - .personal-access-tokens-never-expires-label { - color: #bbb; + color: $personal-access-tokens-disabled-label-color; } -.personal-access-tokens-token-column { - max-width: 500px -} - -.created-personal-access-token { - margin: 15px 15px 0 0; - pre { - max-width: 400px; - display: inline; - } +.datepicker.personal-access-tokens-expires-at .ui-state-disabled span { + text-align: center; } .user-profile { |