aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/static/css
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/static/css')
-rw-r--r--mediagoblin/static/css/audio.css3
-rw-r--r--mediagoblin/static/css/base.css156
2 files changed, 142 insertions, 17 deletions
diff --git a/mediagoblin/static/css/audio.css b/mediagoblin/static/css/audio.css
index e007a0e1..5c50e727 100644
--- a/mediagoblin/static/css/audio.css
+++ b/mediagoblin/static/css/audio.css
@@ -1,6 +1,9 @@
.audio-spectrogram {
position: relative;
}
+.audio-spectrogram > img {
+ width: 100%;
+}
.playhead {
position: absolute;
top: 0;
diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css
index 0bd58738..6da19f94 100644
--- a/mediagoblin/static/css/base.css
+++ b/mediagoblin/static/css/base.css
@@ -25,7 +25,7 @@
src: local('Lato Regular'), local('Lato-Regular'), url('../fonts/Lato-Regular.ttf') format('truetype');
}
-body {
+html, body {
background-color: #161616;
color: #C3C3C3;
padding: 0;
@@ -110,6 +110,23 @@ input, textarea {
/* website structure */
+#wrap {
+ min-height: 100%;
+ height: auto;
+
+ /* This must be equal to the footer height + 5px */
+ margin-bottom: -35px;
+}
+
+#wrap:after {
+ content: "";
+ display: block;
+}
+
+footer, #wrap:after {
+ height: 30px;
+}
+
header {
width: 100%;
padding: 0;
@@ -154,6 +171,26 @@ header {
a.logo {
color: #fff;
font-weight: bold;
+ text-decoration: none;
+}
+
+.status_icon {
+ border-radius: 2px;
+ padding: 4px;
+ margin: 0px 4px;
+}
+
+.num_queued {
+ background: #56446F;
+}
+
+.num_failed {
+ background: #87453B;
+}
+
+.status_icon a {
+ display: inline-block;
+ color: #C3C3C3;
}
.logo img {
@@ -176,9 +213,7 @@ a.logo {
footer {
width: 100%;
- height: 30px;
border-top: 1px solid #333;
- bottom: 0px;
padding: 8px 0;
text-align: center;
font-size: 0.875em;
@@ -196,14 +231,20 @@ footer {
}
.media_image_container {
- display: flex;
- justify-content: center;
}
.media_image {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
max-width: 100%;
}
+.media_other_container {
+ display: flex;
+ justify-content: center;
+}
+
.media_pane {
/* in place for possible future wide view */
/* border-bottom: 1px solid #333333;*/
@@ -353,6 +394,12 @@ text-align: center;
margin-right: auto;
}
+.form_box > h1, .form_box_xl > h1 {
+ /* Fix header overflowing issue. */
+ overflow: hidden;
+ text-overflow: ellipsis
+}
+
.form_box_xl {
max-width: 460px;
}
@@ -416,11 +463,9 @@ text-align: center;
}
.form_field_label {
- margin-bottom: 4px;
-}
-
-.form_field_label {
font-size:1.125em;
+ margin-bottom: 0;
+ padding: 10px 0;
}
.form_field_description {
@@ -544,11 +589,11 @@ ul#action_to_resolve {list-style:none; margin-left:10px;}
border-radius: 0 0 5px 5px;
padding: 0 0 6px;
text-overflow: ellipsis;
- white-space: nowrap;
overflow: hidden;
border-color: #0D0D0D;
border-style: solid;
border-width: 1px 1px 2px;
+ position: relative;
}
.media_thumbnail a {
@@ -566,12 +611,11 @@ a.thumb_entry_title {
padding: 8px;
}
-/* For now, this is commented out since our thumbnails are actually 180px high.
- *
- * .media_thumbnail img {
- * max-height: 135px;
- * }
- */
+.entry_type_icon {
+ position: absolute;
+ top: 2px;
+ left: 2px;
+}
.thumb_entry_last {
margin-right: 0px;
@@ -733,6 +777,42 @@ table.media_panel th {
padding-bottom: 4px;
text-align: left;
}
+.thumb-overlay-status {
+ position: absolute;
+ margin: auto;
+ top: 0; bottom: 0; left: 0; right: 0;
+ width: 180px;
+ height: 20px;
+ display: inline;
+ text-align: center;
+ background-color: rgba(255, 255, 255, 0.8);
+}
+
+.thumb-processing {
+ color: black;
+ font-weight: bold;
+}
+
+.thumb-failed {
+ color: red;
+ font-weight: bold;
+}
+
+.thumb-wrapper {
+ position: relative;
+/* for proportional thumb resizing */
+ width: auto;
+ height: auto;
+ display: inline-block;
+}
+
+.thumb-wrapper img {
+ max-height: 180px;
+ max-width: 180px;
+}
+.media_panel td {
+ vertical-align: middle;
+}
/* moderator panels */
@@ -872,7 +952,12 @@ pre {
margin-left:3px;
margin-right:3px;
}
+ #thingy_view {
+ width:640px;
+ height:640px;
+ }
}
+
/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
.container .three.columns.media_thumbnail {
@@ -881,7 +966,7 @@ pre {
margin-right:2px;
}
.media_thumbnail.thumb_entry img {
- margin-left: -16.5px;
+ max-width:100%;
}
.thumb_gallery {
margin-left: 0;
@@ -889,7 +974,12 @@ pre {
}
.navigation_button {
}
+ #thingy_view {
+ width:508px;
+ height:508px;
+ }
}
+
/* All Mobile Sizes (devices and browser) */
@media screen and (max-width: 767px) {
.thumb_row {
@@ -931,6 +1021,22 @@ pre {
}
}
+/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
+@media only screen and (min-width: 480px) and (max-width: 767px) {
+ #thingy_view {
+ width:420px;
+ height:420px;
+ }
+}
+
+/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
+@media only screen and (max-width: 479px) {
+ #thingy_view {
+ width:300px;
+ height:300px;
+ }
+}
+
p.verifier {
text-align:center;
font-size:50px;
@@ -950,3 +1056,19 @@ table.metadata_editor tr td {
table.metadata_editor tr td.form_field_input input {
width:350px;
}
+
+.application {
+ min-height: 30px;
+ margin-left: 70px;
+}
+
+.application-icon {
+ position: absolute;
+ left: 12px;
+ width: 50px;
+ height: 50px;
+}
+
+.application-button {
+ float: right;
+}