Extract file with CSS for budget phases table
This commit is contained in:
@@ -1160,38 +1160,6 @@ table {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.budget-phase-enabled {
|
|
||||||
font-weight: bold;
|
|
||||||
padding-left: rem-calc(20);
|
|
||||||
position: relative;
|
|
||||||
text-decoration: none;
|
|
||||||
|
|
||||||
&.enabled::before,
|
|
||||||
&.disabled::before {
|
|
||||||
font-family: "icons";
|
|
||||||
left: 0;
|
|
||||||
position: absolute;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.enabled {
|
|
||||||
color: $check;
|
|
||||||
|
|
||||||
&::before {
|
|
||||||
color: $check;
|
|
||||||
content: "\6c";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.disabled {
|
|
||||||
color: #000;
|
|
||||||
|
|
||||||
&::before {
|
|
||||||
color: #000;
|
|
||||||
content: "\76";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.columns-selector {
|
.columns-selector {
|
||||||
|
|
||||||
[class^="icon-"] {
|
[class^="icon-"] {
|
||||||
|
|||||||
34
app/assets/stylesheets/admin/budget_phases/phases.css
Normal file
34
app/assets/stylesheets/admin/budget_phases/phases.css
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
.budget-phases-table {
|
||||||
|
|
||||||
|
.budget-phase-enabled {
|
||||||
|
font-weight: bold;
|
||||||
|
padding-left: rem-calc(20);
|
||||||
|
position: relative;
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
&.enabled::before,
|
||||||
|
&.disabled::before {
|
||||||
|
font-family: "icons";
|
||||||
|
left: 0;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.enabled {
|
||||||
|
color: $check;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
color: $check;
|
||||||
|
content: "\6c";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.disabled {
|
||||||
|
color: #000;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
color: #000;
|
||||||
|
content: "\76";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
<% if phases.present? %>
|
<% if phases.present? %>
|
||||||
<table id="budget-phases-table" class="table-for-mobile">
|
<table id="budget-phases-table" class="budget-phases-table table-for-mobile">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th><%= t("admin.budgets.edit.phase") %></th>
|
<th><%= t("admin.budgets.edit.phase") %></th>
|
||||||
|
|||||||
Reference in New Issue
Block a user