I am trying to translate the following SASS file to LESS. The code below is the part of SASS file.
.btn-border-o {
    background-color: transparent;
    border: 1px solid #d0d0d0;
    color: #B8B8B8;
    &:before {
        width: 0;
        height: 100%;
        border-width: 1px 0 1px 0;
        top: -1px;
        left: 0;
        transition-delay: 0.05s;
    }
    &:after {
        width: 100%;
        height: 0;
        border-width: 0 1px 0 1px;
        top: 0;
        left: -1px;
    }
    @each $name,$hex in $btn-colors {
        &.btn-#{$name} {
            &:before,
            &:after {
                border-color: #{$hex};
            }
            &:hover {
                color: #{$hex};
            }
        }
    }
}
The SASS allows to make list of variables as if making dictionary. Like:
$btn-colors: (
    "green": "#2ecc71",
    "blue": "#3498db",
    "purple": "#9b59b6",
    "navy": "#34495e",
    "orange": "#e67e22",
    "red": "#e74c3c"
);
So it allows to make loops based on that. However, I am having hard time finding any documentation regarding making list of variables for LESS.
If there is none, I want to know how to make that transition to LESS based on the code example above.