diff --git a/src/scss/cdb-components/menu.scss b/src/scss/cdb-components/menu.scss
index c77e654..7430fcb 100644
--- a/src/scss/cdb-components/menu.scss
+++ b/src/scss/cdb-components/menu.scss
@@ -8,129 +8,148 @@
```
+
+
+
+
+
+
+
+
+
+
+
```
*/
@import '../cdb-variables/colors';
-.box {
- width: 120px;
- height: 64px;
- display: inline-block;
- margin: 0 24px 24px 0;
+.CDB-NavMenu {
+ position: relative;
}
-.Color-Blue {
- background: $cBlue;
-}
-.Color-White {
- background: $cWhite;
- border: 1px solid #e5e5e5;
-}
-.Color-Dark {
- background: $cBlack;
+.CDB-NavMenu-Inner {
+ position: relative;
+ margin-bottom: 18px;
+ border-bottom: 1px solid $cMainLine;
}
-.Color-MainDark {
- background: $cMainDark;
+.CDB-NavMenu-Link {
+ display: block;
+ margin-bottom: -1px;
+ padding: 4px 0 11px;
+ border-bottom: 1px solid transparent;
}
-.Color-SecondaryDark {
- background: $cSecondaryDark;
+
+.CDB-NavMenu-Item.is-active .CDB-NavMenu-Link {
+ border-bottom: 1px solid $cMainDark;
+ color: $cMainDark;
}
-.Color-SecondaryBackground {
- background: $cSecondaryBackground;
+
+.CDB-NavSubmenu {
+ position: absolute;
+ right: 0;
+ left: 0;
+ padding-top: 14px;
+ border-bottom: 1px solid $cSecondaryLine;
}
-.Color-ThirdBackground {
- background: $cThirdBackground;
-}
-
-
-/* SG
-# Colors/line
-
-
-```
-
-
-
-
-```
-*/
-
-
-.Color-HoverLine {
- background: $cHoverLine;
-}
-.Color-MainLine {
- background: $cMainLine;
-}
-.Color-SecondaryLine {
- background: $cSecondaryLine;
-}
-
-
-/* SG
-# Colors/typography
-
-
-```
-
-
-
-
-
-
-```
-*/
-
-
-.Color-Type02 {
- background: $cTypo2;
-}
-.Color-Type03 {
- background: $cTypo3;
-}
-.Color-Type04 {
- background: $cTypo4;
-}
-
-
-/* SG
-# Colors/other
-
-
-```
-
-
-
-
-
-
-```
-*/
-
-.Color-Higlight {
- background: $cHighlight;
-}
-.Color-Alert {
- background: $cAlert;
-}
-.Color-Public {
- background: $cPublic;
-}
-.Color-Link {
- background: $cLink;
-}
-.Color-Password {
- background: $cPassword;
-}
-.Color-Error {
- background: $cError;
+
+.CDB-NavSubmenu-Link {
+ display: block;
+ margin-bottom: -1px;
+ padding-bottom: 12px;
+ border-bottom: 1px solid transparent;
+}
+
+.CDB-NavSubmenu-item.is-active {
+ .CDB-NavSubmenu-Link {
+ border-bottom: 1px solid $cTypo3;
+ color: $cMainDark;
+ }
+}
+
+.CDB-NavSubmenu-Status {
+ margin-left: 2px;
+ color: $cTypo4;
+}
+
+.CDB-Navmenu.is-dark {
+
+ .CDB-NavMenu-Inner,
+ .CDB-NavSubmenu {
+ border-bottom: 1px solid $cTypo2;
+ }
+
+ .CDB-NavMenu-Link,
+ .CDB-NavSubmenu-Link {
+ color: $cTypo3;
+ }
+
+ .CDB-NavMenu-Item.is-active {
+ .CDB-NavMenu-Link {
+ border-bottom: 1px solid $cMainLine;
+ color: $cWhite;
+ }
+ }
+
+ .CDB-NavSubmenu-item.is-active {
+ .CDB-NavSubmenu-Link {
+ border-bottom: 1px solid $cMainLine;
+ color: $cWhite;
+ }
+ }
+
+ .CDB-NavSubmenu-Status {
+ color: $cTypo2;
+ }
}