Projet

Général

Profil

0001-misc-remove-usage-of-jquery-ui-css-except-for-old-th.patch

Frédéric Péters, 01 janvier 2017 16:14

Télécharger (3,57 ko)

Voir les différences:

Subject: [PATCH] misc: remove usage of jquery ui css (except for old themes)
 (#14466)

 data/themes/alto/wcs.css            |  3 ++-
 wcs/qommon/http_response.py         |  2 --
 wcs/qommon/static/css/dc2/admin.css | 37 +------------------------------------
 wcs/qommon/static/css/sofresh.css   |  1 +
 4 files changed, 4 insertions(+), 39 deletions(-)
data/themes/alto/wcs.css
1 1
/* adapted from alto dotclear theme */
2 2

  
3
@import url(/static/xstatic/themes/smoothness/jquery-ui.min.css);
3 4
@import url(/static/css/qommon.css);
4
 
5

  
5 6
html, body {
6 7
	background: #CCCCCC;
7 8
	font-family: sans-serif;
wcs/qommon/http_response.py
76 76
                    self.add_javascript(['../leaflet/leaflet.js'])
77 77
                    self.add_css_include('../leaflet/leaflet.css')
78 78
                    self.add_javascript(['../../i18n.js'])
79
                if script_name == 'jquery-ui.js':
80
                    self.add_css_include('../xstatic/themes/smoothness/jquery-ui.min.css')
81 79
                self.javascript_scripts.append(str(mapped_script_name))
82 80
                if script_name == 'afterjob.js':
83 81
                    self.add_javascript_code('var QOMMON_ROOT_URL = "%s";\n' % \
wcs/qommon/static/css/dc2/admin.css
931 931
	content: "▶";
932 932
}
933 933

  
934
ul.biglist li p.commands span,
935
button, div.SubmitWidget input, input[type=submit] {
934
ul.biglist li p.commands span {
936 935
  border: 1px solid #b7b7b7;
937 936
  border-radius: 1px;
938 937
  color: #424258;
......
1534 1533
	width: auto;
1535 1534
}
1536 1535

  
1537
.ui-dialog .ui-widget-content .ui-state-default.ui-button {
1538
	border-radius: 1px;
1539
	background: #e6e6e6;
1540
	box-shadow: 0px 0px 2px 0px #DDD;
1541
}
1542

  
1543
.ui-dialog .ui-widget-content .ui-state-default:hover {
1544
	border-color: #ccc;
1545
	box-shadow: 0px 0px 2px 0px #bbb;
1546
}
1547

  
1548
.ui-dialog .ui-widget-content .ui-state-default.delete-button {
1549
	background: #bc4c38;
1550
	background-image: linear-gradient(to bottom, #dc2c18, #a43c28);
1551
	color: white;
1552
	font-weight: bold;
1553
}
1554

  
1555
.ui-dialog .ui-widget-content .ui-state-default.delete-button:hover {
1556
	border-color: #a43c28;
1557
}
1558

  
1559
.ui-dialog .ui-widget-content .ui-state-default.submit-button {
1560
	border-color: #267dae;
1561
	background: #283c54;
1562
	background-image: linear-gradient(to bottom, #1cabe7, #1999cd);
1563
	color: white;
1564
	font-weight: bold;
1565
}
1566

  
1567
.ui-dialog .ui-widget-content .ui-state-default.submit-button:hover {
1568
	border-color: #283c94;
1569
}
1570

  
1571 1536
div#backoffice-map {
1572 1537
	height: 70vh;
1573 1538
	margin-bottom: 1em;
wcs/qommon/static/css/sofresh.css
1
@import url(/static/xstatic/themes/smoothness/jquery-ui.min.css);
1 2
@import url(qommon.css);
2 3
/* derived from soFresh, a DotClear theme by Maurice Svay (GPL)
3 4
 * http://www.svay.com/files/soFresh/theme-sofresh-1.2.zip */
4
-