mirror of
https://github.com/minio/minio.git
synced 2025-11-24 19:46:16 -05:00
miniobrowser: Bring Minio browser source into minio repo. (#3617)
This commit is contained in:
committed by
Harshavardhana
parent
8489f22fe2
commit
cead24b0f7
53
browser/app/less/inc/buttons.less
Normal file
53
browser/app/less/inc/buttons.less
Normal file
@@ -0,0 +1,53 @@
|
||||
.btn {
|
||||
border: 0;
|
||||
padding: 5px 10px;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
border-radius: 2px;
|
||||
text-align: center;
|
||||
.transition(all);
|
||||
.transition-duration(300ms);
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
.opacity(0.9);
|
||||
}
|
||||
}
|
||||
|
||||
/*-----------------------------------
|
||||
Button Variants
|
||||
------------------------------------*/
|
||||
.btn-variant(@bg-color, @color) {
|
||||
color: @color;
|
||||
background-color: @bg-color;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @color;
|
||||
background-color: darken(@bg-color, 6%);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
.btn-block {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.btn-link {
|
||||
.btn-variant(#eee, #545454);
|
||||
}
|
||||
|
||||
.btn-danger {
|
||||
.btn-variant(@red, @white);
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
.btn-variant(@blue, @white);
|
||||
}
|
||||
|
||||
.btn-success {
|
||||
.btn-variant(@green, @white);
|
||||
}
|
||||
//-----------------------------------
|
||||
Reference in New Issue
Block a user