forked from jgthms/bulma
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpanel.sass
More file actions
76 lines (69 loc) · 1.4 KB
/
Copy pathpanel.sass
File metadata and controls
76 lines (69 loc) · 1.4 KB
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
.panel
font-size: $size-normal
&:not(:last-child)
margin-bottom: 1.5rem
.panel-heading,
.panel-tabs,
.panel-block
border-bottom: 1px solid $border
border-left: 1px solid $border
border-right: 1px solid $border
&:first-child
border-top: 1px solid $border
.panel-heading
background-color: $background
border-radius: $radius $radius 0 0
color: $text-strong
font-size: 1.25em
font-weight: $weight-light
line-height: 1.25
padding: 0.5em 0.75em
.panel-tabs
align-items: flex-end
display: flex
font-size: 0.875em
justify-content: center
a
border-bottom: 1px solid $border
margin-bottom: -1px
padding: 0.5em
// Modifiers
&.is-active
border-bottom-color: $link-active-border
color: $link-active
.panel-list
a
color: $text
&:hover
color: $link
.panel-block
align-items: center
color: $text-strong
display: flex
justify-content: flex-start
padding: 0.5em 0.75em
input[type="checkbox"]
margin-right: 0.75em
& > .control
flex-grow: 1
flex-shrink: 1
width: 100%
&.is-wrapped
flex-wrap: wrap
&.is-active
border-left-color: $link
color: $link-active
.panel-icon
color: $link
a.panel-block,
label.panel-block
cursor: pointer
&:hover
background-color: $background
.panel-icon
+fa(14px, 1em)
color: $text-light
margin-right: 0.75em
.fa
font-size: inherit
line-height: inherit