-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…rders Conflicts: build/styles.css src/modules/open-orders/less/open-order.less
- Loading branch information
Showing
10 changed files
with
135 additions
and
84 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,71 @@ | ||
.open-orders-list { | ||
padding: 4vmin 6vmin; | ||
} | ||
|
||
.market-open-orders { | ||
.open-orders-group { | ||
display: inline-block; | ||
margin-top: 3px; | ||
vertical-align: top; | ||
} | ||
|
||
.open-order.isDisabled { | ||
text-decoration: line-through; | ||
} | ||
|
||
.open-order td { | ||
padding: 1px 5px; | ||
} | ||
|
||
.open-order .outcome-name { | ||
text-align: left; | ||
text-transform: uppercase; | ||
min-width: 9rem; | ||
} | ||
.open-orders-list { | ||
margin: 0 0 0 -1.5em; | ||
padding: 4vmin 6vmin; | ||
|
||
.open-orders-group { | ||
display: inline-block; | ||
margin: 0 0 2em 0; | ||
padding: 0 1.5em; | ||
vertical-align: top; | ||
border-right: 1px solid @color-border; | ||
|
||
td { | ||
padding: 0.1em 0.5em; | ||
} | ||
|
||
.outcome-name { | ||
min-width: 9rem; | ||
text-align: left; | ||
} | ||
.type { | ||
text-align: right; | ||
} | ||
.shares { | ||
text-align: right; | ||
} | ||
.price { | ||
text-align: right; | ||
} | ||
.cancel { | ||
padding: 0.1em 0em; | ||
text-align: left; | ||
|
||
.cancel-order-action { | ||
padding: 0; | ||
text-align: left; | ||
color: @color-danger-active; | ||
background: transparent; | ||
font-size: 0.8em; | ||
|
||
&:before { | ||
content: '\f00d'; | ||
display: inline-block; position: relative; | ||
bottom: 0.1em; left: -0.2em; | ||
font-family: FontAwesome; | ||
font-weight: 700; | ||
|
||
} | ||
|
||
&:hover, &:active { | ||
font-weight: 900; | ||
} | ||
|
||
&[disabled] { | ||
color: @color-muted-active !important; | ||
background: transparent !important; | ||
} | ||
} | ||
} | ||
|
||
.open-order { | ||
.outcome-name { | ||
text-transform: uppercase; | ||
} | ||
.is-disabled { | ||
text-decoration: line-through; | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters