File size: 2,791 Bytes
1e92f2d |
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 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";
.plugin-row-formatter__row-container {
position: relative;
}
.plugin-row-formatter__plugin-icon {
min-width: 32px;
max-width: 32px;
height: 32px;
vertical-align: middle;
margin-inline-end: 12px;
}
%row-data-common-style {
display: inline-block;
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: clip;
vertical-align: middle;
color: var(--studio-gray-100);
font-size: 0.875rem;
text-align: left;
}
.has-active-status {
margin-top: -20px;
}
a.button.plugin-row-formatter__plugin-name {
@extend %row-data-common-style;
width: 100%;
}
a.button.plugin-row-formatter__plugin-name-card {
@extend %row-data-common-style;
width: calc(100% - 10px);
}
.plugin-row-formatter__site-name {
@extend %row-data-common-style;
display: inline-block;
width: 100%;
}
.plugin-row-formatter__overlay {
display: block;
position: absolute;
height: 25px;
width: 25px;
background: linear-gradient(to right, rgb(255 255 255 / 80%) 30%, rgb(255 255 255 / 100%) 100%);
inset-block-start: 0;
inset-inline-end: 0;
}
.plugin-row-formatter__sites-count-button {
&:hover {
text-decoration: underline;
}
}
.plugin-row-formatter__plugin-name-container {
width: calc(100% - 55px);
position: relative;
}
.plugin-row-formatter__toggle {
.plugin-action .components-toggle-control .components-base-control__field {
flex-direction: row-reverse;
@include break-xlarge {
margin: auto 0;
flex-direction: unset;
}
}
}
.plugin-row-formatter__install-plugin {
@include break-xlarge {
display: flex;
justify-content: end;
white-space: pre;
.plugin-install-button__install.embed {
margin: 0;
}
}
}
.plugin-row-formatter__plugin-details {
display: flex;
align-items: center;
}
.theme-jetpack-cloud .plugin-row-formatter__checkbox[type="checkbox"]:checked::before {
content: url(/calypso/images/checkbox-icons/checkmark-jetpack.svg);
}
// Checkbox for multiselect purposes
.plugin-row-formatter__checkbox[type="checkbox"] {
margin-inline-end: 16px;
&::after {
// Making tap area larger
content: "";
position: absolute;
top: -20px;
left: -19px;
width: 56px;
height: 55px;
}
}
.plugin-row-formatter__last-updated {
font-size: 0.75rem;
color: var(--color-text-subtle);
@include break-xlarge {
// Align right when there's no enough space.
text-align: right;
width: 100%;
display: inline-block;
white-space: pre;
}
// Cut off the "Updated on" part when there's no enough space.
> span {
@include break-xlarge {
display: none;
}
@include break-huge {
display: inline;
}
}
}
.plugin-row-formatter__action-status {
margin-block-start: 12px;
@include break-xlarge {
margin-block-start: 6px;
}
}
|