mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-01 20:04:52 +00:00
fix the contract interal tab and beta tag styling (#22786)
This commit is contained in:
parent
d7d6a6f8b3
commit
451f1a7b06
@ -15,11 +15,22 @@
|
|||||||
|
|
||||||
.contract-mode-radio-group {
|
.contract-mode-radio-group {
|
||||||
border-radius: @size-xs;
|
border-radius: @size-xs;
|
||||||
border: 1px solid @border-color-7;
|
border: 1px solid @grey-300;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
.ant-radio-button-wrapper,
|
||||||
|
.ant-radio-button-wrapper-checked {
|
||||||
|
border: none;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.ant-radio-button-wrapper:first-child {
|
.ant-radio-button-wrapper:first-child {
|
||||||
border-radius: @size-xs 0 0 @size-xs;
|
border-radius: @size-xs 0 0 @size-xs;
|
||||||
|
border-left: none;
|
||||||
}
|
}
|
||||||
.ant-radio-button-wrapper:last-child {
|
.ant-radio-button-wrapper:last-child {
|
||||||
border-radius: 0 @size-xs @size-xs 0;
|
border-radius: 0 @size-xs @size-xs 0;
|
||||||
@ -32,4 +43,23 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ant-radio-button-wrapper:not(:first-child)::before {
|
||||||
|
width: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
|
||||||
|
background-color: @primary-50;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
width: 1px !important;
|
||||||
|
background: @grey-300;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
&::before {
|
||||||
|
background: @grey-300;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -22,11 +22,14 @@
|
|||||||
}
|
}
|
||||||
.service-beta-tag {
|
.service-beta-tag {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0px;
|
top: 3px;
|
||||||
right: -20px;
|
right: -22px;
|
||||||
|
|
||||||
sup {
|
sup {
|
||||||
height: 16px;
|
height: 14px;
|
||||||
|
padding: 2px 4px;
|
||||||
|
font-size: 8px;
|
||||||
|
font-weight: 500;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -578,14 +578,16 @@ a[href].link-text-grey,
|
|||||||
|
|
||||||
// beta tag for service page
|
// beta tag for service page
|
||||||
.service-beta-tag {
|
.service-beta-tag {
|
||||||
|
border-radius: 8px;
|
||||||
sup {
|
sup {
|
||||||
height: auto;
|
height: auto;
|
||||||
padding: 0 4px;
|
padding: 0 4px;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
background: @primary-1;
|
font-weight: 500;
|
||||||
border: 1px solid @primary-color;
|
background: @primary-50;
|
||||||
color: @primary-color;
|
border: 1px solid @primary-1;
|
||||||
|
color: @primary-8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -597,9 +599,9 @@ a[href].link-text-grey,
|
|||||||
border-radius: 30px;
|
border-radius: 30px;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
background: @primary-1;
|
background: @primary-50;
|
||||||
border: 1px solid @primary-color;
|
border: 1px solid @primary-1;
|
||||||
color: @primary-color;
|
color: @primary-8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user