Skip to content
This repository has been archived by the owner on Aug 27, 2019. It is now read-only.

Custom CSS edges #15

Open
robertsLando opened this issue Feb 26, 2018 · 0 comments
Open

Custom CSS edges #15

robertsLando opened this issue Feb 26, 2018 · 0 comments

Comments

@robertsLando
Copy link

I have added some style to draw edges instead of using font-awesome icons. Here an example and this is the style:

.edge {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    visibility: hidden;
}

.edge.verticalEdge, .edge.horizontalEdge {
    height: auto !important;
    width: auto !important;
}

.edge.verticalEdge{
  left: 46% !important;
}

.edge.horizontalEdge{
  top: 46% !important;
}

.edge.fa-chevron-right {
    visibility: visible;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.edge.fa-chevron-left {
    visibility: visible;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.edge.fa-chevron-up {
    visibility: visible;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.edge.fa-chevron-down {
    visibility: visible;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants