chore: tweak doc icon size; switch sessions icon
This commit is contained in:
12 files changed
+10
-31
No files matched your search
@@ -4,5 +4,5 @@
|
||||
target="_blank"
|
||||
rel="noreferrer noopener"
|
||||
title={{t "actions.get-topic-help"}}>
|
||||
<Rose::Icon @name="flight-icons/help-24" @size={{@iconSize}} />
|
||||
<Rose::Icon @name="flight-icons/help-16" @size={{@iconSize}} />
|
||||
</a>
|
||||
@@ -12,7 +12,7 @@ to trigger actions or to submit forms. Avoid using buttons as simple links to
|
||||
other routes. For accessibility, use links instead.
|
||||
|
||||
```htmlbars
|
||||
<Rose::Button @style="primary" @iconRight="flight-icons/arrow-right-circle-16">
|
||||
<Rose::Button @style="primary" @iconRight="flight-icons/entry-point-16">
|
||||
Action
|
||||
</Rose::Button>
|
||||
```
|
||||
|
||||
@@ -12,7 +12,7 @@ Styles supported: primary, secondary, warning, and ghost.
|
||||
Disabling link button is not supported as it is an action on form components only.
|
||||
|
||||
```html
|
||||
<Rose::LinkButton @route="index" @style="primary" @iconRight="flight-icons/arrow-right-circle-16">
|
||||
<Rose::LinkButton @route="index" @style="primary" @iconRight="flight-icons/entry-point-16">
|
||||
Content
|
||||
</Rose::LinkButton>
|
||||
```
|
||||
|
||||
@@ -17,9 +17,7 @@ module('Integration | Component | rose/badge', function (hooks) {
|
||||
});
|
||||
|
||||
test('it renders an icon using @icon', async function (assert) {
|
||||
await render(
|
||||
hbs`<Rose::Badge @icon="flight-icons/arrow-right-circle-16" />`
|
||||
);
|
||||
await render(hbs`<Rose::Badge @icon="flight-icons/entry-point-16" />`);
|
||||
assert.ok(find('.rose-icon'));
|
||||
});
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ module('Integration | Component | rose/link-button', function (hooks) {
|
||||
|
||||
test('it supports left icon with @iconRight', async function (assert) {
|
||||
await render(
|
||||
hbs`<Rose::LinkButton @route="index" @iconRight="flight-icons/arrow-right-circle-16" />`
|
||||
hbs`<Rose::LinkButton @route="index" @iconRight="flight-icons/entry-point-16" />`
|
||||
);
|
||||
assert.ok(find('.rose-icon'));
|
||||
assert.ok(find('.has-icon-right'));
|
||||
|
||||
@@ -189,14 +189,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.doc-link {
|
||||
.large {
|
||||
svg {
|
||||
transform: scale(0.8);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[class*='session-status-'] {
|
||||
color: var(--ui-gray-subtler-2);
|
||||
}
|
||||
|
||||
@@ -72,10 +72,7 @@
|
||||
--}}
|
||||
<Rose::Nav::Sidebar @title={{t 'titles.resources'}} as |nav|>
|
||||
<nav.link @route='scopes.scope.sessions'>
|
||||
<Rose::Icon
|
||||
@name='flight-icons/arrow-right-circle-16'
|
||||
@size='medium'
|
||||
/>
|
||||
<Rose::Icon @name='flight-icons/entry-point-16' @size='medium' />
|
||||
{{t 'resources.session.title_plural'}}
|
||||
</nav.link>
|
||||
<nav.link @route='scopes.scope.targets'>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
'session-status-'
|
||||
sessionAggregate.session.status
|
||||
}}
|
||||
@name='flight-icons/arrow-right-circle-16'
|
||||
@name='flight-icons/entry-point-16'
|
||||
@size='medium'
|
||||
/>
|
||||
<Copyable
|
||||
|
||||
@@ -233,14 +233,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.doc-link {
|
||||
.large {
|
||||
svg {
|
||||
transform: scale(0.8);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[class*='session-status-'] {
|
||||
color: var(--ui-gray-subtler-2);
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</nav.link>
|
||||
|
||||
<nav.link @route='scopes.scope.projects.sessions'>
|
||||
<Rose::Icon @name='flight-icons/arrow-right-circle-16' @size='medium' />
|
||||
<Rose::Icon @name='flight-icons/entry-point-16' @size='medium' />
|
||||
{{t 'resources.session.title_plural'}}
|
||||
</nav.link>
|
||||
</Rose::Nav::Sidebar>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<row.headerCell class='nowrap'>
|
||||
<Rose::Icon
|
||||
class={{concat 'session-status-' model.status}}
|
||||
@name='flight-icons/arrow-right-circle-16'
|
||||
@name='flight-icons/entry-point-16'
|
||||
@size='medium'
|
||||
/>
|
||||
<Copyable
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<row.cell class='nowrap'>
|
||||
<Rose::Icon
|
||||
class={{concat 'session-status-' session.status}}
|
||||
@name='flight-icons/arrow-right-circle-16'
|
||||
@name='flight-icons/entry-point-16'
|
||||
@size='medium'
|
||||
/>
|
||||
<Copyable
|
||||
|
||||
Reference in new issue
Block a user