humhub/static/less/oembed.less
Yuriy Bakhtin 7993120486
Remove "regular" style of checkbox and radio (#5821)
* Remove "regular" style of checkbox and radio

* Update CHANGELOG-DEV.md (#5821)

* Fix checkbox style on oembed confirmation

* Fix test

* Fix test

* Fix checkbox style on widget "ContentVisibilitySelect"

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2022-11-10 14:28:55 +01:00

86 lines
1.7 KiB
Plaintext

.oembed_snippet[data-oembed-provider="youtube.com"],
.oembed_snippet {
margin-top: 10px;
position: relative;
padding-bottom: 55%;
padding-top: 15px;
overflow: hidden;
}
.oembed_snippet[data-oembed-provider="twitter.com"] {
padding-bottom: 0 !important;
padding-top: 0;
margin-top: 0;
}
.oembed_snippet iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.oembed_confirmation {
background: #feebb4;
border-radius: 4px;
padding: 15px;
line-height: 30px;
i.fa {
float: left;
color: #02a0b0;
background: #FFF;
border-radius: 50%;
font-size: 30px;
line-height: 25px;
margin-right: 15px;
}
> div:not(.clearfix) {
float: left;
}
}
#oembed-providers {
width: 100%;
display: flex;
flex-direction: row;
justify-content: left;
align-items: center;
flex-wrap: wrap;
margin: 0 -0.5rem;
.oembed-provider-container {
padding: 0;
.oembed-provider {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
border: 1px solid #ddd;
border-radius: 2px;
padding: 0.75rem;
margin: 0 0.5rem 0.5rem 0.5rem;
.oembed-provider-name {
display: flex;
justify-content: center;
align-items: center;
.label.label-error {
margin-left: 2px;
}
}
}
}
}
#endpoint-parameters {
display: flex;
flex-direction: row;
justify-content: left;
align-items: center;
flex-wrap: wrap;
margin: 0 -15px;
}