style.scss 28.9 KB
Newer Older
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
/* HTML5 ✰ Boilerplate
 * ==|== normalize ==========================================================
 */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 13px; line-height: 1.231; }
body, button, input, select, textarea { font-family: sans-serif; color: #222; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #00e; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== primary styles =====================================================
   Author: Ricardo Rauch
   ========================================================================== */

/* 960gs */
gitlabhq's avatar
gitlabhq committed
69 70
.container_4{width:98%;margin-left:1%;margin-right:1%}.grid_1,.grid_2,.grid_3,.grid_4{display:inline;float:left;position:relative;margin-left:1%;margin-right:1%}.alpha{margin-left:0}.omega{margin-right:0}.container_4 .grid_1{width:23.0%}.container_4 .grid_2{width:48.0%}.container_4 .grid_3{width:73.0%}.container_4 .grid_4{width:98.0%}.container_4 .prefix_1{padding-left:25.0%}.container_4 .prefix_2{padding-left:50.0%}.container_4 .prefix_3{padding-left:75.0%}.container_4 .suffix_1{padding-right:25.0%}.container_4 .suffix_2{padding-right:50.0%}.container_4 .suffix_3{padding-right:75.0%}.container_4 .push_1{left:25.0%}.container_4 .push_2{left:50.0%}.container_4 .push_3{left:75.0%}.container_4 .pull_1{left:-25.0%}.container_4 .pull_2{left:-50.0%}.container_4 .pull_3{left:-75.0%}.clear{clear:both;display:block;overflow:hidden;visibility:hidden;width:0;height:0}.clearfix:after{clear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0}.clearfix{display:inline-block}* html .clearfix{height:1%}.clearfix{display:block}
/* eo 960gs*/
71

gitlabhq's avatar
gitlabhq committed
72 73 74 75
/* Vars */
$color: "#4BB8D2";
$blue_link: "#2fa0bb";
/* eo Vars */
76

gitlabhq's avatar
gitlabhq committed
77
html{ -webkit-font-smoothing:antialiased; }
78
*{text-shadow: 0 1px 0 white}
gitlabhq's avatar
gitlabhq committed
79
body{font-size: 12px; background-color: #eee;}
gitlabhq's avatar
gitlabhq committed
80 81
a{text-decoration: none; font-weight: bold; color: #666}
a:hover{color: #333}
82 83
/* Typography */
h1,h2,h3,h4,h5{font-weight: normal; color: #666}
gitlabhq's avatar
gitlabhq committed
84
h2{margin: 1.5em 0}
85 86 87 88 89
/* eo Typography */

/* Forms */
input[type="text"]:focus, input[type="password"]:focus {  outline: none; }
input.text{border: 1px solid #ccc; border-radius: 4px; display: block; padding: 10px}
90 91 92 93 94 95 96 97 98 99 100

.form-row{
	padding: 0px 0px 10px 0px;	
}

.form-row label{
	font-weight:bold;
	display: inline-block;
	padding: 0px 0px 5px 0px;
}

101 102
/* eo Forms */

gitlabhq's avatar
gitlabhq committed
103
/* Tables */
Ricardo Rauch's avatar
Ricardo Rauch committed
104
table {width:100%; border: 1px solid #DEE2E3; margin-bottom: 20px}
gitlabhq's avatar
gitlabhq committed
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
table thead{
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
table  thead th{
	background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.076, #fefefe), to(#F6F7F8));
	background-image: -webkit-linear-gradient(#fefefe 7.6%, #F6F7F8);
	background-image: -moz-linear-gradient(#fefefe 7.6%, #F6F7F8);
	background-image: -o-linear-gradient(#fefefe 7.6%, #F6F7F8);
	margin: 0;
	font-weight: normal;
	font-weight: bold;
	text-align: left;
	color: #97A0A5;
}
td, th{ padding: .9em 1em; vertical-align: middle; }

table  thead .image{width:100px}
table  tr:hover, .listed_items tr.odd:hover{background-color:#FFFFCF}
/* eo Tables */


131 132 133 134 135 136 137 138
/* Buttons */
.grey-button{
	border-radius: 5px;
	font-size: 12px;
	font-weight: bold;
	padding: 6px 20px;
	border: 1px solid #999;
	color: #666;
gitlabhq's avatar
gitlabhq committed
139
	display: inline-block;
140 141 142 143 144 145 146
	box-shadow: 0 1px 2px rgba(0,0,0,.3);
	background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.076, #f7f7f7), to(#d5d5d5));
	background-image: -webkit-linear-gradient(#f7f7f7 7.6%, #d5d5d5);
	background-image: -moz-linear-gradient(#f7f7f7 7.6%, #d5d5d5);
	background-image: -o-linear-gradient(#f7f7f7 7.6%, #d5d5d5);
}

Ricardo Rauch's avatar
Ricardo Rauch committed
147
a.button, input.button {
Ricardo Rauch's avatar
Ricardo Rauch committed
148
	font-weight: bold;
149 150 151 152 153 154 155 156 157 158 159 160 161 162
	padding: 10px 20px;
	text-align: center;
	display: inline-block;
	border-radius: 5px;
	color: #578E91;
	font-size: 12px;
	text-transform: uppercase;
	border: 1px solid #8CE2E6;
	background-image: -webkit-gradient(linear, 0 0, 0 34, color-stop(0.794, #dbf5f6), to(#c5eef0));
	background-image: -webkit-linear-gradient(#dbf5f6 79.4%, #c5eef0);
	background-image: -moz-linear-gradient(#dbf5f6 79.4%, #c5eef0);
	background-image: -o-linear-gradient(#dbf5f6 79.4%, #c5eef0);
}

Ricardo Rauch's avatar
Ricardo Rauch committed
163 164
input.button{margin-bottom: 1.5em}

gitlabhq's avatar
gitlabhq committed
165
.button:hover {color: rgba(0,0,0,.8)}
166

gitlabhq's avatar
gitlabhq committed
167
.button.green {margin-right: 0; }
168 169 170 171 172 173 174 175 176 177

.button.yellow{
	color: #908054;
	border-color: #DDCDA1;
	background-image: -webkit-gradient(linear, 0 0, 0 34, color-stop(0.794, #FFEFC3), to(#F3E3B7));
	background-image: -webkit-linear-gradient(#FFEFC3 79.4%, #F3E3B7);
	background-image: -moz-linear-gradient(#FFEFC3 79.4%, #F3E3B7);
	background-image: -o-linear-gradient(#FFEFC3 79.4%, #F3E3B7);	
}

gitlabhq's avatar
gitlabhq committed
178 179 180 181 182 183 184 185 186 187 188 189
.button.blue{
	color: #417E97;
	border-color: #b2cdec;
	background-image: -webkit-gradient(linear, 0 0, 0 34, color-stop(0.794, #dbe8f6), to(#c7daf1));
	background-image: -webkit-linear-gradient(#dbe8f6 79.4%, #c7daf1);
	background-image: -moz-linear-gradient(#dbe8f6 79.4%, #c7daf1);
	background-image: -o-linear-gradient(#dbe8f6 79.4%, #c7daf1);
}

.button-small{ text-shadow: none;  padding: 4px 10px; }
.button-green{background: #A6B807; color: white}

190 191 192 193 194 195 196 197 198 199 200 201 202
/* eo Buttons */

/* UI Box */
.ui-box{border: 1px solid #DEDFE1; float: left; border-radius: 5px}
.ui-box h3{
	background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.076, #fefefe), to(#F6F7F8));
	background-image: -webkit-linear-gradient(#fefefe 7.6%, #F6F7F8);
	background-image: -moz-linear-gradient(#fefefe 7.6%, #F6F7F8);
	background-image: -o-linear-gradient(#fefefe 7.6%, #F6F7F8);
	margin: 0;
	padding: 1em;
	font-size: 12px;
	font-weight: normal;
gitlabhq's avatar
gitlabhq committed
203
	font-weight: bold;
204 205 206 207 208 209 210 211 212 213
	font-size: 16px;
	border-bottom: 1px solid #DEDFE1;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

gitlabhq's avatar
gitlabhq committed
214 215 216 217 218
.ui-box.ui-box-small h3{
	padding: 8px 10px;
	font-size: 12px;
}

219 220 221 222 223 224 225 226 227 228 229 230

.ui-box .data{padding: .5em 1em}

.ui-box .buttons{background-color: #f7f8f9; padding: 1em;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;	
}

gitlabhq's avatar
gitlabhq committed
231 232
.ui-box .buttons .button{padding: 8px 9px; font-size: 11px}

gitlabhq's avatar
gitlabhq committed
233
.ui-box.hover:hover{box-shadow: 0 0 10px rgba(0,0,0,.1); border: 1px solid #ccc;
234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285
	
	-webkit-transition: all 200ms cubic-bezier(0.470, 0.000, 0.745, 0.715);
	-moz-transition: all 200ms cubic-bezier(0.470, 0.000, 0.745, 0.715);
	-o-transition: all 200ms cubic-bezier(0.470, 0.000, 0.745, 0.715);
	transition: all 200ms cubic-bezier(0.470, 0.000, 0.745, 0.715);	
}

/* eo UI Box */

/* Login Page */
body.login-page{background-color: #f1f1f1; padding-top: 10%}

.login-box{
	width: 304px;
	position: relative;
	border-radius: 5px;
	margin: auto;
	padding: 20px;
	background: white;
	box-shadow: rgba(0, 0, 0, 0.07) 0 1px 0,white 0 2px 0,rgba(0, 0, 0, 0.07) 0 3px 0,white 0 4px 0, rgba(0, 0, 0, 0.07) 0 5px 0;
}

.login-box .login-logo{
	margin: 10px 0 30px 0;
	display: block;
}

.login-box input.text{background-color: #f1f1f1; font-size: 16px; border-radius: 0; padding: 14px 10px; width: 280px}

.login-box input.text.top{
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.login-box input.text.bottom{
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	border-top: 0;
	margin-bottom: 20px;
}

.login-box a.forgot{float: right; padding-top: 6px}


gitlabhq's avatar
gitlabhq committed
286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306
/* Icons */
.directory, .file{
	display: inline-block;
	margin-right: 10px;
	width: 14px;
}

.directory{
	background: url('images.png') no-repeat -73px -26px;
	height: 11px;
	margin-bottom: -1px;
}

.file{
	background: url('images.png') no-repeat -114px -24px;
	height: 16px;
	margin-bottom: -3px;
}

/* eo Icons*/

Ricardo Rauch's avatar
Ricardo Rauch committed
307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322
/* Errors */
#error_explanation{background: #ffe5eb;  padding: 20px; margin-bottom: 20px; border-radius: 5px}
#error_explanation h2{margin: 0; margin-bottom: 20px; color: red}
#error_explanation ul li{margin-bottom: 10px}
#error_explanation ul li:last-child{margin-bottom: 0}
.field_with_errors {
  input[type="text"],
  input[type="password"],
  textarea
  {
    border: 1px solid #FFBBBB;
		background: #fff4f6;
  }
}
/* eo Errors */

323
/* General */
Ricardo Rauch's avatar
Ricardo Rauch committed
324
#container{background-color: white; overflow: hidden; }
325
body.collapsed #container{margin: auto; width: 980px; border: 1px solid rgba(0,0,0,.22); border-top: 0; box-shadow: 0 0 0px 4px rgba(0,0,0,.04)}
gitlabhq's avatar
gitlabhq committed
326 327


gitlabhq's avatar
gitlabhq committed
328 329

/* Header */
Ricardo Rauch's avatar
Ricardo Rauch committed
330
header{background: #474D57 url('bg-header.png') repeat-x bottom; z-index: 10000; height: 44px; padding: 10px 2% 6px 2%; position: relative}
331 332 333 334 335
header a{color: white; text-shadow: 0 -1px 0 black}
header a:hover{color: #f1f1f1}
header h1{
	width: 65px;
}
gitlabhq's avatar
gitlabhq committed
336 337 338 339 340
header h1.logo{margin: 0; padding: 0}
header h1.logo a{
	background: url('images.png') no-repeat -3px -7px;
		width: 65px;
		height: 26px;
341 342
	margin: 5px 0;
	padding: 0;
gitlabhq's avatar
gitlabhq committed
343
	display: block;
344 345 346
	float: left;
	text-indent: -1000em;
}
gitlabhq's avatar
gitlabhq committed
347 348 349



gitlabhq's avatar
gitlabhq committed
350
header nav{border-radius: 4px; box-shadow: 0 1px 2px black; width: 294px; margin: auto;
351 352 353 354 355
	background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #595d63), to(#31363e));
	background-image: -webkit-linear-gradient(#595d63 6.6%, #31363e);
	background-image: -moz-linear-gradient(#595d63 6.6%, #31363e);
	background-image: -o-linear-gradient(#595d63 6.6%, #31363e);
	margin-top: 2px;
356
	height:30px
357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389
}
header nav a{padding: 8px 12px 8px 34px; display: inline-block; color: #D6DADF; border-right: 1px solid #31363E; position: relative; box-shadow: 1px 0 0 rgba(255,255,255,.1); margin: 0}
header nav a span{width: 20px; height: 20px; display: inline-block; background: red; position: absolute; left: 8px; top: 6px;}
header nav a:last-child {border: 0; box-shadow: none}
header nav a:hover, header nav a.current{
		background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #595d63), to(#2c2f35));
		background-image: -webkit-linear-gradient(#595d63 6.6%, #2c2f35);
		background-image: -moz-linear-gradient(#595d63 6.6%, #202227);
		background-image: -o-linear-gradient(#595d63 6.6%, #202227);
}

header nav a:active{
	box-shadow: 0 1px 4px rgba(0,0,0,.8) inset;
}


header nav a.dashboard {
	-webkit-border-top-left-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

header nav a.admin{
	-webkit-border-top-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	-moz-border-radius-bottomright: 4px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}
gitlabhq's avatar
gitlabhq committed
390 391


Ricardo Rauch's avatar
Ricardo Rauch committed
392
header .search{ display: inline-block; float: right;  margin-right: 46px}
gitlabhq's avatar
gitlabhq committed
393 394 395 396 397 398 399

header nav a span{width: 20px; height: 20px; display: inline-block; background: red; position: absolute; left: 8px; top: 6px;}

header nav a.dashboard span{background: url('images.png') no-repeat -161px 0;}
header nav a.admin span{background: url('images.png') no-repeat 	-184px 0;}
header nav a.project span{background: url('images.png') 		no-repeat -209px -1px; top: 7px}

400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416

header .login-top{float: right; width: 180px;
	background-image: -webkit-gradient(linear, 0 0, 0 62, color-stop(0.032, #464c56), to(#363c45));
	background-image: -webkit-linear-gradient(#464c56 3.2%, #363c45);
	background-image: -moz-linear-gradient(#464c56 3.2%, #363c45);
	background-image: -o-linear-gradient(#464c56 3.2%, #363c45);
	padding: 0 10px;
	height: 44px;	
}
header .login-top a{display: block;}
header .login-top a.pic{float: left; margin-right: 10px;
	img{ height: 36px; width: 36px; border: 1px solid black}
}
header .login-top a.username{margin-bottom: 5px}
header .login-top a.logout{color: #ccc}
header{margin-bottom: 0; clear: both; }

gitlabhq's avatar
gitlabhq committed
417 418
.page-title{background-color: #f1f1f1;display: block; float: left; clear: both; width: 98%; padding: 1% 1%; border-bottom: 1px solid #ccc; box-shadow: 0 -1px 0 white inset; margin-bottom: 1.5em}
.page-title h1{font-size: 20px; width: 400px; margin: 0; padding-top: 8px }
419
.page-title a.grey-button{float: right;}
gitlabhq's avatar
gitlabhq committed
420 421
.right{float: right;}

Ricardo Rauch's avatar
Ricardo Rauch committed
422

gitlabhq's avatar
gitlabhq committed
423
/* Account box */
Ricardo Rauch's avatar
Ricardo Rauch committed
424
header .account-box{position: absolute; right: 0; top: 8px; z-index: 10000; width: 128px;  font-size: 11px; float: right; display: block; cursor: pointer;}
Ricardo Rauch's avatar
Ricardo Rauch committed
425 426
header .account-box img{ border-radius: 4px; right: 20px; position: absolute; width: 38px; height: 38px; display: block; box-shadow: 0 1px 2px black}
header .account-box img:after{
gitlabhq's avatar
gitlabhq committed
427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445
	content: " "; 
  display: block;
  position: absolute;
  top: 0;
  right: 0;
left: 0;
  bottom: 0;
float: right;
	border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 0;
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(255, 255, 255, .15)), to(rgba(0, 0, 0, .25))), -webkit-gradient(linear, left top, right bottom, color-stop(0, rgba(255, 255, 255, 0)), color-stop(0.5, rgba(255, 255, 255, .1)), color-stop(0.501, rgba(255, 255, 255, 0)), color-stop(1, rgba(255, 255, 255, 0)));
  background: -moz-linear-gradient(top, rgba(255, 255, 255, .15), rgba(0, 0, 0, .25)), -moz-linear-gradient(left top, rgba(255, 255, 255, 0), rgba(255, 255, 255, .1) 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0));
  background: linear-gradient(top, rgba(255, 255, 255, .15), rgba(0, 0, 0, .25)), linear-gradient(left top, rgba(255, 255, 255, 0), rgba(255, 255, 255, .1) 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0));
  -webkit-background-origin: border-box;
  -moz-background-origin: border;
  background-origin: border-box;
}

Ricardo Rauch's avatar
Ricardo Rauch committed
446
.account-box.hover{height: 138px;}
447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464

.account-box:hover > .account-links{display: block;}
header .account-links{background: white; display: none; border-radius: 5px; width: 100px; margin-top: 0; float: right; box-shadow: 0 1px 1px rgba(0,0,0,.2); position:relative;}
header .account-links:before {
  content: ".";
  width:0;
  height:0;
  position:absolute;
  border:5px solid transparent;
  border-color:rgba(255,255,255,0);
  border-bottom-color:#fafafa;
  text-indent:-9999px;
  top:-10px;
  line-height:0;
  right:10px;
  z-index:10;
}

gitlabhq's avatar
gitlabhq committed
465

Ricardo Rauch's avatar
Ricardo Rauch committed
466 467 468 469 470 471 472 473 474 475 476 477
/* Inspired by http://maxvoltar.com/temp/nowplaying/ */
header .account-links{background: white; display: none; z-index: 100000; border-radius: 5px; width: 100px; position: absolute; right: 20px; top: 46px; margin-top: 0; float: right; box-shadow: 0 1px 1px rgba(0,0,0,.2); }
header .account-links a{color: #666; padding: 6px 10px; display: block; text-shadow: none;  border-bottom: 1px solid #eee}
header .account-links a:hover{
  background: #3aacec;
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#39acec), to(#279ada), color-stop(.05, #4cbefe));
  background: -moz-linear-gradient(top, #39acec, #4cbefe 5%, #279ada);
  background: linear-gradient(top, #39acec, #4cbefe 5%, #279ada);	
	color: #fff;
  text-shadow: #1488c8 0 -1px 0;
}
.account-box.hover .arrow-up{top: 41px; right: 6px; position: absolute}
gitlabhq's avatar
gitlabhq committed
478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495
header .account-links a:first-child{
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

header .account-links a:last-child{
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	border-bottom: 0;
}
496

497 498 499 500 501 502 503
#no_ssh_key_defined {
  border:1px solid #ee8801;
  margin:20px;
  padding:20px;
  background:#ffe3f0;
  h2{margin:0;}
  p {margin:10px 0 0;}
gitlabhq's avatar
gitlabhq committed
504
}
505

gitlabhq's avatar
gitlabhq committed
506
/* eo Account Box */
gitlabhq's avatar
gitlabhq committed
507 508
input.search-input{float: left; text-shadow: none; width: 116px; background-image: url('icon-search.png') ; background-repeat: no-repeat; background-position: 10px; border-radius: 100px; border: 1px solid rgba(0,0,0,.7); box-shadow: 0 1px 0 rgba(255,255,255,.2), 0 2px 2px rgba(0,0,0,.4) inset ; background-color: #D2D5DA; background-color: rgba(255,255,255,.5); padding: 5px; padding-left: 26px;  margin-top: 4px; margin-right: 10px }
input.search-input:focus{ background-color: white; width: 216px;}
gitlabhq's avatar
gitlabhq committed
509 510 511 512
input.search-input::-webkit-input-placeholder {color: #666}
/* eo Header */


gitlabhq's avatar
gitlabhq committed
513 514 515
h2.icon{position: relative; padding-left: 40px; float: left; }
/*h2 a{font-weight: normal;}*/
h2.icon span{background: #E3E5EA url('images.png');  height: 32px; width: 32px; left: 0; top: -5px; border-radius: 4px; display: inline-block; position: absolute}
gitlabhq's avatar
gitlabhq committed
516 517 518 519



/* Dashboard Page */
gitlabhq's avatar
gitlabhq committed
520 521 522 523 524 525 526
html, body { height: 100%; }

body.dashboard-page h2.icon span{ background-position:  9px -69px; }
body.dashboard-page header{margin-bottom: 0}
body.dashboard-page .news-feed{padding-left: 1em; margin-right: 450px; margin-left: 1%}
body.dashboard-page .dashboard-content{ position: relative; float: left; width: 100%; height: 100%; }
body.dashboard-page .news-feed h2{float: left;}
Ricardo Rauch's avatar
Ricardo Rauch committed
527
body.dashboard-page aside{ min-height: 700px; width: 420px;  float: right;  background-color: #f7f7f7; border-left: 1px solid #ccc }
gitlabhq's avatar
gitlabhq committed
528
body.dashboard-page aside h4{margin: 0; border-bottom: 1px solid #ccc; padding: 10px 10px; font-size: 11px; font-weight: bold; text-transform: uppercase;}
Ricardo Rauch's avatar
Ricardo Rauch committed
529
body.dashboard-page aside h4 a.button-small{float: right; text-transform: none; border-radius: 4px; margin-right: 2%; margin-top: -4px; display: block;}
gitlabhq's avatar
gitlabhq committed
530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545
body.dashboard-page aside .project-list {list-style: none; margin: 0; padding: 0;}
body.dashboard-page aside .project-list li a {background: white;  color: #{$blue_link}; display: block; border-bottom: 1px solid #eee; padding: 14px 6% 14px 14px;}
body.dashboard-page aside .project-list li a:hover {background: #f1f1f1}
body.dashboard-page aside .project-list li a:hover span.arrow{background-color: #E3E5EA;}
body.dashboard-page aside .project-list li a span.project-name{font-size: 14px; display: block; margin-bottom: 8px}
body.dashboard-page aside .project-list li a span.time{color: #666; font-weight: normal; font-size: 11px}
body.dashboard-page aside .project-list li a span.arrow{float: right; background: #E3E5EA; padding: 10px; border-radius: 5px; margin-top: 2px; text-shadow: none; color: #999}
body.dashboard-page .news-feed .project-updates  {margin-bottom: 20px; display: block; width: 100%;}
body.dashboard-page .news-feed .project-updates .data{ padding: 0}
body.dashboard-page .news-feed .project-updates a.project-update {padding: 10px; border-bottom: 1px solid #eee; overflow: hidden; display: block;}
body.dashboard-page .news-feed .project-updates a.project-update:last-child{border-bottom: 0}
body.dashboard-page .news-feed .project-updates a.project-update img{float: left; margin-right: 10px;}
body.dashboard-page .news-feed .project-updates a.project-update span.update-title, .dashboard-page .news-feed .project-updates li a span.update-author{display: block;}
body.dashboard-page .news-feed .project-updates a.project-update span.update-title{margin-bottom: 10px}
body.dashboard-page .news-feed .project-updates a.project-update span.update-author{color: #999; font-weight: normal; font-style: italic;}
body.dashboard-page .news-feed .project-updates a.project-update span.update-author strong{font-weight: bold; font-style: normal;}
gitlabhq's avatar
gitlabhq committed
546
/* eo Dashboard Page */
547 548


gitlabhq's avatar
gitlabhq committed
549
.grey-button.right{margin-top: 20px}
550 551

/* Project Page */
gitlabhq's avatar
gitlabhq committed
552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568

body.project-page h2.icon .project-name, body.project-page h2.icon d{border: 1px solid #eee; padding: 5px 30px 5px 10px; border-radius: 5px; position: relative;}
body.project-page h2.icon .project-name i.arrow{float: right;
	position: absolute;
	right: 10px;
	top: 13px;
	display: block;
	background: url('images.png') no-repeat -97px -29px;
	width: 4px;
	height: 5px;
}



body.project-page h2.icon span{	background-position:  -78px -68px; }
body.project-page .project-container{ position: relative; float: left; width: 100%; height: 100%; }
body.project-page .page-title{margin-bottom: 0}
Ricardo Rauch's avatar
Ricardo Rauch committed
569
body.project-page .project-sidebar {width: 220px;  left: 0; top: 0; height: 100%; bottom: 0;  position: absolute; background-color: #f7f7f7; float: left; display: inline-block; background: #f7f7f7; padding: 20px 0 20px 2%; margin: 0; }
570 571 572 573 574 575 576 577 578 579 580

body.project-page input.text.git-url,
body.projects-page input.text.git-url{ font-size: 12px; border-radius: 5px; color: #666; box-shadow: 0 1px 2px rgba(0,0,0,.2) inset; padding:  5px 14px 5px 30px;  margin-bottom: 20px; background: white url('images.png') no-repeat 8px -43px;width:100%;border:0;}

body.projects-page input.text.git-url {margin:10px 0 0 }

.git_url_wrapper { margin-right:50px }

.projects_selector:hover > .project-box{ -moz-box-shadow:0px 0px 10px rgba(0, 0, 0, .5); -webkit-box-shadow:0px 0px 10px rgba(0, 0, 0, .5); box-shadow:0px 0px 10px rgba(0, 0, 0, .5); }


gitlabhq's avatar
gitlabhq committed
581 582 583
body.project-page .project-sidebar aside{width: 219px}
body.project-page .project-sidebar aside a{display: block; position: relative; background: white; padding: 15px 10px; border-bottom: 1px solid #eee}
body.project-page .project-sidebar aside a:first-child{
584 585 586 587 588 589 590 591 592
	-webkit-border-top-left-radius: 5px;
	-moz-border-radius-topleft: 5px;
	border-top-left-radius: 5px;
}
.project-page .project-sidebar aside a:last-child{
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-left-radius: 5px;
}
gitlabhq's avatar
gitlabhq committed
593 594 595
body.project-page .project-sidebar aside a:hover{background-color: #eee;}
body.project-page .project-sidebar aside a span.number{float: right; border-radius: 5px; text-shadow: none; background: rgba(0,0,0,.12); text-align: center; padding: 5px 8px; position: absolute; top: 10px; right: 10px}
body.project-page .project-sidebar aside a.current{background-color: #79c3e0; color: white; text-shadow: none; border-color: transparent}
Ricardo Rauch's avatar
Ricardo Rauch committed
596
body.project-page .project-content{ padding: 20px; display: block; margin-left: 250px; min-height: 400px}
gitlabhq's avatar
gitlabhq committed
597 598 599 600 601 602
body.project-page .project-content h2{ margin-top: 6px}
body.project-page .project-content .button.right{margin-left: 20px}
body.project-page table .commit a{color: #{$blue_link}}
body.project-page table th, body.project-page table td{	border-bottom: 1px solid #DEE2E3;}
body.project-page .fixed{position: fixed; }

Ricardo Rauch's avatar
Ricardo Rauch committed
603 604 605 606 607
/* New project Page */
.new-project-page .container{width: 600px; background-color: rgba(0,0,0,.02); margin: auto; border: 1px solid #eee; padding: 0 20px; margin: 30px auto 60px auto; border-radius: 5px}
.new-project-page .container table{background: white}
/* eo New Project Page */

gitlabhq's avatar
gitlabhq committed
608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650
/* Commit Page */
body.project-page.commits-page .commit-info{float: right;}
body.project-page.commits-page .commit-info data{
	padding: 4px 10px;
	font-size: 11px;
}
body.project-page.commits-page .commit-info data.commit-button{
	background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.192, #fff), to(#f4f4f4));
	background-image: -webkit-linear-gradient(#fff 19.2%, #f4f4f4);
	background-image: -moz-linear-gradient(#fff 19.2%, #f4f4f4);
	background-image: -o-linear-gradient(#fff 19.2%, #f4f4f4);
	box-shadow: 0 -1px 0 white inset;
	display: block;
	border: 1px solid #eee;
	border-radius: 5px;
	margin-bottom: 2px;
	position: relative;
	padding-right: 20px;
}


body.project-page.commits-page .commit-button i{
	background: url('images.png') no-repeat -138px -27px;
	width: 6px;
	height: 9px;
	float: right;
	position: absolute;
	top: 6px;
	right: 5px;
}
body.project-page.commits-page .commits-date {display: block; width: 100%; margin-bottom: 20px}
body.project-page.commits-page .commits-date .data {padding: 0}
body.project-page.commits-page a.commit{padding: 10px; border-bottom: 1px solid #eee; overflow: hidden; display: block;}
body.project-page.commits-page .commits-date a.commit {padding: 10px; border-bottom: 1px solid #eee; overflow: hidden; display: block;}
body.project-page.commits-page .commits-date a.commit:last-child{border-bottom: 0}
body.project-page.commits-page .commits-date a.commit img{float: left; margin-right: 10px;}
body.project-page.commits-page .commits-date a.commit span.commit-title{display: block;}
body.project-page.commits-page .commits-date a.commit span.commit-title{margin-bottom: 10px}
body.project-page.commits-page .commits-date a.commit span.commit-author{color: #999; font-weight: normal; font-style: italic;}
body.project-page.commits-page .commits-date a.commit span.commit-author strong{font-weight: bold; font-style: normal;}

/* eo Commit Page */

651 652
/* eo Project Page */

gitlabhq's avatar
gitlabhq committed
653 654 655



656
/* Projects Page */
gitlabhq's avatar
gitlabhq committed
657 658 659 660 661
body.projects-page h2.icon span{background-position: -31px -70px;}
body.projects-page .project-box.ui-box .data .repository {margin-bottom: 20px}
body.projects-page .project-box.ui-box .data .title span{ font-weight: bold;}
body.projects-page .project-box{width: 100%; margin-bottom: 3em}
body.projects-page .browse-code{margin-right: 10px}
662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705
/* eo Projects Page */


/* ==|== non-semantic helper classes ======================================== */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


/* ==|== media queries ====================================================== */

@media only screen and (min-width: 480px) {


}

@media only screen and (min-width: 768px) {

}



/* ==|== print styles ======================================================= */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } 
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
706 707 708 709 710 711 712 713 714 715

/**
 * author:DZ
 * date: Nov 09
 * fix different fonts for firefox & webkit
 */
body, button, input, select, textarea {
  font-family: "Helvetica", sans-serif;
}