mirror of https://github.com/go-gitea/gitea.git
create class for inlie positioned lists (#7393)
replace org create alignment hack fix #6464 Signed-off-by: Michael Gnehr <michael@gnehr.de>
This commit is contained in:
parent
2a1ec31988
commit
0018d5603e
|
@ -211,6 +211,9 @@ footer .ui.left,footer .ui.right{line-height:40px}
|
||||||
.ui.tabular.menu .item{color:rgba(0,0,0,.5)}
|
.ui.tabular.menu .item{color:rgba(0,0,0,.5)}
|
||||||
.ui.tabular.menu .item:hover{color:rgba(0,0,0,.8)}
|
.ui.tabular.menu .item:hover{color:rgba(0,0,0,.8)}
|
||||||
.ui.tabular.menu .item.active{color:rgba(0,0,0,.9)}
|
.ui.tabular.menu .item.active{color:rgba(0,0,0,.9)}
|
||||||
|
.inline-grouped-list{display:inline-block;vertical-align:top}
|
||||||
|
.inline-grouped-list>.ui{display:block;margin-top:5px;margin-bottom:10px}
|
||||||
|
.inline-grouped-list>.ui:first-child{margin-top:1px}
|
||||||
.markdown:not(code){overflow:hidden;font-size:16px;line-height:1.6!important;word-wrap:break-word}
|
.markdown:not(code){overflow:hidden;font-size:16px;line-height:1.6!important;word-wrap:break-word}
|
||||||
.markdown:not(code).ui.segment{padding:3em}
|
.markdown:not(code).ui.segment{padding:3em}
|
||||||
.markdown:not(code).file-view{padding:2em 2em 2em!important}
|
.markdown:not(code).file-view{padding:2em 2em 2em!important}
|
||||||
|
|
|
@ -617,7 +617,6 @@ code,
|
||||||
.file-comment {
|
.file-comment {
|
||||||
font: 12px @monospaced-fonts, monospace;
|
font: 12px @monospaced-fonts, monospace;
|
||||||
color: rgba(0, 0, 0, 0.87);
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui.floating.dropdown {
|
.ui.floating.dropdown {
|
||||||
|
@ -889,3 +888,19 @@ footer {
|
||||||
.ui.tabular.menu .item.active {
|
.ui.tabular.menu .item.active {
|
||||||
color: rgba(0, 0, 0, 0.9);
|
color: rgba(0, 0, 0, 0.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* multiple radio or checkboxes as inline element */
|
||||||
|
.inline-grouped-list {
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: top;
|
||||||
|
|
||||||
|
> .ui {
|
||||||
|
display: block;
|
||||||
|
margin-top: 5px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
|
||||||
|
&:first-child {
|
||||||
|
margin-top: 1px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -17,25 +17,21 @@
|
||||||
|
|
||||||
<div class="inline field {{if .Err_OrgVisibility}}error{{end}}">
|
<div class="inline field {{if .Err_OrgVisibility}}error{{end}}">
|
||||||
<span class="inline required field"><label for="visibility">{{.i18n.Tr "org.settings.visibility"}}</label></span>
|
<span class="inline required field"><label for="visibility">{{.i18n.Tr "org.settings.visibility"}}</label></span>
|
||||||
|
<div class="inline-grouped-list">
|
||||||
<div class="ui radio checkbox">
|
<div class="ui radio checkbox">
|
||||||
<input class="hidden enable-system-radio" tabindex="0" name="visibility" type="radio" value="0" {{if .DefaultOrgVisibilityMode.IsPublic}}checked{{end}}/>
|
<input class="hidden enable-system-radio" tabindex="0" name="visibility" type="radio" value="0" {{if .DefaultOrgVisibilityMode.IsPublic}}checked{{end}}/>
|
||||||
<label>{{.i18n.Tr "org.settings.visibility.public"}}</label>
|
<label>{{.i18n.Tr "org.settings.visibility.public"}}</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="inline field {{if .Err_OrgVisibility}}error{{end}}">
|
|
||||||
<label> </label>
|
|
||||||
<div class="ui radio checkbox">
|
<div class="ui radio checkbox">
|
||||||
<input class="hidden enable-system-radio" tabindex="0" name="visibility" type="radio" value="1" {{if .DefaultOrgVisibilityMode.IsLimited}}checked{{end}}/>
|
<input class="hidden enable-system-radio" tabindex="0" name="visibility" type="radio" value="1" {{if .DefaultOrgVisibilityMode.IsLimited}}checked{{end}}/>
|
||||||
<label>{{.i18n.Tr "org.settings.visibility.limited"}}</label>
|
<label>{{.i18n.Tr "org.settings.visibility.limited"}}</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="inline field {{if .Err_OrgVisibility}}error{{end}}">
|
|
||||||
<label> </label>
|
|
||||||
<div class="ui radio checkbox">
|
<div class="ui radio checkbox">
|
||||||
<input class="hidden enable-system-radio" tabindex="0" name="visibility" type="radio" value="2" {{if .DefaultOrgVisibilityMode.IsPrivate}}checked{{end}}/>
|
<input class="hidden enable-system-radio" tabindex="0" name="visibility" type="radio" value="2" {{if .DefaultOrgVisibilityMode.IsPrivate}}checked{{end}}/>
|
||||||
<label>{{.i18n.Tr "org.settings.visibility.private"}}</label>
|
<label>{{.i18n.Tr "org.settings.visibility.private"}}</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="inline field">
|
<div class="inline field">
|
||||||
<label></label>
|
<label></label>
|
||||||
<button class="ui green button">
|
<button class="ui green button">
|
||||||
|
|
Loading…
Reference in New Issue