metabox.scss
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
@import "../../../node_modules/sassdash/index";
@import "../../../node_modules/yoast-components/forms/StyledSection/StyledSection";
@import "linkSuggestions";
.remove-keyword {
display: inline-block;
margin: 0 0 0 -3px;
padding: 5px 6px 6px;
border: none;
background: transparent;
cursor: pointer;
}
.remove-keyword span {
display: inline-block;
width: 16px;
height: 16px;
padding: 0;
border: 1px solid transparent;
border-radius: 100%;
color: #686868;
font-size: 12px;
font-weight: 400;
line-height: 15px;
text-align: center;
vertical-align: top;
}
.remove-keyword:focus {
outline: none;
box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8);
}
.remove-keyword:hover span,
.remove-keyword:focus span {
color: white;
background-color: #dc3232;
}
.wpseo-add-keyword:disabled {
display: none;
}
/* Bold the main keyword tab */
.wpseo_content_tab + .wpseo_keyword_tab .wpseo-keyword {
font-weight: 600;
}
/* But not bold when there is no keyword set */
.wpseo_content_tab + .wpseo_keyword_tab a[data-score="na"] .wpseo-keyword {
font-weight: normal;
}
/* Narrow all the tabs without a focus keyword */
.wpseo_keyword_tab a[data-score="na"] .wpseo-keyword {
max-width: 1em;
max-width: 1rem;
}
/* Except the active one */
.wpseo_keyword_tab.active a[data-score="na"] .wpseo-keyword {
max-width: none;
}
.wpseo-metabox-tabs .wpseo_keyword_tab_hideable .wpseo_tablink {
padding-right: 0;
}