Skip to content

Commit 2f9caaf

Browse files
committed
refactor: Clean up unnecessary Stylus variables
1 parent 9565a56 commit 2f9caaf

File tree

5 files changed

+31
-55
lines changed

5 files changed

+31
-55
lines changed

dev/components/screen-modal.vue

Lines changed: 27 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,34 @@
11
<template>
2-
<screen>
3-
<div slot="header" class="row items-center">
4-
<button @click="close()"><i>keyboard_arrow_left</i></button>
5-
<p>Modal Header</p>
6-
</div>
7-
<div slot="footer" class="row items-center">
8-
<p>Modal Footer</p>
2+
<div class="layout">
3+
<div class="layout-header">
4+
<div class="toolbar">
5+
<button @click="close()"><i>arrow_back</i></button>
6+
<div class="toolbar-content">
7+
<div class="toolbar-title padding-2">
8+
<div>Some very very very very long title here</div>
9+
</div>
10+
</div>
11+
<div class="toolbar-buttons">
12+
<button><i>search</i></button>
13+
<button><i>help</i></button>
14+
</div>
15+
</div>
16+
<div class="toolbar primary">
17+
<quasar-searchbar :model.sync="search"></quasar-searchbar>
18+
</div>
919
</div>
1020

11-
<div style="padding: 20px">
12-
<h1>Modal</h1>
13-
<button class="primary" @click="openModal()">Open Another Modal</button>
14-
<h1>Modal</h1>
15-
<h1>Modal</h1>
16-
<h1>Modal</h1>
17-
<h1>Modal</h1>
18-
<h1>Modal</h1>
19-
<h1>Modal</h1>
20-
<h1>Modal</h1>
21-
<h1>Modal</h1>
22-
<h1>Modal</h1>
23-
<h1>Modal</h1>
24-
<h1>Modal</h1>
25-
<h1>Modal</h1>
26-
<h1>Modal</h1>
27-
<h1>Modal</h1>
28-
<h1>Modal</h1>
29-
<h1>Modal</h1>
30-
<h1>Modal</h1>
31-
<h1>Modal</h1>
32-
<h1>Modal</h1>
33-
<h1>Modal</h1>
34-
<h1>Modal</h1>
35-
<h1>Modal</h1>
36-
<h1>Modal</h1>
37-
<h1>Modal</h1>
38-
<h1>Modal</h1>
39-
<h1>Modal</h1>
40-
<h1>Modal</h1>
41-
<h1>Modal</h1>
42-
<h1>Modal</h1>
43-
<h1>Modal</h1>
44-
<h1>Modal</h1>
45-
<h1>Modal</h1>
46-
<h1>Modal</h1>
47-
<h1>Modal</h1>
48-
<h1>Modal</h1>
49-
<h1>Modal</h1>
50-
<h1>Modal</h1>
21+
<quasar-tabs class="layout-navbar">
22+
<quasar-tab icon="mail">Mails</quasar-tab>
23+
<quasar-tab icon="alarm">Alarms</quasar-tab>
24+
<quasar-tab icon="help">Help</quasar-tab>
25+
</quasar-tabs>
26+
27+
<div class="layout-content">
28+
<div>Search: '{{ search }}'</div>
29+
<div v-for="n in 100">text</div>
5130
</div>
52-
</screen>
31+
</div>
5332
</template>
5433

5534
<script>

src/components/action-sheet/action-sheet.ios.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$action-sheet-background-color ?= $ios-primary
1+
$action-sheet-background-color ?= $layout-background-color
22
$action-sheet-border-radius ?= 13px
33
$action-sheet-max-width ?= 95%
44
$action-sheet-margin-bottom ?= .6rem

src/components/modal/modal.ios.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$modal-background-color ?= $ios-primary
1+
$modal-background-color ?= $layout-background-color
22
$modal-border-radius ?= 13px
33

44
$modal-width ?= 80vw

src/css-components/input/input.ios.styl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ input, textarea
77
border-bottom 2px solid transparent
88
border-radius $generic-border-radius
99
box-shadow $shadow-1
10+
background-color inherit
1011
&:focus
11-
box-shadow $shadow-2
12+
background-color white
1213

1314
input
1415
&:not(.no-style)

src/themes/quasar.ios.styl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
$generic-border-radius ?= 4px
22

3-
$ios-primary ?= #f8f8f8
4-
$ios-secondary ?= #8c8c8c
5-
$ios-tertiary ?= #b2b2b2
6-
73
$generic-input-size ?= 30px
84
$generic-input-border-width ?= 2px
95

0 commit comments

Comments
 (0)