ColorPicker: migrated styles from sass to emotion (#30909)

* ColorPicker: migrated styles from sass to emotion

* fixes frontend test

* updated some changes

* updated some changes

* fixed small import nits
This commit is contained in:
Uchechukwu Obasi
2021-02-09 12:19:12 +01:00
committed by GitHub
parent ef8a5b760f
commit b4d51c9f68
7 changed files with 145 additions and 209 deletions

View File

@@ -71,3 +71,24 @@ $easing: cubic-bezier(0, 0, 0.265, 1);
padding: 0;
}
}
.drop-popover.gf-color-picker {
.drop-content {
width: 210px;
}
}
// TODO: Remove. This is a temporary solution until color picker popovers are used
// with Drop.js.
.drop-popover.drop-popover--transparent {
.drop-content {
border: none;
background: none;
padding: 0;
max-width: none;
&:before {
display: none;
}
}
}