mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove generic styles for bottom bar extensions
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
c36528a04a
commit
212882d77a
@ -19,10 +19,10 @@ export default class SupportPageRendererExtension extends LensRendererExtension
|
|||||||
{
|
{
|
||||||
item: (
|
item: (
|
||||||
<div
|
<div
|
||||||
className="flex align-center gaps hover-highlight"
|
className="SupportPageIcon flex align-center"
|
||||||
onClick={() => Navigation.navigate(supportPageURL())}
|
onClick={() => Navigation.navigate(supportPageURL())}
|
||||||
>
|
>
|
||||||
<Component.Icon material="help" smallest />
|
<Component.Icon interactive material="help" smallest />
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,4 +10,10 @@
|
|||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.SupportPageIcon {
|
||||||
|
color: white;
|
||||||
|
font-size: var(--font-size-small);
|
||||||
|
padding-right: calc(var(--padding) / 2);
|
||||||
}
|
}
|
||||||
@ -2,27 +2,19 @@
|
|||||||
$spacing: $padding / 2;
|
$spacing: $padding / 2;
|
||||||
--flex-gap: #{$spacing};
|
--flex-gap: #{$spacing};
|
||||||
|
|
||||||
font-size: $font-size-small;
|
background-color: var(--blue);
|
||||||
background-color: #3d90ce;
|
|
||||||
padding: 0 2px;
|
padding: 0 2px;
|
||||||
color: white;
|
|
||||||
height: 22px;
|
height: 22px;
|
||||||
|
|
||||||
#current-workspace {
|
#current-workspace {
|
||||||
|
font-size: var(--font-size-small);
|
||||||
|
color: white;
|
||||||
padding: $padding / 4 $padding / 2;
|
padding: $padding / 4 $padding / 2;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
|
||||||
|
|
||||||
.hover-highlight {
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: #ffffff33;
|
background-color: #ffffff33;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.extensions {
|
|
||||||
> * {
|
|
||||||
padding: $padding / 4 $padding / 2;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,7 +13,7 @@ export class BottomBar extends React.Component {
|
|||||||
const { currentWorkspace } = workspaceStore;
|
const { currentWorkspace } = workspaceStore;
|
||||||
return (
|
return (
|
||||||
<div className="BottomBar flex gaps">
|
<div className="BottomBar flex gaps">
|
||||||
<div id="current-workspace" className="flex gaps align-center hover-highlight">
|
<div id="current-workspace" className="flex gaps align-center">
|
||||||
<Icon smallest material="layers"/>
|
<Icon smallest material="layers"/>
|
||||||
<span className="workspace-name">{currentWorkspace.name}</span>
|
<span className="workspace-name">{currentWorkspace.name}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user