Skip to content

Commit 32ef4a2

Browse files
committed
feat(ui): Sass/SCSS work in progress quasarframework#5049
1 parent 22cb98e commit 32ef4a2

File tree

125 files changed

+5352
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+5352
-1
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.q-loading-bar
2+
position: fixed
3+
z-index: $z-max
4+
transition: transform .5s cubic-bezier(0, 0, .2, 1), opacity .5s
5+
6+
&--top
7+
left: 0 /* rtl:ignore */
8+
right: 0 /* rtl:ignore */
9+
top: 0
10+
width: 100%
11+
&--bottom
12+
left: 0 /* rtl:ignore */
13+
right: 0 /* rtl:ignore */
14+
bottom: 0
15+
width: 100%
16+
17+
&--right
18+
top: 0
19+
bottom: 0
20+
right: 0
21+
height: 100%
22+
&--left
23+
top: 0
24+
bottom: 0
25+
left: 0
26+
height: 100%
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.q-avatar
2+
position: relative
3+
vertical-align: middle
4+
display: inline-block
5+
6+
border-radius: 50%
7+
8+
font-size: 48px
9+
height: 1em
10+
width: 1em
11+
12+
&__content
13+
font-size: .5em
14+
line-height: .5em
15+
16+
&__content, img:not(.q-icon)
17+
border-radius: inherit
18+
height: inherit
19+
width: inherit
20+
21+
.q-avatar__content--square
22+
border-radius: 0
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
.q-badge
2+
background-color: $primary
3+
background-color: var(--q-color-primary)
4+
color: white
5+
padding: 2px 6px
6+
border-radius: $generic-border-radius
7+
font-size: 12px
8+
line-height: 12px
9+
font-weight: normal
10+
vertical-align: baseline
11+
12+
&--single-line
13+
white-space: nowrap
14+
&--multi-line
15+
word-break: break-all
16+
word-wrap: break-word
17+
18+
&--floating
19+
position: absolute
20+
top: -4px
21+
right: -3px
22+
cursor: inherit
23+
24+
&--transparent
25+
opacity: 0.8
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
.q-banner
2+
min-height: 54px
3+
padding: 8px 16px
4+
background: white
5+
6+
&--top-padding
7+
padding-top: 14px
8+
9+
&__avatar
10+
min-width: 1px !important
11+
> .q-avatar
12+
font-size: 46px
13+
> .q-icon
14+
font-size: 40px
15+
16+
&__avatar:not(:empty) + &__content
17+
padding-left: 16px
18+
19+
&__actions
20+
&.col-auto
21+
padding-left: 16px
22+
&.col-all
23+
.q-btn-item
24+
margin: 4px 0 0 4px
25+
26+
&--dense
27+
min-height: 32px
28+
padding: 8px
29+
&.q-banner--top-padding
30+
padding-top: 12px
31+
.q-banner__avatar
32+
> .q-avatar, > .q-icon
33+
font-size: 28px
34+
.q-banner__avatar:not(:empty) + .q-banner__content
35+
padding-left: 8px
36+
.q-banner__actions
37+
&.col-auto
38+
padding-left: 8px

ui/src/components/bar/QBar.sass

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
.q-bar
2+
background: rgba(0, 0, 0, .2)
3+
4+
> .q-icon
5+
margin-left: 2px
6+
> div, > div + .q-icon
7+
margin-left: 8px
8+
> .q-btn
9+
margin-left: 2px
10+
11+
> .q-icon:first-child, > .q-btn:first-child, > div:first-child
12+
margin-left: 0
13+
14+
&--standard
15+
padding: 0 12px
16+
height: 32px
17+
font-size: 18px
18+
> div
19+
font-size: 16px
20+
.q-btn
21+
font-size: 11px
22+
23+
&--dense
24+
padding: 0 8px
25+
height: 24px
26+
font-size: 14px
27+
.q-btn
28+
font-size: 8px
29+
30+
&--dark
31+
background: rgba(255, 255, 255, .15)

0 commit comments

Comments
 (0)