Blame view

assets/css/less/general.less 1.81 KB
5a739853   patrick.he   commit
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
96
97
98
99
100
101
102
103
104
105
106
107
  //some page-content variables
  @content-bg: #FFF;
  @content-header-border: #E2E2E2;
  @content-header-color: #2679B5;
  @content-header-small-color: #8089A0;
  
  
  html {
    min-height: 100%;
    position: relative;
  }
  
  body {
    background-color: @body-background;
    min-height: 100%;
    padding-bottom: 0;
  
    font-family: 'Open Sans';
    font-size: @baseFontSize;
    color: @text-color;
    
    line-height: 1.5;
  }
  
  
  .main-container {
  	//this is the white page background, used especially when inside ".container"
  	//it will expand all the way down to fill all the page space
  	&:before {
  		display: block;
  		content: "";
  		position: absolute;
  		z-index: -2;
  		
  		width: 100%;
  		max-width: inherit;
  		bottom: 0;
  		top: 0;
  		
  		background-color: #FFF;
  	}
  
  	&.container {
  		&, .rtl & {padding-left: 0; padding-right: 0;}
  		
  		&:before {
  			.box-shadow(~"0 0 0 1px rgba(0,0,0,0.1)");
  			width: inherit;
  
  			//we use above+this instead of min-width, for better results when we disable responsiveness
  			@media (max-width: @screen-xs-max) {
  				.box-shadow(~"none");
  				width: 100%;
  			}
  		}
  	}
  }
  
  .main-content {
  	.clearfix;
  
  	margin-left: 0;
  	min-height: 100%;
  	padding: 0;
  	
  	.sidebar + & {
  		margin-left: @sidebar-width;
  	}
  }
  
  .page-content {
  	background-color: @content-bg;
  	position: relative;
  	margin: 0;
  	padding: @page-content-padding-top 20px 24px;
  }
  
  .page-header {
  	margin:0 0 12px;
  	border-bottom:1px dotted @content-header-border;
  	
  	padding-bottom: 16px;
      padding-top: 7px;
  
  	h1 {
  	  padding: 0;
  	  margin: 0 8px;
  	  font-size: @font-size-content-header;
  	  font-weight: lighter;
  	  color: @content-header-color;
  
  	  small {
  		margin: 0 6px;
  		font-size: @font-size-content-header-small;
  		font-weight: normal;
  		color: @content-header-small-color;
  	  }//small
  	}//h1
  }
  
  
  .ajax-loading-overlay {
  	position: absolute;
  	z-index: 999;
  	left: 12px;
  	top: 12px;
  }