-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtripod-hero-marquee-flex-styles.html
82 lines (69 loc) · 1.91 KB
/
tripod-hero-marquee-flex-styles.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<link rel="import" href="../iron-flex-layout/iron-flex-layout.html">
<dom-module id="tripod-hero-marquee-flex-content">
<template>
<style>
:host {
--tripod-hero-content-side-width: 50%;
--tripod-hero-flex-layout-default: {
@apply(--layout-vertical);
top: 0;
height: 100%;
};
}
:host([desktop-layout]) .top-left {
left: 0;
@apply(--layout-start);
@apply(--layout-start-justified)
}
:host([desktop-layout]) .top-center {
left: 0;
@apply(--layout-center);
@apply(--layout-start-justified);
}
:host([desktop-layout]) .top-right {
@apply(--layout-end);
@apply(--layout-start-justified);
}
:host([desktop-layout]) .center-left {
left: 0;
@apply(--layout-start);
@apply(--layout-center-justified);
text-align: left;
width: var(--tripod-hero-content-side-width);
min-width: var(--tripod-hero-content-side-min-width, 384px);
}
:host([desktop-layout]) .center-left ::slotted(*) {
text-align: left;
}
:host([desktop-layout]) .center-center {
left: 0;
@apply(--layout-center);
@apply(--layout-center-justified);
}
:host([desktop-layout]) .center-right {
@apply(--layout-end);
@apply(--layout-center-justified);
text-align: right;
right: 0;
width: var(--tripod-hero-content-side-width);
}
:host([desktop-layout]) .center-right ::slotted(*) {
text-align: right;
}
:host([desktop-layout]) .bottom-left {
left: 0;
@apply(--layout-end);
@apply(--layout-end-justified);
}
:host([desktop-layout]) .bottom-center {
left: 0;
@apply(--layout-center);
@apply(--layout-end-justified);
}
:host([desktop-layout]) .bottom-right {
@apply(--layout-end);
@apply(--layout-end-justified);
}
</style>
</template>
</dom-module>