mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
use border radius for inputs & buttons
This commit is contained in:
parent
7cf9e92678
commit
88d868cce5
@ -1,3 +1,6 @@
|
|||||||
|
@inputsBorderRadius: 9px;
|
||||||
|
@buttonsBorderRadius: 9px;
|
||||||
|
|
||||||
// Fixments
|
// Fixments
|
||||||
.ant-btn {
|
.ant-btn {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -6,6 +9,8 @@
|
|||||||
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
--webkit-user-select: none;
|
--webkit-user-select: none;
|
||||||
|
|
||||||
|
border-radius: @buttonsBorderRadius;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-result-extra {
|
.ant-result-extra {
|
||||||
@ -55,6 +60,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ant-select {
|
||||||
|
.ant-select-selector {
|
||||||
|
border-radius: @inputsBorderRadius !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-select-arrow {
|
||||||
|
right: 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// fix colors for select & dropdown
|
// fix colors for select & dropdown
|
||||||
.ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
.ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
||||||
background-color: var(--background-color-primary);
|
background-color: var(--background-color-primary);
|
||||||
@ -397,12 +412,16 @@
|
|||||||
background-color: var(--background-color-accent);
|
background-color: var(--background-color-accent);
|
||||||
|
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
|
|
||||||
|
border-radius: @inputsBorderRadius;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-input-affix-wrapper {
|
.ant-input-affix-wrapper {
|
||||||
background-color: var(--background-color-accent);
|
background-color: var(--background-color-accent);
|
||||||
|
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
|
|
||||||
|
border-radius: @inputsBorderRadius;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-input-affix-wrapper-status-error {
|
.ant-input-affix-wrapper-status-error {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user