Bladeren bron

Fix themes

- Add padding for "Connection" button
- Adjust height of .header and #global. I don't really like this solution
  but I can't see any other solution
Marien Fressinaud 11 jaren geleden
bovenliggende
commit
0878b32faf
4 gewijzigde bestanden met toevoegingen van 27 en 6 verwijderingen
  1. 10 1
      p/themes/Dark/dark.css
  2. 8 2
      p/themes/Flat/flat.css
  3. 5 2
      p/themes/Origine/origine.css
  4. 4 1
      p/themes/base-theme/base.css

+ 10 - 1
p/themes/Dark/dark.css

@@ -437,12 +437,18 @@ a.btn {
 /*=== STRUCTURE */
 /*===============*/
 /*=== Header */
+.header {
+	height: 85px;
+}
 .header > .item {
-	padding: 10px 0;
+	padding: 10px;
 	vertical-align: middle;
 	text-align: center;
 	border-bottom: 1px solid #333;
 }
+.header > .item.title h1 {
+	margin: 0.5em 0;
+}
 .header > .item.title h1 a {
 	text-decoration: none;
 }
@@ -454,6 +460,9 @@ a.btn {
 }
 
 /*=== Body */
+#global {
+	height: calc(100% - 85px);
+}
 .aside {
 	border-right: 1px solid #333;
 	background: #1c1c1c;

+ 8 - 2
p/themes/Flat/flat.css

@@ -427,14 +427,17 @@ a.btn {
 /*===============*/
 /*=== Header */
 .header {
+	height: 85px;
 	background: #ecf0f1;
 }
 .header > .item {
-	padding: 10px 0;
+	padding: 10px;
 	vertical-align: middle;
 	text-align: center;
 }
-
+.header > .item.title h1 {
+	margin: 0.5em 0;
+}
 .header > .item.title h1 a {
 	text-decoration: none;
 }
@@ -446,6 +449,9 @@ a.btn {
 }
 
 /*=== Body */
+#global {
+	height: calc(100% - 85px);
+}
 .aside {
 	background: #ecf0f1;
 }

+ 5 - 2
p/themes/Origine/origine.css

@@ -11,6 +11,7 @@
 html, body {
 	height: 100%;
 	font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", sans-serif;
+	background: #fafafa;
 }
 
 /*=== Links */
@@ -469,15 +470,17 @@ a.btn {
 /*===============*/
 /*=== Header */
 .header {
+	height: 85px;
 	background: #f4f4f4;
 }
 .header > .item {
-	padding: 10px 0;
+	padding: 10px;
 	border-bottom: 1px solid #aaa;
 	vertical-align: middle;
 	text-align: center;
 }
 .header > .item.title h1 {
+	margin: 0.5em 0;
 	text-shadow: 1px -1px 0 #ccc;
 }
 .header > .item.title h1 a {
@@ -492,7 +495,7 @@ a.btn {
 
 /*=== Body */
 #global {
-	background: #fafafa;
+	height: calc(100% - 85px);
 }
 .aside {
 	border-right: 1px solid #aaa;

+ 4 - 1
p/themes/base-theme/base.css

@@ -332,13 +332,15 @@ a.btn {
 /*===============*/
 /*=== Header */
 .header {
+	height: 85px;
 }
 .header > .item {
-	padding: 10px 0;
+	padding: 10px;
 	vertical-align: middle;
 	text-align: center;
 }
 .header > .item.title h1 {
+	margin: 0.5em 0;
 }
 .header > .item.title h1 a {
 	text-decoration: none;
@@ -352,6 +354,7 @@ a.btn {
 
 /*=== Body */
 #global {
+	height: calc(100% - 85px);
 }
 .aside {
 }