framework/less/admin/ExtensionWidget.less

92 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

.ExtensionsWidget {
background-color: @body-bg;
padding: 0;
}
.ExtensionsWidget-list {
2020-12-08 04:14:22 +08:00
padding: 0;
background-color: @body-bg;
2020-12-08 04:14:22 +08:00
.ExtensionGroup {
margin-bottom: 20px;
2020-12-08 04:14:22 +08:00
h3 {
color: @muted-color;
text-transform: uppercase;
font-size: 12px;
margin: 0 0 10px;
}
2020-12-08 04:14:22 +08:00
}
2020-12-08 04:14:22 +08:00
.ExtensionList {
padding: 0;
list-style: none;
display: grid;
grid-gap: 10px;
grid-template-columns: repeat(auto-fit, 90px);
margin-bottom: 0;
2020-12-08 04:14:22 +08:00
> li {
text-align: left;
position: relative;
display: block;
}
}
2020-12-08 04:14:22 +08:00
}
.ExtensionList-Category {
background: @control-bg;
padding: 20px 0 20px 20px;
margin-bottom: 20px;
border-radius: @border-radius;
}
.ExtensionList-Label {
margin-top: 0;
color: @muted-color;
}
2020-12-08 04:14:22 +08:00
.ExtensionListItem.disabled {
.ExtensionListItem-title {
opacity: 0.5;
color: @muted-color;
}
2020-12-08 04:14:22 +08:00
.ExtensionListItem-icon {
opacity: 0.5;
}
2020-12-08 04:14:22 +08:00
}
2020-12-08 04:14:22 +08:00
.ExtensionListItem {
transition: .15s ease-in-out;
2020-12-08 04:14:22 +08:00
&:hover {
transform: scale(1.05);
}
2020-12-08 04:14:22 +08:00
a:hover {
text-decoration: none;
}
}
.ExtensionListItem-title {
display: block;
text-align: center;
margin-top: 5px;
color: @text-color;
}
.ExtensionIcon {
width: 90px;
height: 90px;
background: @control-bg;
color: @control-color;
border-radius: 6px;
display: inline-flex;
font-size: 45px;
text-align: center;
align-items: center;
justify-content: center;
vertical-align: middle;
}