Skip to content
Snippets Groups Projects
Unverified Commit e58b8ff9 authored by Sébastien Thuret's avatar Sébastien Thuret
Browse files

Add switch type (text or files ) button

parent 3e9d4c2c
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,10 @@ h3.header {
margin-top: 0 !important;
}
.mb-1 {
margin-bottom: 1rem;
}
.position-relative {
position: relative;
}
......@@ -114,6 +118,21 @@ h3.header {
display: flex;
}
.btn-switch-type {
background-color: #fff;
color: #42A5F5;
}
.btn-switch-type:hover {
background-color: #eee;
color: #42A5F5;
}
.btn-switch-type.active {
background-color: #42A5F5;
color: #fff;
}
.btn-action {
display: flex;
align-items: center;
......
......@@ -105,7 +105,10 @@
<div class="container">
<div class="row">
<h3 class="header center">Translation API</h3>
<div class="col s12 mb-1">
<a class="btn btn-switch-type active"><i class="material-icons left">title</i>Translate text</a>
<a class="btn btn-switch-type"><i class="material-icons left">description</i>Translate files</a>
</div>
<form class="col s12">
<div class="row mb-0">
<div class="col s6 language-select">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment