summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/custom.css.scss
blob: 4104235318a9c8bbf7b0a9aa33244478a7ff1707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
@import "bootstrap";

$page-color: #444;
$toolbar-color: black;
$orange: #DD9125;
$darker-orange: #9D4102;
$link-yellow: #FFC50D;

header > nav {
	@extend .navbar; 
	@extend .navbar-inverse;
	color: white;	

	#log-buttons {
		margin-top: 8px;
		form { display: inline; }
	}
	form.search {
		@extend .navbar-form;
		@extend .navbar-right;
		input[type="submit"] {
			@extend .btn-warning; margin-top: -3px; margin-right: 8px;
		}
	}
}


a, input[type="submit"] {
	@extend .btn;
	&.user { @extend .btn-info; }
	&.signup { @extend .btn-success; }
	&.signin { @extend .btn-warning; }
	&.signout { @extend .btn-danger; }
	&.server { @extend .btn-danger; }
	font-weight: bold !important;
}


input[type="text"],  input[type="password"]{
	-webkit-box-shadow: inset 0 0 8px  rgba(0,0,0,0.1), 0 0 16px rgba(0,0,0,0.1);
	   -moz-box-shadow: inset 0 0 8px  rgba(0,0,0,0.1), 0 0 16px rgba(0,0,0,0.1);
	        box-shadow: inset 0 0 8px  rgba(0,0,0,0.1), 0 0 16px rgba(0,0,0,0.1);

	border: 3px inset #A5A5A5;
	padding: 8px;
	background: rgba(0,0,0,0.5);
	margin: 0 0 5px 0;
}

select {
	background-color: #333;
	padding: 5px;
	border: none;
	color: #DD9125 !important;
}

p.errors {
	background-color: rgba(0,0,0,0.5);;
	color: red;
	border-radius: 7px;
	padding: 10px;
}

#error_explanation {
	width: 450px;
	border: 2px solid red;
	padding: 7px;
	padding-bottom: 0;
	margin-bottom: 20px;
	background-color: #f0f0f0;
	h2 {
		text-align: left;
		font-weight: bold;
		padding: 5px 5px 5px 15px;
		font-size: 12px;
		margin: -7px;
		margin-bottom: 0px;
		background-color: #c00;
		color: #fff;
	}
	ul li {
		font-size: 12px;
		list-style: square;
	}
}

// Limitation: Only one box can be expanded at a time
.collapsible {
	.collapsed { display: block; }
	.expanded { display: none; }
	&:target {
		.collapsed { display: none; }
		.expanded { display: block; }
	}
}