diff --git a/packages/core/admin/admin/src/content-manager/pages/ListSettingsView/components/EditFieldForm.js b/packages/core/admin/admin/src/content-manager/pages/ListSettingsView/components/EditFieldForm.js
index a799589449..e39d93e5bf 100644
--- a/packages/core/admin/admin/src/content-manager/pages/ListSettingsView/components/EditFieldForm.js
+++ b/packages/core/admin/admin/src/content-manager/pages/ListSettingsView/components/EditFieldForm.js
@@ -19,7 +19,7 @@ import Date from '@strapi/icons/Date';
import Boolean from '@strapi/icons/Boolean';
import Email from '@strapi/icons/Email';
import Enumeration from '@strapi/icons/Enumeration';
-import Media from '@strapi/icons/Landscape';
+import Media from '@strapi/icons/Media';
import Relation from '@strapi/icons/Relation';
import Text from '@strapi/icons/Text';
import Uid from '@strapi/icons/Uid';
diff --git a/packages/core/admin/package.json b/packages/core/admin/package.json
index b17d415b43..e9ffeb488e 100644
--- a/packages/core/admin/package.json
+++ b/packages/core/admin/package.json
@@ -40,8 +40,8 @@
"@fortawesome/react-fontawesome": "^0.1.14",
"@strapi/babel-plugin-switch-ee-ce": "1.0.0",
"@strapi/helper-plugin": "3.6.8",
- "@strapi/icons": "0.0.1-alpha.53",
- "@strapi/design-system": "0.0.1-alpha.53",
+ "@strapi/icons": "0.0.1-alpha.54",
+ "@strapi/design-system": "0.0.1-alpha.54",
"@strapi/utils": "3.6.8",
"axios": "^0.21.1",
"babel-loader": "8.2.2",
diff --git a/packages/core/content-type-builder/admin/src/components/AttributeIcon/index.js b/packages/core/content-type-builder/admin/src/components/AttributeIcon/index.js
index e15da15fc6..0e1cbea348 100644
--- a/packages/core/content-type-builder/admin/src/components/AttributeIcon/index.js
+++ b/packages/core/content-type-builder/admin/src/components/AttributeIcon/index.js
@@ -11,7 +11,7 @@ import Email from '@strapi/icons/Email';
import Enumeration from '@strapi/icons/Enumeration';
import Json from '@strapi/icons/Json';
import LongDescription from '@strapi/icons/RichText';
-import Media from '@strapi/icons/Picture';
+import Media from '@strapi/icons/Media';
import Password from '@strapi/icons/Password';
import Relation from '@strapi/icons/Relation';
import SingleType from '@strapi/icons/SingleType';
diff --git a/packages/core/content-type-builder/admin/src/pages/ListView/tests/__snapshots__/index.test.js.snap b/packages/core/content-type-builder/admin/src/pages/ListView/tests/__snapshots__/index.test.js.snap
index a810b012af..940cc7769a 100644
--- a/packages/core/content-type-builder/admin/src/pages/ListView/tests/__snapshots__/index.test.js.snap
+++ b/packages/core/content-type-builder/admin/src/pages/ListView/tests/__snapshots__/index.test.js.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[` renders and matches the snapshot 1`] = `
-.c82 {
+.c83 {
border: 0;
-webkit-clip: rect(0 0 0 0);
clip: rect(0 0 0 0);
@@ -46,7 +46,11 @@ exports[` renders and matches the snapshot 1`] = `
padding-left: 40px;
}
-.c71 {
+.c63 {
+ border-radius: borderRadius;
+}
+
+.c72 {
background: #d9d8ff;
}
@@ -556,24 +560,24 @@ exports[` renders and matches the snapshot 1`] = `
margin-left: 4px;
}
-.c73 {
+.c74 {
background: #eaeaef;
}
-.c75 {
+.c76 {
background: #f0f0ff;
padding: 20px;
}
-.c78 {
+.c79 {
background: #d9d8ff;
}
-.c80 {
+.c81 {
padding-left: 12px;
}
-.c77 {
+.c78 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -587,20 +591,20 @@ exports[` renders and matches the snapshot 1`] = `
align-items: center;
}
-.c74 {
+.c75 {
height: 1px;
border: none;
margin: 0;
}
-.c81 {
+.c82 {
font-weight: 500;
font-size: 0.75rem;
line-height: 1.33;
color: #4945ff;
}
-.c79 {
+.c80 {
height: 1.5rem;
width: 1.5rem;
border-radius: 50%;
@@ -618,16 +622,16 @@ exports[` renders and matches the snapshot 1`] = `
align-items: center;
}
-.c79 svg {
+.c80 svg {
height: 0.625rem;
width: 0.625rem;
}
-.c79 svg path {
+.c80 svg path {
fill: #4945ff;
}
-.c76 {
+.c77 {
border-radius: 0 0 4px 4px;
display: block;
width: 100%;
@@ -669,7 +673,7 @@ exports[` renders and matches the snapshot 1`] = `
color: #4945ff;
}
-.c66 {
+.c67 {
font-weight: 500;
font-size: 0.75rem;
line-height: 1.33;
@@ -844,7 +848,7 @@ exports[` renders and matches the snapshot 1`] = `
line-height: 1.5;
}
-.c65 {
+.c66 {
width: 2rem !important;
height: 2rem !important;
padding: 0.5625rem;
@@ -852,27 +856,27 @@ exports[` renders and matches the snapshot 1`] = `
background: #eaeaef;
}
-.c65 path {
+.c66 path {
fill: #8e8ea9;
}
-.c68 {
+.c69 {
position: absolute;
display: none;
top: 5px;
right: 0.5rem;
}
-.c68 svg {
+.c69 svg {
width: 0.625rem;
height: 0.625rem;
}
-.c68 svg path {
+.c69 svg path {
fill: #4945ff;
}
-.c63 {
+.c64 {
-webkit-flex-shrink: 0;
-ms-flex-negative: 0;
flex-shrink: 0;
@@ -896,29 +900,29 @@ exports[` renders and matches the snapshot 1`] = `
align-items: center;
}
-.c63.active,
-.c63:hover {
+.c64.active,
+.c64:hover {
border: 1px solid #d9d8ff;
background: #f0f0ff;
}
-.c63.active .c67,
-.c63:hover .c67 {
+.c64.active .c68,
+.c64:hover .c68 {
display: block;
}
-.c63.active .c64,
-.c63:hover .c64 {
+.c64.active .c65,
+.c64:hover .c65 {
background: #d9d8ff;
}
-.c63.active .c64 path,
-.c63:hover .c64 path {
+.c64.active .c65 path,
+.c64:hover .c65 path {
fill: #4945ff;
}
-.c63.active .c31,
-.c63:hover .c31 {
+.c64.active .c31,
+.c64:hover .c31 {
color: #4945ff;
}
@@ -1013,7 +1017,7 @@ exports[` renders and matches the snapshot 1`] = `
overflow-x: auto;
}
-.c69 {
+.c70 {
padding-top: 5.625rem;
}
@@ -1095,7 +1099,7 @@ exports[` renders and matches the snapshot 1`] = `
fill: #666687;
}
-.c72 {
+.c73 {
height: 1.5rem;
width: 1.5rem;
border-radius: 50%;
@@ -1113,12 +1117,12 @@ exports[` renders and matches the snapshot 1`] = `
align-items: center;
}
-.c72 svg {
+.c73 svg {
height: 0.625rem;
width: 0.625rem;
}
-.c72 svg path {
+.c73 svg path {
fill: #4945ff;
}
@@ -1158,7 +1162,7 @@ exports[` renders and matches the snapshot 1`] = `
fill: #eaeaef;
}
-.c70 {
+.c71 {
position: relative;
-webkit-flex-shrink: 0;
-ms-flex-negative: 0;
@@ -1168,7 +1172,7 @@ exports[` renders and matches the snapshot 1`] = `
transform: translate(-0.5px,-1px);
}
-.c70 * {
+.c71 * {
fill: #d9d8ff;
}
@@ -1641,14 +1645,23 @@ exports[` renders and matches the snapshot 1`] = `
class="c38"
fill="none"
height="1em"
- viewBox="0 0 24 24"
+ viewBox="0 0 32 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
+
@@ -1740,14 +1753,23 @@ exports[` renders and matches the snapshot 1`] = `
class="c38"
fill="none"
height="1em"
- viewBox="0 0 24 24"
+ viewBox="0 0 32 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
+
@@ -3373,7 +3395,7 @@ exports[` renders and matches the snapshot 1`] = `
type="button"
>
renders and matches the snapshot 1`] = `
>
renders and matches the snapshot 1`] = `
/>
Compo
@@ -3424,7 +3446,7 @@ exports[`
renders and matches the snapshot 1`] = `
type="button"
>
renders and matches the snapshot 1`] = `
>
renders and matches the snapshot 1`] = `
/>
dish
@@ -3475,7 +3497,7 @@ exports[`
renders and matches the snapshot 1`] = `
type="button"
>
renders and matches the snapshot 1`] = `
>
renders and matches the snapshot 1`] = `
/>
openingtimes
@@ -3526,7 +3548,7 @@ exports[`
renders and matches the snapshot 1`] = `
type="button"
>
renders and matches the snapshot 1`] = `
>
renders and matches the snapshot 1`] = `
/>
restaurantservice
@@ -3576,7 +3598,7 @@ exports[` renders and matches the snapshot 1`] = `
renders and matches the snapshot 1`] = `
class="c46"
>
renders and matches the snapshot 1`] = `
class="c46"
>
renders and matches the snapshot 1`] = `
class="c46"
>
renders and matches the snapshot 1`] = `
>
renders and matches the snapshot 1`] = `
class="c46"
>
renders and matches the snapshot 1`] = `
class="c46"
>
renders and matches the snapshot 1`] = `
class="c46"
>
renders and matches the snapshot 1`] = `
class="c46"
>
renders and matches the snapshot 1`] = `
class="c38"
fill="none"
height="1em"
- viewBox="0 0 24 24"
+ viewBox="0 0 32 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
+
@@ -4541,7 +4572,7 @@ exports[`
renders and matches the snapshot 1`] = `
class="c46"
>
renders and matches the snapshot 1`] = `
class="c46"
>
renders and matches the snapshot 1`] = `
>
renders and matches the snapshot 1`] = `
class="c46"
>
renders and matches the snapshot 1`] = `
class="c46"
>
renders and matches the snapshot 1`] = `
class="c46"
>
renders and matches the snapshot 1`] = `
class="c38"
fill="none"
height="1em"
- viewBox="0 0 24 24"
+ viewBox="0 0 32 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
+
@@ -6048,7 +6088,7 @@ exports[`
renders and matches the snapshot 1`] = `
>
renders and matches the snapshot 1`] = `
class="c46"
>
renders and matches the snapshot 1`] = `
class="c46"
>
renders and matches the snapshot 1`] = `
class="c38"
fill="none"
height="1em"
- viewBox="0 0 24 24"
+ viewBox="0 0 32 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
+
@@ -6354,7 +6403,7 @@ exports[`
renders and matches the snapshot 1`] = `
class="c46"
>
renders and matches the snapshot 1`] = `
>
renders and matches the snapshot 1`] = `
renders and matches the snapshot 1`] = `
Add another field to this collection type
@@ -6562,7 +6611,7 @@ exports[` renders and matches the snapshot 1`] = `
should display the dots correctly 1`] = `
should work when the pageCount is inferior or eq
', () => {
renders and matches the snapshot 1`] = `
background: #ffffff;
}
-.c45 .sc-lhuRmv {
+.c45 .sc-hmftZk {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -178,7 +178,7 @@ exports[` renders and matches the snapshot 1`] = `
background: #f0f0ff;
}
-.c48 .sc-lhuRmv {
+.c48 .sc-hmftZk {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -260,7 +260,7 @@ exports[` renders and matches the snapshot 1`] = `
background: #4945ff;
}
-.c49 .sc-lhuRmv {
+.c49 .sc-hmftZk {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
diff --git a/packages/core/upload/admin/src/components/EditAssetDialog/tests/index.test.js b/packages/core/upload/admin/src/components/EditAssetDialog/tests/index.test.js
index b8afef681d..1715998b7b 100644
--- a/packages/core/upload/admin/src/components/EditAssetDialog/tests/index.test.js
+++ b/packages/core/upload/admin/src/components/EditAssetDialog/tests/index.test.js
@@ -229,7 +229,7 @@ describe(' ', () => {
background: #ffffff;
}
- .c45 .sc-lhuRmv {
+ .c45 .sc-hmftZk {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -301,7 +301,7 @@ describe(' ', () => {
background: #f0f0ff;
}
- .c48 .sc-lhuRmv {
+ .c48 .sc-hmftZk {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -383,7 +383,7 @@ describe(' ', () => {
background: #4945ff;
}
- .c49 .sc-lhuRmv {
+ .c49 .sc-hmftZk {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
diff --git a/packages/core/upload/admin/src/components/UploadAssetDialog/AddAssetStep/tests/FromComputerForm.test.js b/packages/core/upload/admin/src/components/UploadAssetDialog/AddAssetStep/tests/FromComputerForm.test.js
index 8797ca5617..9c2e92b96e 100644
--- a/packages/core/upload/admin/src/components/UploadAssetDialog/AddAssetStep/tests/FromComputerForm.test.js
+++ b/packages/core/upload/admin/src/components/UploadAssetDialog/AddAssetStep/tests/FromComputerForm.test.js
@@ -235,7 +235,7 @@ describe('FromComputerForm', () => {
background: #4945ff;
}
- .c13 .sc-dYzmtA {
+ .c13 .sc-hxqEdz {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -300,7 +300,7 @@ describe('FromComputerForm', () => {
background: #ffffff;
}
- .c21 .sc-dYzmtA {
+ .c21 .sc-hxqEdz {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
diff --git a/packages/core/upload/admin/src/components/UploadAssetDialog/PendingAssetStep/tests/PendingAssetStep.test.js b/packages/core/upload/admin/src/components/UploadAssetDialog/PendingAssetStep/tests/PendingAssetStep.test.js
index a0eb74f966..daf1d7d25c 100644
--- a/packages/core/upload/admin/src/components/UploadAssetDialog/PendingAssetStep/tests/PendingAssetStep.test.js
+++ b/packages/core/upload/admin/src/components/UploadAssetDialog/PendingAssetStep/tests/PendingAssetStep.test.js
@@ -349,7 +349,7 @@ describe('PendingAssetStep', () => {
background: #4945ff;
}
- .c15 .sc-fFYUIl {
+ .c15 .sc-dYzmtA {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -414,7 +414,7 @@ describe('PendingAssetStep', () => {
background: #ffffff;
}
- .c49 .sc-fFYUIl {
+ .c49 .sc-dYzmtA {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
diff --git a/packages/core/upload/admin/src/components/UploadAssetDialog/tests/__snapshots__/UploadAssetDialog.test.js.snap b/packages/core/upload/admin/src/components/UploadAssetDialog/tests/__snapshots__/UploadAssetDialog.test.js.snap
index 466d800f9a..f7222fa054 100644
--- a/packages/core/upload/admin/src/components/UploadAssetDialog/tests/__snapshots__/UploadAssetDialog.test.js.snap
+++ b/packages/core/upload/admin/src/components/UploadAssetDialog/tests/__snapshots__/UploadAssetDialog.test.js.snap
@@ -385,7 +385,7 @@ exports[`UploadAssetDialog from computer snapshots the component 1`] = `
background: #4945ff;
}
-.c35 .sc-iLcRtq {
+.c35 .sc-jnHPDa {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -450,7 +450,7 @@ exports[`UploadAssetDialog from computer snapshots the component 1`] = `
background: #ffffff;
}
-.c41 .sc-iLcRtq {
+.c41 .sc-jnHPDa {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -1317,7 +1317,7 @@ exports[`UploadAssetDialog from url snapshots the component 1`] = `
background: #4945ff;
}
-.c36 .sc-iLcRtq {
+.c36 .sc-jnHPDa {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -1382,7 +1382,7 @@ exports[`UploadAssetDialog from url snapshots the component 1`] = `
background: #ffffff;
}
-.c33 .sc-iLcRtq {
+.c33 .sc-jnHPDa {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
diff --git a/packages/plugins/users-permissions/admin/src/pages/Roles/CreatePage/tests/index.test.js b/packages/plugins/users-permissions/admin/src/pages/Roles/CreatePage/tests/index.test.js
index abae99e916..0ce4400eea 100644
--- a/packages/plugins/users-permissions/admin/src/pages/Roles/CreatePage/tests/index.test.js
+++ b/packages/plugins/users-permissions/admin/src/pages/Roles/CreatePage/tests/index.test.js
@@ -612,7 +612,7 @@ describe('Admin | containers | RoleCreatePage', () => {
padding-left: 32px;
}
- .c54 {
+ .c60 {
background: #eaeaef;
padding-top: 24px;
padding-right: 32px;
@@ -640,99 +640,62 @@ describe('Admin | containers | RoleCreatePage', () => {
grid-column: span 7;
}
- .c53 {
+ .c59 {
grid-column: span 5;
}
- .c47 {
+ .c52 {
font-weight: 500;
font-size: 1rem;
line-height: 1.25;
color: #4a4a6a;
}
- .c49 {
+ .c50 {
+ font-weight: 400;
+ font-size: 0.75rem;
+ line-height: 1.33;
+ color: #4945ff;
+ }
+
+ .c53 {
font-weight: 400;
font-size: 0.875rem;
line-height: 1.43;
color: #666687;
}
- .c40 {
+ .c39 {
border-radius: 4px;
}
.c42 {
- background: #f6f6f9;
- padding: 24px;
- border-radius: 4px;
+ background: #ffffff;
+ padding-right: 24px;
+ padding-left: 24px;
}
.c45 {
- padding-right: 24px;
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1;
}
- .c51 {
+ .c55 {
background: #dcdce4;
- }
-
- .c52 {
- height: 2rem;
- width: 2rem;
border-radius: 50%;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
+ cursor: pointer;
+ width: 2rem;
+ height: 2rem;
+ cursor: pointer;
}
- .c52 svg {
- height: 0.375rem;
+ .c57 {
+ color: #666687;
width: 0.6875rem;
}
- .c52 svg path {
- fill: #666687;
- }
-
- .c41 {
- border: 1px solid transparent;
- overflow: hidden;
- }
-
- .c41:hover {
- border: 1px solid #4945ff;
- }
-
- .c41:hover .c46 {
- color: #271fe0;
- }
-
- .c41:hover .c48 {
- color: #4945ff;
- }
-
- .c41:hover > .c39 {
- background: #f0f0ff;
- }
-
- .c41:hover .c50 {
- background: #d9d8ff;
- }
-
- .c41:hover .c50 svg path {
- fill: #4945ff;
- }
-
- .c44 {
+ .c43 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -750,13 +713,152 @@ describe('Admin | containers | RoleCreatePage', () => {
align-items: center;
}
- .c43 {
- border: none;
+ .c46 {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-flex-direction: row;
+ -ms-flex-direction: row;
+ flex-direction: row;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ }
+
+ .c56 {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-flex-direction: row;
+ -ms-flex-direction: row;
+ flex-direction: row;
+ -webkit-box-pack: center;
+ -webkit-justify-content: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ }
+
+ .c40 {
+ border: 1px solid #ffffff;
+ overflow: hidden;
+ }
+
+ .c40:hover:not([aria-disabled='true']) {
+ border: 1px solid #4945ff;
+ }
+
+ .c40:hover:not([aria-disabled='true']) .c51 {
+ color: #271fe0;
+ }
+
+ .c40:hover:not([aria-disabled='true']) .c49 {
+ color: #4945ff;
+ }
+
+ .c40:hover:not([aria-disabled='true']) > .c41 {
+ background: #f0f0ff;
+ }
+
+ .c40:hover:not([aria-disabled='true']) [data-strapi-dropdown='true'] {
+ background: #d9d8ff;
+ }
+
+ .c40:hover:not([aria-disabled='true']) svg path {
+ fill: #4945ff;
+ }
+
+ .c47 {
background: transparent;
- display: block;
- width: 100%;
- text-align: unset;
- padding: 0;
+ border: none;
+ position: relative;
+ outline: none;
+ }
+
+ .c47[aria-disabled='true'] {
+ pointer-events: none;
+ }
+
+ .c47[aria-disabled='true'] svg path {
+ fill: #666687;
+ }
+
+ .c47 svg {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ font-size: 0.625rem;
+ }
+
+ .c47 svg path {
+ fill: #4945ff;
+ }
+
+ .c47:after {
+ -webkit-transition-property: all;
+ transition-property: all;
+ -webkit-transition-duration: 0.2s;
+ transition-duration: 0.2s;
+ border-radius: 8px;
+ content: '';
+ position: absolute;
+ top: -4px;
+ bottom: -4px;
+ left: -4px;
+ right: -4px;
+ border: 2px solid transparent;
+ }
+
+ .c47:focus-visible {
+ outline: none;
+ }
+
+ .c47:focus-visible:after {
+ border-radius: 8px;
+ content: '';
+ position: absolute;
+ top: -5px;
+ bottom: -5px;
+ left: -5px;
+ right: -5px;
+ border: 2px solid #4945ff;
+ }
+
+ .c54 > * {
+ margin-left: 0;
+ margin-right: 0;
+ }
+
+ .c54 > * + * {
+ margin-left: 12px;
+ }
+
+ .c58 path {
+ fill: #666687;
+ }
+
+ .c48 {
+ text-align: left;
+ }
+
+ .c48 svg {
+ width: 0.875rem;
+ height: 0.875rem;
+ }
+
+ .c48 svg path {
+ fill: #8e8ea9;
+ }
+
+ .c44 {
+ height: 5.5rem;
}
@media (max-width:68.75rem) {
@@ -784,13 +886,13 @@ describe('Admin | containers | RoleCreatePage', () => {
}
@media (max-width:68.75rem) {
- .c53 {
+ .c59 {
grid-column: span;
}
}
@media (max-width:34.375rem) {
- .c53 {
+ .c59 {
grid-column: span;
}
}
@@ -987,69 +1089,78 @@ describe('Admin | containers | RoleCreatePage', () => {
-
-
-
- Address
-
-
- Define all allowed actions for the api::address plugin.
-
-
-
-
-
+ Address
-
+
+ Define all allowed actions for the api::address plugin.
+
+
+
{
padding-left: 32px;
}
- .c61 {
+ .c67 {
background: #eaeaef;
padding-top: 24px;
padding-right: 32px;
@@ -723,99 +723,62 @@ describe('Admin | containers | RoleEditPage', () => {
grid-column: span 7;
}
- .c60 {
+ .c66 {
grid-column: span 5;
}
- .c54 {
+ .c59 {
font-weight: 500;
font-size: 1rem;
line-height: 1.25;
color: #4a4a6a;
}
- .c56 {
+ .c57 {
+ font-weight: 400;
+ font-size: 0.75rem;
+ line-height: 1.33;
+ color: #4945ff;
+ }
+
+ .c60 {
font-weight: 400;
font-size: 0.875rem;
line-height: 1.43;
color: #666687;
}
- .c47 {
+ .c46 {
border-radius: 4px;
}
.c49 {
- background: #f6f6f9;
- padding: 24px;
- border-radius: 4px;
+ background: #ffffff;
+ padding-right: 24px;
+ padding-left: 24px;
}
.c52 {
- padding-right: 24px;
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1;
}
- .c58 {
+ .c62 {
background: #dcdce4;
- }
-
- .c59 {
- height: 2rem;
- width: 2rem;
border-radius: 50%;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
+ cursor: pointer;
+ width: 2rem;
+ height: 2rem;
+ cursor: pointer;
}
- .c59 svg {
- height: 0.375rem;
+ .c64 {
+ color: #666687;
width: 0.6875rem;
}
- .c59 svg path {
- fill: #666687;
- }
-
- .c48 {
- border: 1px solid transparent;
- overflow: hidden;
- }
-
- .c48:hover {
- border: 1px solid #4945ff;
- }
-
- .c48:hover .c53 {
- color: #271fe0;
- }
-
- .c48:hover .c55 {
- color: #4945ff;
- }
-
- .c48:hover > .c46 {
- background: #f0f0ff;
- }
-
- .c48:hover .c57 {
- background: #d9d8ff;
- }
-
- .c48:hover .c57 svg path {
- fill: #4945ff;
- }
-
- .c51 {
+ .c50 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -833,13 +796,152 @@ describe('Admin | containers | RoleEditPage', () => {
align-items: center;
}
- .c50 {
- border: none;
+ .c53 {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-flex-direction: row;
+ -ms-flex-direction: row;
+ flex-direction: row;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ }
+
+ .c63 {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-flex-direction: row;
+ -ms-flex-direction: row;
+ flex-direction: row;
+ -webkit-box-pack: center;
+ -webkit-justify-content: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ }
+
+ .c47 {
+ border: 1px solid #ffffff;
+ overflow: hidden;
+ }
+
+ .c47:hover:not([aria-disabled='true']) {
+ border: 1px solid #4945ff;
+ }
+
+ .c47:hover:not([aria-disabled='true']) .c58 {
+ color: #271fe0;
+ }
+
+ .c47:hover:not([aria-disabled='true']) .c56 {
+ color: #4945ff;
+ }
+
+ .c47:hover:not([aria-disabled='true']) > .c48 {
+ background: #f0f0ff;
+ }
+
+ .c47:hover:not([aria-disabled='true']) [data-strapi-dropdown='true'] {
+ background: #d9d8ff;
+ }
+
+ .c47:hover:not([aria-disabled='true']) svg path {
+ fill: #4945ff;
+ }
+
+ .c54 {
background: transparent;
- display: block;
- width: 100%;
- text-align: unset;
- padding: 0;
+ border: none;
+ position: relative;
+ outline: none;
+ }
+
+ .c54[aria-disabled='true'] {
+ pointer-events: none;
+ }
+
+ .c54[aria-disabled='true'] svg path {
+ fill: #666687;
+ }
+
+ .c54 svg {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ font-size: 0.625rem;
+ }
+
+ .c54 svg path {
+ fill: #4945ff;
+ }
+
+ .c54:after {
+ -webkit-transition-property: all;
+ transition-property: all;
+ -webkit-transition-duration: 0.2s;
+ transition-duration: 0.2s;
+ border-radius: 8px;
+ content: '';
+ position: absolute;
+ top: -4px;
+ bottom: -4px;
+ left: -4px;
+ right: -4px;
+ border: 2px solid transparent;
+ }
+
+ .c54:focus-visible {
+ outline: none;
+ }
+
+ .c54:focus-visible:after {
+ border-radius: 8px;
+ content: '';
+ position: absolute;
+ top: -5px;
+ bottom: -5px;
+ left: -5px;
+ right: -5px;
+ border: 2px solid #4945ff;
+ }
+
+ .c61 > * {
+ margin-left: 0;
+ margin-right: 0;
+ }
+
+ .c61 > * + * {
+ margin-left: 12px;
+ }
+
+ .c65 path {
+ fill: #666687;
+ }
+
+ .c55 {
+ text-align: left;
+ }
+
+ .c55 svg {
+ width: 0.875rem;
+ height: 0.875rem;
+ }
+
+ .c55 svg path {
+ fill: #8e8ea9;
+ }
+
+ .c51 {
+ height: 5.5rem;
}
@media (max-width:68.75rem) {
@@ -867,13 +969,13 @@ describe('Admin | containers | RoleEditPage', () => {
}
@media (max-width:68.75rem) {
- .c60 {
+ .c66 {
grid-column: span;
}
}
@media (max-width:34.375rem) {
- .c60 {
+ .c66 {
grid-column: span;
}
}
@@ -1104,69 +1206,78 @@ describe('Admin | containers | RoleEditPage', () => {
-
-
-
- Address
-
-
- Define all allowed actions for the api::address plugin.
-
-
-
-
-
+ Address
-
+
+ Define all allowed actions for the api::address plugin.
+
+
+