summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2019-10-29 07:29:57 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2019-10-29 09:26:11 (GMT)
commit2c54172cc322201e95558495dc4dce290e024d86 (patch)
tree3cb215f6ca96fc6a9355940d936404a9e53c3406
parent0c854a9e50df58ca4f18eef2ae0350ca5aa2e3de (diff)
downloadcombo-2c54172cc322201e95558495dc4dce290e024d86.zip
combo-2c54172cc322201e95558495dc4dce290e024d86.tar.gz
combo-2c54172cc322201e95558495dc4dce290e024d86.tar.bz2
manager: right align page/cell visibility info (#37285)
-rw-r--r--combo/manager/static/css/combo.manager.css18
1 files changed, 15 insertions, 3 deletions
diff --git a/combo/manager/static/css/combo.manager.css b/combo/manager/static/css/combo.manager.css
index e9cc94e..4553360 100644
--- a/combo/manager/static/css/combo.manager.css
+++ b/combo/manager/static/css/combo.manager.css
@@ -11,6 +11,11 @@ div.placeholder {
margin-bottom: 2em;
}
+div#pages-list div.page {
+ display: flex;
+ align-items: center;
+}
+
div.cell-list > div {
background: white;
border: 1px solid #eee;
@@ -45,12 +50,19 @@ div.cell-list > div.toggled > div {
div.cell > h3 {
background: #fafafa;
margin: 0;
- padding: 1ex 1ex 1ex 0;
+ padding: 0 2em 0 0;
min-width: 10em;
color: #222;
font-weight: normal;
cursor: pointer;
white-space: nowrap;
+ display: flex;
+ align-items: center;
+}
+
+div.cell > h3 .handle {
+ flex: 0;
+ padding: 1em 0.5em;
}
div.cell h3 .group1,
@@ -59,8 +71,7 @@ div.page .group1 {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
- vertical-align: middle;
- width: 60%;
+ flex: 1;
}
div.cell h3 span.extra-css-class {
@@ -73,6 +84,7 @@ div.cell h3 span.visibility-summary,
div.page span.visibility-summary {
font-size: 80%;
padding-left: 1em;
+ padding-right: 1rem;
display: inline-block;
overflow: hidden;
white-space: nowrap;