Add visual feedback on link hover
[mediagoblin.git] / mediagoblin / static / css / base.css
index f8726708f8fb82d0f2b0f078bf1beb69745e6db5..af99c5f7249e72ad92743f820bd0de2344ca2d32 100644 (file)
@@ -74,6 +74,10 @@ a {
   color: #86D4B1;
 }
 
+a:hover {
+    text-decoration: underline
+}
+
 a.highlight {
   color: #fff;
 }
@@ -142,7 +146,7 @@ header {
 
 .header_right {
   width: 47%;
-  margin: 8px 8px 4px 0;
+  margin: 8px 8px 8px 0;
   display: inline-block;
   float: right;
   text-align: right;
@@ -171,11 +175,31 @@ 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 {
   vertical-align: middle;
-  margin: 6px 8px 6px 0;
+  margin: 8px 8px 6px 0;
 }
 
 .welcomeimage {
@@ -258,12 +282,22 @@ footer {
   cursor: pointer;
 }
 
+.button_action:hover, .button_form:hover {
+    text-decoration: none;
+    border-color: #252525 #2B2B2B #464646;
+}
+
 .button_action_highlight, .button_form {
   background-color: #86D4B1;
   border-color: #A2DEC3 #6CAA8E #5C9179;
   color: #283F35;
 }
 
+.button_action_highlight:hover {
+    text-decoration: none;
+    border-color: #5C9179 #6CAA8E #A2DEC3;
+}
+
 .button_info {
   background-color: #508BB5;
   border-color: #5899C7 #437699 #427496;
@@ -374,6 +408,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;
 }
@@ -436,12 +476,10 @@ text-align: center;
   margin-bottom: 10px;
 }
 
-.form_field_label {
-  margin-bottom: 4px;
-}
-
 .form_field_label {
   font-size:1.125em;
+  margin-bottom: 0;
+  padding: 10px 0;
 }
 
 .form_field_description {
@@ -565,11 +603,14 @@ 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:hover {
+    border-color: #0D0D0D #0D0D0D #378566 #0D0D0D;
 }
 
 .media_thumbnail a {
@@ -587,12 +628,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;
@@ -754,6 +794,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 */