File tree Expand file tree Collapse file tree
src/cms/server/public/app/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,24 +29,36 @@ const template = ({ defaultContentTypes }) => {
2929 ${ __ } .content-types-list-item {
3030 display: flex;
3131 box-shadow: 0 0 2px #0006;
32- padding: .66em 0;
32+ padding: .7em 0;
3333 border-radius: 0.3em;
3434 cursor: pointer;
3535 }
3636
3737 ${ __ } .content-types-list-item-checkbox {
3838 }
3939
40- ${ __ } .content-types-list-item:hover {
40+ ${ __ } .content-types-list-item:hover,
41+ ${ __ } .content-types-list-item:has(:focus-visible) {
4142 background: aliceblue;
42- box-shadow: 0 0 3px #0afa;
43+ box-shadow: 0 0 0 .07em #007aff;
44+ }
45+
46+ ${ __ } .content-types-list-item:has(:checked) {
47+ background: aliceblue;
48+ box-shadow: 0 0 0 .13em #007aff;
4349 }
4450
4551 ${ __ } .content-types-list-item-checkbox {
4652 padding: 0 .66em 0 1em;
4753 place-content: center;
4854 }
4955
56+ ${ __ } .content-types-list-item-checkbox input {
57+ --size: 1.2em;
58+ width: var(--size);
59+ height: var(--size);
60+ }
61+
5062 ${ __ } .content-types-list-item-content {
5163 }
5264
You can’t perform that action at this time.
0 commit comments