Skip to content

Commit 189eff1

Browse files
Adding material-ui-swing icons
All the icons related to the projec are available at https://github.com/material-ui-swing/material-ui-swing-icon Signed-off-by: Vincenzo Palazzo <[email protected]>
1 parent 660f403 commit 189eff1

17 files changed

+1302
-6
lines changed

assets/icons/logo.svg

+19
Loading

assets/images/icon.png

22.4 KB
Loading

assets/scss/_nav.scss

+94
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
.td-navbar-cover {
2+
background: $primary;
3+
4+
@include media-breakpoint-up(md) {
5+
background: transparent !important;
6+
7+
.nav-link {
8+
text-shadow: 1px 1px 2px $dark;
9+
}
10+
11+
}
12+
13+
&.navbar-bg-onscroll .nav-link {
14+
text-shadow: none;
15+
}
16+
}
17+
18+
.navbar-bg-onscroll {
19+
background: $primary !important;
20+
opacity: inherit;
21+
}
22+
23+
.td-navbar {
24+
background: $primary;
25+
min-height: 4rem;
26+
margin: 0;
27+
z-index: 32;
28+
29+
@include media-breakpoint-up(md) {
30+
position: fixed;
31+
top: 0;
32+
width: 100%;
33+
}
34+
35+
36+
.navbar-brand {
37+
text-transform: none;
38+
text-align: middle;
39+
40+
.nav-link {
41+
display: inline-block;
42+
margin-right: -30px;
43+
}
44+
45+
svg {
46+
display: inline-block;
47+
margin: 0 10px;
48+
height: 3em;
49+
}
50+
}
51+
52+
.nav-link {
53+
text-transform: none;
54+
font-weight: $font-weight-bold;
55+
}
56+
57+
.td-search-input {
58+
border: none;
59+
60+
@include placeholder {
61+
color: $navbar-dark-color;
62+
}
63+
}
64+
65+
.dropdown {
66+
min-width: 100px;
67+
}
68+
69+
@include media-breakpoint-down(md) {
70+
padding-right: .5rem;
71+
padding-left: .75rem;
72+
73+
.td-navbar-nav-scroll {
74+
max-width: 100%;
75+
height: 2.5rem;
76+
margin-top: .25rem;
77+
overflow: hidden;
78+
font-size: .875rem;
79+
80+
.nav-link {
81+
padding-right: .25rem;
82+
padding-left: 0;
83+
}
84+
85+
.navbar-nav {
86+
padding-bottom: 2rem;
87+
overflow-x: auto;
88+
white-space: nowrap;
89+
-webkit-overflow-scrolling: touch;
90+
91+
}
92+
}
93+
}
94+
}

config.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ baseURL = "https://material-ui-swing.github.io"
22
languageCode = "en-us"
33
title = "Material-UI-Swing"
44

5-
theme = ["docsy"]
5+
theme = ["docsy"]
66

77
enableRobotsTXT = true
88

@@ -82,13 +82,13 @@ privacy_policy = "https://policies.google.com/privacy"
8282
# This menu appears only if you have at least one [params.versions] set.
8383
version_menu = "Releases"
8484

85-
# Flag used in the "version-banner" partial to decide whether to display a
85+
# Flag used in the "version-banner" partial to decide whether to display a
8686
# banner on every page indicating that this is an archived version of the docs.
8787
# Set this flag to "true" if you want to display the banner.
8888
archived_version = false
8989

9090
# The version number for the version of the docs represented in this doc set.
91-
# Used in the "version-banner" partial to display a version number for the
91+
# Used in the "version-banner" partial to display a version number for the
9292
# current doc set.
9393
version = "0.1"
9494

@@ -125,7 +125,7 @@ prism_syntax_highlighting = false
125125
# Enable to show the side bar menu in its compact state.
126126
sidebar_menu_compact = false
127127
# Set to true to disable breadcrumb navigation.
128-
breadcrumb_disable = false
128+
breadcrumb_disable = true
129129
# Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled)
130130
sidebar_search_disable = false
131131
# Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top nav bar
@@ -144,7 +144,7 @@ yes = 'Glad to hear it! Please <a href="https://github.com/vincenzopalazzo/mater
144144
no = 'Sorry to hear that. Please <a href="https://github.com/vincenzopalazzo/material-ui-swing/issues/new">tell us how we can improve</a>.'
145145

146146
# Adds a reading time to the top of each doc.
147-
# If you want this feature, but occasionally need to remove the Reading time from a single page,
147+
# If you want this feature, but occasionally need to remove the Reading time from a single page,
148148
# add "hide_readingtime: true" to the page's front matter
149149
[params.ui.readingtime]
150150
enable = false

0 commit comments

Comments
 (0)