Clean up sass of costs

pull/6827/head
Oliver Günther 8 years ago
parent 4e49c8800d
commit d0f9d9a9ff
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 23
      app/assets/stylesheets/costs/_summarized_cost_entries.sass
  2. 23
      app/assets/stylesheets/costs/costs.css.sass
  3. 4
      app/assets/stylesheets/costs/costs.sass
  4. 124
      app/assets/stylesheets/costs/costs_legacy.css

@ -1,23 +0,0 @@
/*-- copyright
* OpenProject Costs Plugin
*
* Copyright (C) 2009 - 2015 the OpenProject Foundation (OPF)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
.costs.costTypes
.separator
margin-left: -0.2em

@ -1,23 +0,0 @@
/*-- copyright
* OpenProject Costs Plugin
*
* Copyright (C) 2009 - 2015 the OpenProject Foundation (OPF)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
@import costs/costs_legacy
@import costs/summarized_cost_entries
@import costs/settings

@ -18,6 +18,10 @@
*
*/
.costs.costTypes
.separator
margin-left: -0.2em
table.list.members
.form--text-field.-tiny
min-width: 60px

@ -1,124 +0,0 @@
/*-- copyright
OpenProject Costs Plugin
Copyright (C) 2009 - 2014 the OpenProject Foundation (OPF)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
version 3.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
++*/
.wide-icon {
background-position: 0% 40%;
background-repeat: no-repeat;
padding-left: 40px;
padding-top: 2px;
padding-bottom: 3px;
}
.single-wide-icon {
background-position: 20px 40%;
}
.simple-filters--filter .simple-filters--filter-name.-small {
max-width: 35%;
flex-basis: 35%;
}
#include_deleted {
vertical-align: middle;
}
table.material_budget_items,
table.labor_budget_items,
table.cost_entries {
width: 100%;
}
table.cost_types,
table.rates {
text-align: center;
}
.material_budget_items tr,
.labor_budget_items tr,
.cost_entries tr {
text-align: center;
vertical-align: top;
}
tr.cost_entry {
text-align: center;
white-space: nowrap;
}
th.currency,
td.currency,
.currency {
text-align: right;
white-space: nowrap;
}
td.subject,
td.comment {
text-align: left;
}
table.labor_budget_items, td.hours {
font-weight: normal;
padding-right: .5em;
text-align: right;
}
td.units {
font-weight: normal;
padding-right: .5em;
text-align: left;
}
td.comment input {
width: 99%; /* not 100% for IE6 */
}
.tabular div.p {
clear: left;
height: 1%;
margin: 0;
padding: 5px 0 8px 180px;
}
.inline_editable {
cursor: pointer;
}
.cost_entry td{
vertical-align: top;
padding: 6px 6px;
}
.budget-table--fields{
text-align: left;
}
#budget-table--submit-button{
margin: 1rem 1rem 1rem 0.1rem;
}
table.progress td.exceeded { background: #E1B9B9 none repeat scroll 0%; }
fieldset#group-by table { border-collapse: collapse; }
fieldset#group-by table td { padding: 0; vertical-align: middle; }
fieldset#group-by tr.filter { height: 2em; }
fieldset#group-by td.add-group-by { text-align: right; vertical-align: top; }
Loading…
Cancel
Save