Skip to content
This repository
Browse code

NEW Re-added SilverStripeNavigator styling

  • Loading branch information...
commit cd8c3a024505d79a6fc7ad34abb1985e03340fab 1 parent 8442ed0
Ingo Schommer authored August 27, 2012
2  code/controllers/ContentController.php
@@ -314,7 +314,7 @@ public function SilverStripeNavigator() {
314 314
 					</div>
315 315
 
316 316
 					<div id="switchView" class="bottomTabs">
317  
-						<div class="blank">$viewPageIn </div>
  317
+						$viewPageIn 
318 318
 						$items
319 319
 					</div>
320 320
 					</div>
25  css/SilverStripeNavigator.css
... ...
@@ -0,0 +1,25 @@
  1
+#SilverStripeNavigator { position: fixed; bottom: 0; left: 0; width: 100%; border-top: 2px solid #d4d0c8; background-color: #81858d; height: 22px; }
  2
+
  3
+#SilverStripeNavigator * { font-family: Arial,Helvetica,sans-serif; font-size: 10px !important; }
  4
+
  5
+#SilverStripeNavigator .holder { text-align: center; padding-top: 4px; padding-left: 3px; padding-right: 6px; color: white; border-top: 1px solid #555555; }
  6
+
  7
+#SilverStripeNavigator #logInStatus { float: right; }
  8
+
  9
+#SilverStripeNavigator #switchView { float: left; }
  10
+
  11
+#SilverStripeNavigator a { color: #fff; background-color: transparent; text-decoration: underline; }
  12
+
  13
+#SilverStripeNavigator a:hover { background-color: transparent; }
  14
+
  15
+#SilverStripeNavigator .bottomTabs a { margin-right: 8px; text-decoration: underline; }
  16
+
  17
+#SilverStripeNavigator .bottomTabs a.current { font-weight: bold; text-decoration: none; }
  18
+
  19
+#SilverStripeNavigatorMessage { font-family: 'Lucida Grande', Verdana, Arial, 'sans-serif'; position: absolute; right: 20px; top: 40px; padding: 10px; border-color: #c99; color: #fff; background-color: #c00; border: 1px solid #000; }
  20
+
  21
+#SilverStripeNavigatorLinkPopup { display: none; position: absolute; top: -60px; height: 50px; width: 350px; left: 200px; background-color: white; border: 1px solid black; z-index: 100; color: black; padding: 5px; }
  22
+
  23
+#SilverStripeNavigatorLinkPopup input { width: 250px; }
  24
+
  25
+#SilverStripeNavigatorLinkPopup a.close { color: blue; text-align: right; width: 80%; border: none !important; cursor: pointer; }
90  scss/SilverStripeNavigator.scss
... ...
@@ -0,0 +1,90 @@
  1
+
  2
+#SilverStripeNavigator {
  3
+	position: fixed;
  4
+	bottom: 0;
  5
+	left: 0;
  6
+	width: 100%;
  7
+	border-top: 2px solid #d4d0c8;
  8
+	background-color:#81858d;
  9
+	height: 22px;
  10
+}
  11
+
  12
+#SilverStripeNavigator * {
  13
+	font-family: Arial,Helvetica,sans-serif;
  14
+	font-size: 10px !important;
  15
+}
  16
+
  17
+#SilverStripeNavigator .holder {
  18
+	text-align: center;
  19
+	padding-top : 4px;
  20
+	padding-left : 3px;
  21
+	padding-right : 6px;
  22
+	color: white;
  23
+	border-top: 1px solid #555555;
  24
+}
  25
+#SilverStripeNavigator #logInStatus {
  26
+	float: right;
  27
+}
  28
+#SilverStripeNavigator #switchView {
  29
+	float: left;
  30
+
  31
+}
  32
+
  33
+#SilverStripeNavigator a  {
  34
+	color: #fff;
  35
+	background-color: transparent;
  36
+	text-decoration: underline;
  37
+}
  38
+#SilverStripeNavigator a:hover  {
  39
+	background-color: transparent;
  40
+}
  41
+
  42
+#SilverStripeNavigator .bottomTabs a  {
  43
+	margin-right: 8px;
  44
+	text-decoration: underline;
  45
+}
  46
+
  47
+#SilverStripeNavigator .bottomTabs a.current {
  48
+	font-weight:bold;
  49
+	text-decoration: none;
  50
+}
  51
+
  52
+#SilverStripeNavigatorMessage {
  53
+	font-family: 'Lucida Grande', Verdana, Arial, 'sans-serif';
  54
+	position: absolute;
  55
+	right: 20px;
  56
+	top: 40px;
  57
+	padding: 10px;
  58
+	border-color: #c99;
  59
+	color: #fff;
  60
+	background-color: #c00;
  61
+	border: 1px solid #000;
  62
+}
  63
+
  64
+#SilverStripeNavigatorLinkPopup {
  65
+	display: none;
  66
+	position: absolute;
  67
+	top: -60px;
  68
+	height: 50px;
  69
+	width: 350px;
  70
+	left: 200px;
  71
+	background-color: white;
  72
+	border: 1px solid black;
  73
+	z-index: 100;
  74
+	color: black;
  75
+	padding: 5px;
  76
+}
  77
+
  78
+#SilverStripeNavigatorLinkPopup input {
  79
+	width: 250px;
  80
+}
  81
+
  82
+#SilverStripeNavigatorLinkPopup a.close {
  83
+	color: blue;
  84
+	text-align: right;
  85
+	width: 80%;
  86
+	border: none !important;
  87
+	cursor: pointer;
  88
+}
  89
+
  90
+

0 notes on commit cd8c3a0

Please sign in to comment.
Something went wrong with that request. Please try again.