Work on Expensify

This commit is contained in:
Rick Falkvinge
2018-02-25 16:30:52 +01:00
parent 6ed7ec4345
commit 7554cd4990
2 changed files with 29 additions and 6 deletions
@@ -7,11 +7,13 @@
<Swarmops5:ExternalScripts ID="ScriptFancyBox" Package="FancyBox" runat="server"/>
<style type="text/css">
.LocalEditExpenseClaim {
cursor: pointer;
.enableVatField {
display: none;
}
.LocalEditExpenseClaim {
cursor: pointer;
}
</style>
<script type="text/javascript">
@@ -331,8 +333,8 @@
<Swarmops5:ModalDialog ID="DialogEditExpenseClaim" runat="server">
<DialogCode>
<h2>Editing Expense Claim</h2>
<div class="entryFields">Budget<br/>Description<br/>Amount<br/>amountVat<br/><input type="button" class="NoInputFocus" value="Delete"/>&nbsp;<input type="button" class="NoInputFocus" value="Save changes"/></div>
<div class="entryLabels">Budget charged<br />Description<br/>Expense amount<br/><div class="enableVatField" style="display:none">VAT amount of the total</div></div>
<div class="entryFields">Budget<br/>Description<br/>Amount<br/><div class="enableVatField">amountVat<br/></div><input type="button" class="buttonAccentColor Red HalfWidth NoInputFocus" value="Delete"/>&nbsp;<input type="button" class="buttonAccentColor HalfWidth NoInputFocus" value="Proceed &gt;&gt;"/></div>
<div class="entryLabels">Budget charged<br />Description<br/>Expense amount<br/><div class="enableVatField">VAT amount of the total</div></div>
</DialogCode>
</Swarmops5:ModalDialog>
</asp:Content>
+22 -1
View File
@@ -698,6 +698,23 @@ body.rtl .buttonAccentColor:focus {
}
.buttonAccentColor.Red {
background: #EA4211;
border: 1px solid #EA4211;
box-shadow: 1px 1px 4px #7F2800;
background: linear-gradient(#FF6145, #F05822);
text-shadow: #FFEDC8 0px 0px 3px, #FFEDC8 0px 0px 3px;
border-color: #C74815;
}
.buttonAccentColor.Red:hover, .buttonAccentColor.Red:focus {
box-shadow: 2px 2px 4px #7F5500;
background: #FF614D;
background: linear-gradient(#FF7280, #FF614D);
}
.button-orange
{
-webkit-box-shadow: 0 1px 3px #C78B15;
@@ -824,10 +841,14 @@ body.rtl div.modal .entryFields {
box-shadow: 0px 0px 4px 2px #1C397E inset;
}
.entryFields > input[type=button] {
.entryFields > input[type=button]:not(.HalfWidth) {
width: 324px;
}
.entryFields > input[type=button].HalfWidth {
width: 160px;
}
.entryFields span.toggleLabel {
position: relative;
top: -3px;