-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UI: clarify revokePolicy feature and filename interface (#94)
* copy: "Start over" => "Reset" * copy: "Sign out" => "Reset & Sign Out" * copy: "Revoke File" => "Revoke Policy" * ui: more consistent modal styles and markup * ui: move "Reset" to header to appear before signing in * ui: give "Revoke Policy" the subtle link treatment move dangerous red treatment into the modal that it triggers * fix: ellipsize file names that are too long - show the full name in a tooltip thanks to title attr - keep .tdf extension when protected * Update CHANGELOG.md * fix: test failures * fix: remove unused imports to appease no-unused-vars in BuildKite
- Loading branch information
Showing
15 changed files
with
103 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,93 +1,9 @@ | ||
.RevokeAll { | ||
font: var(--fSizeSmall) / var(--lhSmall) var(--fontPrimary); | ||
min-height: 36px; | ||
margin: 4px; | ||
min-width: 94px; | ||
.button.revokePolicy { | ||
/* push this to the end of the flexbox */ | ||
/* https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Aligning_Items_in_a_Flex_Container#Using_auto_margins_for_main_axis_alignment */ | ||
margin-left: auto; | ||
} | ||
|
||
.RevokeAll { | ||
background: var(--redDarker); | ||
border: 1px solid var(--redDarker); | ||
border-radius: 3px; | ||
color: #fff; | ||
font-family: var(--fontPrimary); | ||
font-size: 13px; | ||
font-weight: bold; | ||
line-height: 18px; | ||
text-align: center; | ||
cursor: pointer; | ||
} | ||
.RevokeAll:hover, | ||
.RevokeAll:focus { | ||
background-color: var(--slateDarker); | ||
border-color: var(--slateDarker); | ||
box-shadow: 0 1px 4px 1px var(--slateShadow); | ||
outline: none; | ||
} | ||
.RevokeAll:active { | ||
background-color: var(--black); | ||
border-color: var(--black); | ||
box-shadow: 0 1px 4px 1px var(--slateShadow); | ||
} | ||
.RevokeAll:disabled { | ||
box-shadow: none; | ||
background-color: var(--slateLighter); | ||
border-color: var(--slateLighter); | ||
color: var(--white); | ||
cursor: default; | ||
} | ||
|
||
.RevokeAll-container { | ||
display: flex; | ||
flex-direction: column; | ||
width: 300px; | ||
} | ||
.RevokeAll-title { | ||
color: #2d323b; | ||
font-family: var(--fontSecondary); | ||
font-size: 16px; | ||
line-height: 24px; | ||
text-align: left; | ||
font-weight: bold; | ||
} | ||
.RevokeAll-text { | ||
color: #2d323b; | ||
font-size: 15px; | ||
line-height: 18px; | ||
text-align: left; | ||
margin: 15px 0 20px; | ||
font-family: var(--fontSecondary); | ||
} | ||
|
||
.RevokeAll-confirm { | ||
font: var(--fSizeSmall) / var(--lhSmall) var(--fontPrimary); | ||
min-height: 36px; | ||
margin: 4px; | ||
min-width: 94px; | ||
border: 1px solid var(--slateDarker); | ||
border-radius: 3px; | ||
background-color: #fff; | ||
cursor: pointer; | ||
color: var(--redDarker); | ||
font-weight: bold; | ||
} | ||
.RevokeAll-confirm:hover, | ||
.RevokeAll-confirm:focus { | ||
box-shadow: 0 1px 4px 1px var(--slateShadow); | ||
border-color: var(--redDarker); | ||
color: var(--redDarker); | ||
outline: none; | ||
} | ||
.RevokeAll-confirm:active { | ||
box-shadow: 0 1px 4px 1px var(--slateShadow); | ||
color: var(--white); | ||
border-color: var(--slatePrimary); | ||
background-color: var(--redDarker); | ||
} | ||
.RevokeAll-confirm:disabled { | ||
box-shadow: none; | ||
background-color: var(--slateLighter); | ||
border-color: var(--slateLighter); | ||
color: var(--white); | ||
cursor: default; | ||
.button.destructiveButton { | ||
width: 100%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
font-family: var(--fontPrimary); | ||
font-size: 13px; | ||
line-height: 18px; | ||
margin: 0 20px; | ||
} | ||
|
||
.Policy-rule { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.