diff --git a/media/css/core.css b/media/css/core.css index da96520489b..ce389843711 100644 --- a/media/css/core.css +++ b/media/css/core.css @@ -1068,6 +1068,43 @@ select.dropdown { display: none; } } +/* Table lists */ +div.module div.module-title { + height: 2.625em; + overflow: hidden; +} + +div.module div.module-list ul li.module-item div.module-title .module-name { + line-height: 1.5em; +} +div.module div.module-list ul li.module-item div.module-title a.module-name { + text-decoration: none; +} + +div.module div.module-list ul li.module-item div.module-title .module-info { + display: block; + font-size: .75em; + line-height: 1.5em; + color: #999; +} +div.module div.module-list ul li.module-item div.module-title a.module-info { + text-decoration: none; +} + +div.module div.module-title ul.module-item-menu { + top: 10px; + right: 10px; +} + +div.module div.module-list ul.module-item-menu a.module-action { + display: block; + height: 1em; + padding: .5em .75em; + font-size: 1em; + font-weight: normal; +} + + /* Domain Pages */ .domain-machine { color: #999; } @@ -1123,12 +1160,23 @@ div.httpexchange div.highlight pre { font-size: .9em; } + /* Subprojects */ -div.module.project-subprojects div.subproject-meta { - font-size: .9em; - font-style: italic; + +div.module.project-subprojects li.subproject a.subproject-url:before { + padding-right: .5em; + font-family: FontAwesome; + font-size: 1.2em; + content: "\f0c1"; +} + +div.module.project-subprojects li.subproject a.subproject-edit:before { + font-family: FontAwesome; + font-weight: normal; + content: "\f044"; } + /* Pygments */ div.highlight pre .hll { background-color: #ffffcc } div.highlight pre .c { color: #60a0b0; font-style: italic } /* Comment */ diff --git a/readthedocs/templates/projects/projectrelationship_list.html b/readthedocs/templates/projects/projectrelationship_list.html index a5aca6a2753..bc8b5dc9398 100644 --- a/readthedocs/templates/projects/projectrelationship_list.html +++ b/readthedocs/templates/projects/projectrelationship_list.html @@ -12,7 +12,7 @@ {% block project_edit_content_header %}{% trans "Subprojects" %}{% endblock %} {% block project_edit_content %} -

+

{% blocktrans trimmed %} Subprojects are projects hosted from the same URL as their parent project. This is useful for organizing multiple projects under a custom domain. @@ -45,33 +45,43 @@

-
- +
{% endif %}