-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Feature-9082 Enhance language dropdown button (#9105)"
This reverts commit 28b3a36.
- Loading branch information
Showing
5 changed files
with
94 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,101 +1,80 @@ | ||
.translation.menu { | ||
left: -6px !important; | ||
width: 9.6rem !important; | ||
.translation-dropdown-container { | ||
height: 3rem; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
} | ||
|
||
.language.icon { | ||
font-size: 1.8em; | ||
color: #808080; | ||
.translation-dropdown-wrapper { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
flex: 1; | ||
} | ||
|
||
.translation-dropdown { | ||
padding: 2px; | ||
display: flex; | ||
justify-content: space-between; | ||
flex-direction: row; | ||
align-items: center; | ||
width: 100%; | ||
background-color: #d3d3d3; | ||
} | ||
|
||
.block-side-panel { | ||
.translation-dropdown-component { | ||
display: inline-block; | ||
margin-left: auto; | ||
|
||
.translation-dropdown-container { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
width: 95px !important; | ||
height: 33px !important; | ||
margin-left: 10px !important; | ||
|
||
.menu.transition.visible { | ||
font-size: small !important; | ||
width: 115px !important; | ||
} | ||
|
||
.text { | ||
font-size: small !important; | ||
color: #808080 !important; | ||
} | ||
} | ||
|
||
.translation-dropdown-button { | ||
border-radius: .28571429rem; | ||
border-top-left-radius: .285714rem; | ||
border-top-right-radius: .285714rem; | ||
border-bottom-right-radius: .285714rem; | ||
border-bottom-left-radius: .285714rem; | ||
font-family: sans-serif; | ||
font-size: 100%; | ||
line-height: 1.15; | ||
text-rendering: auto; | ||
color: buttontext; | ||
letter-spacing: normal; | ||
word-spacing: normal; | ||
text-transform: none; | ||
text-shadow: none; | ||
display: flex; | ||
justify-content: space-evenly; | ||
flex-direction: column; | ||
text-align: center; | ||
align-items: flex-start; | ||
cursor: default; | ||
box-sizing: border-box; | ||
background-color: buttonface; | ||
padding: 1px 6px; | ||
border-image: initial; | ||
} | ||
|
||
.dropdown-toggle { | ||
width: 100%; | ||
|
||
.translation-dropdown-wrapper { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
flex: 1; | ||
} | ||
|
||
.translation-dropdown-component { | ||
display: inline-block; | ||
.translation-dropdown .ui.dropdown { | ||
background-color: #f9f9f9; | ||
border: 1px solid #ccc; | ||
border-radius: 4px; | ||
padding: 8px; | ||
} | ||
|
||
.translation-dropdown-icon { | ||
margin-left: 0 !important; | ||
text-align: right; | ||
color: #808080; | ||
} | ||
} | ||
.translation-dropdown .ui.dropdown .menu { | ||
background-color: #f9f9f9; | ||
} | ||
|
||
.translation-length { | ||
font-size: .8em; | ||
margin-left: 5px; | ||
background-color: #808080; | ||
border-radius: 100%; | ||
color: #fff; | ||
padding: 2px 5px; | ||
margin-top: 1px; | ||
} | ||
} | ||
.translation-dropdown .ui.dropdown .item { | ||
color: #333; | ||
} | ||
|
||
.translate-hidden { | ||
display: none !important; | ||
} | ||
} | ||
.translation-dropdown .ui.dropdown i.dropdown.icon { | ||
color: #333; | ||
} | ||
|
||
.translation-dropdown-container .ui.dropdown .menu > .custom-item { | ||
padding: 16px 4px !important; | ||
} | ||
.translation-dropdown-button { | ||
width: 9.6rem; | ||
border-radius: .28571429rem; | ||
border-top-left-radius: .285714rem; | ||
border-top-right-radius: .285714rem; | ||
border-bottom-right-radius: .285714rem; | ||
border-bottom-left-radius: .285714rem; | ||
font-family: sans-serif; | ||
font-size: 100%; | ||
line-height: 1.15; | ||
text-rendering: auto; | ||
color: buttontext; | ||
letter-spacing: normal; | ||
word-spacing: normal; | ||
text-transform: none; | ||
text-shadow: none; | ||
display: flex; | ||
justify-content: space-evenly; | ||
flex-direction: column; | ||
text-align: center; | ||
align-items: flex-start; | ||
cursor: default; | ||
box-sizing: border-box; | ||
background-color: buttonface; | ||
padding: 1px 6px; | ||
border-image: initial; | ||
} | ||
|
||
.translation.menu { | ||
left: -6px !important; | ||
margin-top: 10px !important; | ||
width: 9.6rem !important; | ||
} |