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

This commit is contained in:
Frédéric Péters 2016-12-29 12:00:39 +01:00
parent c4111d119e
commit d3eb18632b
4 changed files with 4 additions and 39 deletions

View File

@ -1,7 +1,8 @@
/* adapted from alto dotclear theme */
@import url(/static/xstatic/themes/smoothness/jquery-ui.min.css);
@import url(/static/css/qommon.css);
html, body {
background: #CCCCCC;
font-family: sans-serif;

View File

@ -77,8 +77,6 @@ class HTTPResponse(quixote.http_response.HTTPResponse):
self.add_css_include('../leaflet/leaflet.css')
self.add_javascript(['leaflet-gps.js'])
self.add_javascript(['../../i18n.js'])
if script_name == 'jquery-ui.js':
self.add_css_include('../xstatic/themes/smoothness/jquery-ui.min.css')
self.javascript_scripts.append(str(mapped_script_name))
if script_name == 'afterjob.js':
self.add_javascript_code('var QOMMON_ROOT_URL = "%s";\n' % \

View File

@ -944,8 +944,7 @@ svg #current_status polygon {
content: "▶";
}
ul.biglist li p.commands span,
button, div.SubmitWidget input, input[type=submit] {
ul.biglist li p.commands span {
border: 1px solid #b7b7b7;
border-radius: 1px;
color: #424258;
@ -1547,40 +1546,6 @@ div#sidebar div.MapWidget {
width: auto;
}
.ui-dialog .ui-widget-content .ui-state-default.ui-button {
border-radius: 1px;
background: #e6e6e6;
box-shadow: 0px 0px 2px 0px #DDD;
}
.ui-dialog .ui-widget-content .ui-state-default:hover {
border-color: #ccc;
box-shadow: 0px 0px 2px 0px #bbb;
}
.ui-dialog .ui-widget-content .ui-state-default.delete-button {
background: #bc4c38;
background-image: linear-gradient(to bottom, #dc2c18, #a43c28);
color: white;
font-weight: bold;
}
.ui-dialog .ui-widget-content .ui-state-default.delete-button:hover {
border-color: #a43c28;
}
.ui-dialog .ui-widget-content .ui-state-default.submit-button {
border-color: #267dae;
background: #283c54;
background-image: linear-gradient(to bottom, #1cabe7, #1999cd);
color: white;
font-weight: bold;
}
.ui-dialog .ui-widget-content .ui-state-default.submit-button:hover {
border-color: #283c94;
}
div#backoffice-map {
height: 70vh;
margin-bottom: 1em;

View File

@ -1,3 +1,4 @@
@import url(/static/xstatic/themes/smoothness/jquery-ui.min.css);
@import url(qommon.css);
/* derived from soFresh, a DotClear theme by Maurice Svay (GPL)
* http://www.svay.com/files/soFresh/theme-sofresh-1.2.zip */