mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
interface: use cursor:pointer on buttons
This commit is contained in:
parent
ac47cd4594
commit
631f230f4e
@ -119,7 +119,7 @@ export class ProfileOverlay extends PureComponent {
|
||||
)}
|
||||
<div className="mono gray2">{cite(`~${ship}`)}</div>
|
||||
{!isOwn && (
|
||||
<Button mt={2} width="100%" onClick={this.createAndRedirectToDM}>
|
||||
<Button mt={2} width="100%" style={{ cursor: 'pointer' }} onClick={this.createAndRedirectToDM}>
|
||||
Send Message
|
||||
</Button>
|
||||
)}
|
||||
|
@ -93,7 +93,7 @@ export function BucketList({
|
||||
</Box>
|
||||
))}
|
||||
<Input mt="2" label="New Bucket" id="newBucket" />
|
||||
<Button mt="2" borderColor="washedGrey" type="submit">
|
||||
<Button mt="2" style={{ cursor: 'pointer' }} borderColor="washedGrey" type="submit">
|
||||
Add
|
||||
</Button>
|
||||
</Form>
|
||||
|
@ -126,7 +126,7 @@ export default function DisplayForm(props: DisplayFormProps) {
|
||||
id="nicknames"
|
||||
caption="Do not show user-set nicknames"
|
||||
/>
|
||||
<Button border={1} borderColor="washedGray" type="submit">
|
||||
<Button border={1} style={{ cursor: 'pointer' }} borderColor="washedGray" type="submit">
|
||||
Save
|
||||
</Button>
|
||||
</Box>
|
||||
|
@ -76,7 +76,7 @@ export default function RemoteContentForm(props: RemoteContentFormProps) {
|
||||
id="oembedShown"
|
||||
caption="Embedded content may contain scripts"
|
||||
/>
|
||||
<Button border={1} borderColor="washedGray" type="submit">
|
||||
<Button style={{ cursor: 'pointer' }} border={1} borderColor="washedGray" type="submit">
|
||||
Save
|
||||
</Button>
|
||||
</Box>
|
||||
|
@ -78,7 +78,7 @@ export default function S3Form(props: S3FormProps) {
|
||||
label="Secret Access Key"
|
||||
id="s3secretAccessKey"
|
||||
/>
|
||||
<Button type="submit">Submit</Button>
|
||||
<Button style={{ cursor: 'pointer' }} type="submit">Submit</Button>
|
||||
</Form>
|
||||
</Formik>
|
||||
</Col>
|
||||
|
@ -19,7 +19,7 @@ export default function SecuritySettings({ api }: SecuritySettingsProps) {
|
||||
<Box fontSize={0} mt={2} color="gray">
|
||||
You will be logged out of your Urbit on this browser.
|
||||
<form method="post" action="/~/logout">
|
||||
<Button narrow mt='4' border={1}>
|
||||
<Button mt='4' border={1} style={{ cursor: 'pointer' }}>
|
||||
Logout
|
||||
</Button>
|
||||
</form>
|
||||
@ -31,7 +31,7 @@ export default function SecuritySettings({ api }: SecuritySettingsProps) {
|
||||
You will be logged out of all browsers that have currently logged into your Urbit.
|
||||
<form method="post" action="/~/logout">
|
||||
<input type="hidden" name="all" />
|
||||
<Button error narrow mt={4} border={1}>
|
||||
<Button destructive mt={4} border={1} style={{ cursor: 'pointer' }}>
|
||||
Logout
|
||||
</Button>
|
||||
</form>
|
||||
|
@ -108,7 +108,7 @@ export class Notebook extends PureComponent<
|
||||
<Row justifyContent={["flex-start", "flex-end"]}>
|
||||
{isWriter && (
|
||||
<Link to={relativePath("/new")}>
|
||||
<Button primary border>
|
||||
<Button primary border style={{ cursor: 'pointer' }}>
|
||||
New Post
|
||||
</Button>
|
||||
</Link>
|
||||
@ -124,6 +124,7 @@ export class Notebook extends PureComponent<
|
||||
<Button
|
||||
ml={isWriter ? 2 : 0}
|
||||
destructive
|
||||
style={{ cursor: 'pointer' }}
|
||||
onClick={() => {
|
||||
this.setState({ isUnsubscribing: true });
|
||||
api.publish
|
||||
|
@ -56,7 +56,7 @@ export function Settings(props: SettingsProps) {
|
||||
Permanently delete this notebook. (All current members will no longer
|
||||
see this notebook.)
|
||||
</Label>
|
||||
<Button mt="2" onClick={onDelete} destructive>
|
||||
<Button mt="2" onClick={onDelete} destructive style={{ cursor: 'pointer' }}>
|
||||
Delete this notebook
|
||||
</Button>
|
||||
</Col>
|
||||
|
@ -82,7 +82,7 @@ export class Subscribers extends Component<SubscribersProps> {
|
||||
return (
|
||||
<Box mt="3">
|
||||
{ role === 'admin' && (
|
||||
<Button mb={3} border onClick={this.addAll}>
|
||||
<Button mb={3} border onClick={this.addAll} style={{ cursor: 'pointer' }}>
|
||||
Add all members as writers
|
||||
</Button>
|
||||
)}
|
||||
|
@ -151,6 +151,7 @@ export default class RemoteContent extends PureComponent<RemoteContentProps, Rem
|
||||
style={{ display: 'inline-flex', height: '1.66em' }} // Height is hacked to line-height until Button supports proper size
|
||||
ml={1}
|
||||
onClick={this.unfoldEmbed}
|
||||
style={{ cursor: 'pointer' }}
|
||||
>
|
||||
{this.state.unfold ? 'collapse' : 'expand'}
|
||||
</Button> : null}
|
||||
|
@ -87,7 +87,7 @@ export function UnjoinedResource(props: UnjoinedResourceProps) {
|
||||
<Box mb={4}>
|
||||
<RichText color="gray">{description}</RichText>
|
||||
</Box>
|
||||
<StatelessAsyncButton onClick={onJoin} mx="auto" border>
|
||||
<StatelessAsyncButton onClick={onJoin} mx="auto" border style={{ cursor: 'pointer' }}>
|
||||
Join Channel
|
||||
</StatelessAsyncButton>
|
||||
</Col>
|
||||
|
Loading…
Reference in New Issue
Block a user