Skip to content

Commit 3de4123

Browse files
committed
Adapt components styles to Wave UI.
1 parent 00cb1a1 commit 3de4123

File tree

3 files changed

+29
-39
lines changed

3 files changed

+29
-39
lines changed

src/app.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,9 @@ $main-text: #888;
5454
height: 650px;
5555
}
5656
57-
.w-card {box-shadow: none;}
58-
5957
// FOOTER
6058
//=================================================//
61-
.v-application--wrap footer.v-footer {
59+
footer {
6260
background: none;
6361
font-style: italic;
6462
color: $main-text;

src/documentation/_typography.scss

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
body {
2-
font: 13px Roboto, Tahoma, Geneva, sans-serif;
3-
color: $main-text;
4-
}
5-
6-
.application.theme--light,
7-
.application .theme--light.w-card, .theme--light .w-card {
8-
color: inherit;
2+
font: 13px 'Avenir', Helvetica, Arial, sans-serif;
3+
-webkit-font-smoothing: antialiased;
4+
-moz-osx-font-smoothing: grayscale;
5+
padding-top: 8em;
6+
color: rgba(0,0,0,.87);
97
}
108

119
h1, h2, h3, h4 {
12-
font-weight: normal;
10+
font-weight: 400;
1311
margin-bottom: 0.5em;
1412
}
1513

src/documentation/index.vue

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -14,48 +14,48 @@
1414
a(:href="slide.link" target="_blank") {{ slide.content.substring(9) }}
1515
template(v-slot:loader)
1616
w-progress(circle color="primary" indeterminate)
17-
span.mt3.primary--text.title Loading...
17+
span.mt3.primary--text.title2 Loading...
1818

1919
h2
2020
a(href="#features" v-scroll-to="'#features'") Features
2121
a(id="features" name="features")
2222
div.max-widthed.mb5.features
23-
w-icon.pr2(color="secondary") material-icons check
23+
w-icon.pr2(color="secondary" lg) material-icons check
2424
strong SUPPORTS VUE 3.
2525
br
26-
w-icon.pr2(color="secondary") material-icons check
26+
w-icon.pr2(color="secondary" lg) material-icons check
2727
strong Supports Videos with customizable attributes.
2828
br
29-
w-icon.pr2(color="secondary") material-icons check
29+
w-icon.pr2(color="secondary" lg) material-icons check
3030
| #[strong Fully responsive] and scales with its container.#[br]
31-
w-icon.pr2(color="secondary") material-icons check
31+
w-icon.pr2(color="secondary" lg) material-icons check
3232
| #[strong Touch ready] & mouse dragging for desktop.#[br]
33-
w-icon.pr2(color="secondary") material-icons check
33+
w-icon.pr2(color="secondary" lg) material-icons check
3434
| #[strong Accessibility friendly] & keyboard navigation.#[br]
35-
w-icon.pr2(color="secondary") material-icons check
35+
w-icon.pr2(color="secondary" lg) material-icons check
3636
| #[strong Highly customizable].#[br]
37-
w-icon.pr2(color="secondary") material-icons check
37+
w-icon.pr2(color="secondary" lg) material-icons check
3838
| #[strong Lazy loading].#[br]
39-
w-icon.pr2(color="secondary") material-icons check
39+
w-icon.pr2(color="secondary" lg) material-icons check
4040
| Show multiple items per slides.#[br]
41-
w-icon.pr2(color="secondary") material-icons check
41+
w-icon.pr2(color="secondary" lg) material-icons check
4242
| #[strong Infinite looping], customizable arrows or disable arrow on a slideshow end, autoplay.#[br]
43-
w-icon.pr2(color="secondary") material-icons check
43+
w-icon.pr2(color="secondary" lg) material-icons check
4444
| Built-in #[strong parallax] effect & #[strong 3D rotation].#[br]
45-
w-icon.pr2(color="secondary") material-icons check
45+
w-icon.pr2(color="secondary" lg) material-icons check
4646
| #[strong Breakpoints] with different configuration.#[br]
47-
w-icon.pr2(color="secondary") material-icons check
47+
w-icon.pr2(color="secondary" lg) material-icons check
4848
| Slide content supports #[strong title & description, inside OR outside] the current slide.#[br]
49-
w-icon.pr2(color="secondary") material-icons check
49+
w-icon.pr2(color="secondary" lg) material-icons check
5050
| #[strong Add or remove slides] on the fly, #[strong disable or enable the slideshow].#[br]
51-
w-icon.pr2(color="secondary") material-icons check
51+
w-icon.pr2(color="secondary" lg) material-icons check
5252
| Uses #[strong CSS animations] & comes with a minimum of styles (using the #[i BEM] convention).#[br]
53-
w-icon.pr2(color="secondary") material-icons check
53+
w-icon.pr2(color="secondary" lg) material-icons check
5454
| #[strong Emitted events] for callbacks, etc...#[br]
55-
w-icon.pr2(color="secondary") material-icons check
55+
w-icon.pr2(color="secondary" lg) material-icons check
5656
| #[strong Supports RTL] direction
5757

58-
.max-widthed.mt8.mb3.title Github project
58+
.max-widthed.mt8.mb3.title2 Github project
5959
w-flex.max-widthed.mb5(align-center shrink)
6060
w-icon.pr5.lightgrey--text(size="46") fab fa-github
6161
a(href="https://github.com/antoniandre/vueper-slides" target="_blank") //github.com/antoniandre/vueper-slides #[w-icon(color="primary") material-icons open_in_new]
@@ -522,7 +522,7 @@
522522
vueper-slide(v-for="(slide, i) in lazyloadSlides" :key="i" :image="slide.image")
523523
template(v-slot:loader)
524524
w-progress(circle color="primary" indeterminate)
525-
span.mt3.primary--text.title Loading...
525+
span.mt3.primary--text.title2 Loading...
526526

527527
ssh-pre(language="html-vue" label="HTML Vue Template").
528528
<vueper-slides lazy lazy-load-on-drag>
@@ -2158,7 +2158,7 @@
21582158

21592159
ul.max-widthed.mt8
21602160
li.mb5
2161-
.title.mr3 Version 3.0
2161+
.title2.mr3 Version 3.0
21622162
| Supports Vue 3. This version is not compatible with Vue 2.x.
21632163

21642164
li.mb2
@@ -2519,6 +2519,7 @@ export default {
25192519
//=================================================//
25202520
a {
25212521
text-decoration: none;
2522+
color: #ff5252;
25222523
25232524
&[name] {
25242525
position: relative;
@@ -2560,15 +2561,8 @@ ul, ol {
25602561
25612562
// APPLICATION
25622563
//=================================================//
2563-
.v-application {
2564-
font-family: 'Avenir', Helvetica, Arial, sans-serif;
2565-
-webkit-font-smoothing: antialiased;
2566-
-moz-osx-font-smoothing: grayscale;
2567-
background-color: #fff !important;
2568-
padding-top: 8em;
2569-
}
25702564
2571-
.v-application--wrap {
2565+
.w-app {
25722566
padding-top: 12em;
25732567
overflow-x: hidden;
25742568
}

0 commit comments

Comments
 (0)