mirror of
https://github.com/go-gitea/gitea.git
synced 2026-02-27 17:11:03 +01:00
The banner allows site operators to communicate important announcements (e.g., maintenance windows, policy updates, service notices) directly within the UI. The maintenance mode only allows admin to access the web UI. * Fix #2345 * Fix #9618 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
35 lines
744 B
CSS
35 lines
744 B
CSS
/* based on Fomantic UI container module, with just the parts extracted that we use. If you find any
|
|
unused rules here after refactoring, please remove them. */
|
|
|
|
.ui.container {
|
|
width: 1280px;
|
|
max-width: calc(100% - calc(2 * var(--page-margin-x)));
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.ui.fluid.container {
|
|
width: 100%;
|
|
}
|
|
.ui.container.medium-width {
|
|
width: 800px;
|
|
}
|
|
|
|
.ui.message.web-banner-container {
|
|
position: relative;
|
|
margin: 0;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.ui.message.web-banner-container > .web-banner-content {
|
|
width: 1280px;
|
|
max-width: calc(100% - calc(2 * var(--page-margin-x)));
|
|
margin: auto;
|
|
}
|
|
|
|
.ui.message.web-banner-container > button.dismiss-banner {
|
|
position: absolute;
|
|
right: 20px;
|
|
top: 15px;
|
|
}
|