-
Notifications
You must be signed in to change notification settings - Fork 382
/
WebPartTitle.module.scss
59 lines (53 loc) · 1.07 KB
/
WebPartTitle.module.scss
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
.webPartHeader {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: baseline;
-ms-flex-align: baseline;
align-items: baseline;
}
.webPartTitle {
font-size: 20px;
font-weight: 600;
margin-bottom: 11px;
//color: "[theme:neutralPrimary, default: #333333]";
-webkit-box-flex: 1;
-ms-flex-positive: 1;
flex-grow: 1;
overflow-x: hidden;
text-overflow: ellipsis;
// Edit mode
textarea {
background-color: transparent;
border: none;
box-sizing: border-box;
color: inherit;
display: block;
font-family: inherit;
font-size: inherit;
font-weight: 400;
height: 40px;
line-height: inherit;
margin: 0;
outline: 0;
overflow: hidden;
resize: none;
text-align: inherit;
white-space: pre;
width: 100%;
&::placeholder,
&::-webkit-input-placeholder {
color: "[theme:inputPlaceholderText, default: #605e5c]";
}
}
// View mode
span {
// Nothing at the moment
a:link {
text-decoration: none;
}
}
.moreLink {
margin-bottom: 11px;
}
}