Bläddra i källkod

Add default TABLE tag CSS styling

Markus Ochel 12 år sedan
förälder
incheckning
632212b874
2 ändrade filer med 37 tillägg och 19 borttagningar
  1. 37 0
      admin/static/css/common.styl
  2. 0 19
      site/static/css/theme.styl

+ 37 - 0
admin/static/css/common.styl

@@ -175,6 +175,43 @@ button, .button
 ::-webkit-input-placeholder
   color: #e3e3e3
 
+table
+  width: 100%
+  font-size: 0.9em
+  line-height: 1.3em
+  border-collapse: collapse
+
+  th
+    font-weight: $boldFont
+
+  th, td
+    padding: 5px 10px
+    border: 1px solid $faintGrey
+    text-align: left
+    vertical-align: top
+
+
+/* Extra helper classes */
+
+.primary-color
+  color: $primaryColor
+
+.primary-background
+  color: #fff
+  background: $primaryColor
+
+.normal
+  font-weight: $normalFont
+
+.bold
+  font-weight: $boldFont
+
+.float-right
+  float: right
+
+.float-left
+  float: left
+
 .clear
   clear: both
 

+ 0 - 19
site/static/css/theme.styl

@@ -634,25 +634,6 @@ footer
 
 /* Extra helper classes */
 
-.primary-color
-  color: $primaryColor
-
-.primary-background
-  color: #fff
-  background: $primaryColor
-
-.normal
-  font-weight: $normalFont
-
-.bold
-  font-weight: $boldFont
-
-.float-right
-  float: right
-
-.float-left
-  float: left
-
 .hide
   display: none