mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
activity: Move .container CSS from bootstrap to activity.css.
* `.container` class is only used in `/activity/support` and `/activity/remote/support` pages. It is also used in emails but it has its own CSS. * Since the CSS applied is localized and looks good, we just move the CSS relevant to us to `activity.css` which is used by both of these pages. * Searched `"container"`, ` container `, `"container ` and ` container"` to look for the uses of this class.
This commit is contained in:
@@ -512,3 +512,21 @@ tr.admin td:first-child {
|
|||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
width: 940px;
|
||||||
|
margin-right: auto;
|
||||||
|
margin-left: auto;
|
||||||
|
|
||||||
|
@media (width <= 767px) {
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (767px < width <= 979px) {
|
||||||
|
width: 724px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (width >= 1180px) {
|
||||||
|
width: 1170px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
25
web/third/bootstrap/css/bootstrap.portico.css
vendored
25
web/third/bootstrap/css/bootstrap.portico.css
vendored
@@ -79,22 +79,6 @@ a:focus {
|
|||||||
color: #005580;
|
color: #005580;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
.container {
|
|
||||||
width: 940px;
|
|
||||||
}
|
|
||||||
.container {
|
|
||||||
margin-right: auto;
|
|
||||||
margin-left: auto;
|
|
||||||
}
|
|
||||||
.container:before,
|
|
||||||
.container:after {
|
|
||||||
display: table;
|
|
||||||
content: "";
|
|
||||||
line-height: 0;
|
|
||||||
}
|
|
||||||
.container:after {
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
p {
|
p {
|
||||||
margin: 0 0 10px;
|
margin: 0 0 10px;
|
||||||
}
|
}
|
||||||
@@ -290,9 +274,6 @@ input:focus:invalid:focus {
|
|||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
}
|
}
|
||||||
.container {
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
.row {
|
.row {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
@@ -310,9 +291,6 @@ input:focus:invalid:focus {
|
|||||||
.row:after {
|
.row:after {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
.container {
|
|
||||||
width: 724px;
|
|
||||||
}
|
|
||||||
input {
|
input {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
@@ -330,9 +308,6 @@ input:focus:invalid:focus {
|
|||||||
.row:after {
|
.row:after {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
.container {
|
|
||||||
width: 1170px;
|
|
||||||
}
|
|
||||||
input {
|
input {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user