mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add dock-tabs.module.scss
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
822500dc21
commit
1b2c866b45
@ -6,10 +6,7 @@
|
|||||||
.DockTab {
|
.DockTab {
|
||||||
padding: var(--padding);
|
padding: var(--padding);
|
||||||
height: 32px;
|
height: 32px;
|
||||||
margin-top: 3px;
|
|
||||||
margin-bottom: 3px;
|
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
border-radius: 3px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
background: no-repeat left 50% linear-gradient(0deg, #43424d, #43424d);
|
background: no-repeat left 50% linear-gradient(0deg, #43424d, #43424d);
|
||||||
background-size: 1px 3ch;
|
background-size: 1px 3ch;
|
||||||
@ -25,6 +22,7 @@
|
|||||||
&:global(.active) {
|
&:global(.active) {
|
||||||
background-color: hsl(245deg 8% 28%);
|
background-color: hsl(245deg 8% 28%);
|
||||||
background-image: none;
|
background-image: none;
|
||||||
|
border-bottom: 2px solid var(--primary);
|
||||||
|
|
||||||
.close {
|
.close {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
@ -3,7 +3,7 @@
|
|||||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import styles from "./dock-tab.module.css";
|
import styles from "./dock-tab.module.scss";
|
||||||
|
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { observer } from "mobx-react";
|
import { observer } from "mobx-react";
|
||||||
|
|||||||
8
src/renderer/components/dock/dock-tabs.module.scss
Normal file
8
src/renderer/components/dock/dock-tabs.module.scss
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
||||||
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||||
|
*/
|
||||||
|
|
||||||
|
.dockTabs {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
@ -3,6 +3,8 @@
|
|||||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import styles from "./dock-tabs.module.scss";
|
||||||
|
|
||||||
import React, { Fragment } from "react";
|
import React, { Fragment } from "react";
|
||||||
import { Icon } from "../icon";
|
import { Icon } from "../icon";
|
||||||
import { Tabs } from "../tabs/tabs";
|
import { Tabs } from "../tabs/tabs";
|
||||||
@ -39,7 +41,7 @@ export const DockTabs = ({ tabs, autoFocus, selectedTab, onChangeTab }: DockTabs
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={"tabs-wrapper flex gaps align-center"}>
|
<div className={styles.dockTabs}>
|
||||||
<div>
|
<div>
|
||||||
<Tabs
|
<Tabs
|
||||||
className="DockTabs"
|
className="DockTabs"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user