Projet

Général

Profil

0001-backoffice-sync-style-with-gadjo-9881.patch

Frédéric Péters, 05 février 2016 13:22

Télécharger (2,28 ko)

Voir les différences:

Subject: [PATCH] backoffice: sync style with gadjo (#9881)

 wcs/qommon/static/css/dc2/admin.css | 4 ++--
 wcs/qommon/static/css/dc2/gadjo.css | 5 +++--
 wcs/qommon/static/js/wcs.listing.js | 4 ++--
 3 files changed, 7 insertions(+), 6 deletions(-)
wcs/qommon/static/css/dc2/admin.css
507 507
}
508 508

  
509 509
div#main-content {
510
	width: 70%;
510
	width: 75%;
511 511
}
512 512

  
513 513
div#sidebar {
514 514
	float: right;
515
	width: 23%;
515
	width: 21%;
516 516
	margin-right: 2%;
517 517
	color: #666;
518 518
}
wcs/qommon/static/css/dc2/gadjo.css
11 11
html, body {
12 12
	margin: 0;
13 13
	font-family: "Bitstream Vera Sans", "Verdana", sans-serif;
14
	background: #eee;
14
	background: #f2f2f2;
15 15
	color: #3c3c33;
16 16
}
17 17

  
......
124 124
/* main content */
125 125

  
126 126
div#main-content {
127
	width: 95%;
127
	width: 100%;
128 128
	margin-left: 0;
129 129
	padding: 0 6px 0 16px;
130 130
	border: 1px solid #ccc;
......
134 134
	position: relative;
135 135
	overflow-x: auto;
136 136
	overflow-y: hidden;
137
	box-sizing: border-box;
137 138
}
138 139

  
139 140
div#main-content h2 {
wcs/qommon/static/js/wcs.listing.js
170 170
  $('#main-content').after($('<span id="sidebar-toggle">&#8286;</span>'));
171 171
  $('#sidebar-toggle').click(function() {
172 172
    if ($('#sidebar').css('display') === 'none') {
173
      $('#main-content').animate({width: '70%'}, 400,
173
      $('#main-content').animate({width: '75%'}, 400,
174 174
              function() {$('#sidebar').show()});
175 175
    } else {
176 176
      $('#sidebar').hide();
177
      $('#main-content').animate({width: '95%'});
177
      $('#main-content').animate({width: '99%'});
178 178
    }
179 179
  });
180 180
  /* automatically refresh on filter change */
181
-