You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1354 lines
29 KiB
1354 lines
29 KiB
/*
|
|
* # Semantic - Button
|
|
* http://github.com/jlukic/semantic-ui/
|
|
*
|
|
*
|
|
* Copyright 2013 Contributors
|
|
* Released under the MIT license
|
|
* http://opensource.org/licenses/MIT
|
|
*
|
|
*/
|
|
|
|
|
|
/*******************************
|
|
Button
|
|
*******************************/
|
|
|
|
/* Prototype */
|
|
.ui.button {
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
|
|
min-height: 1em;
|
|
|
|
outline: none;
|
|
border: none;
|
|
background-color: #FAFAFA;
|
|
color: #808080;
|
|
|
|
margin: 0em;
|
|
padding: 0.8em 1.5em;
|
|
|
|
font-size: 1rem;
|
|
text-transform: uppercase;
|
|
line-height: 1;
|
|
font-weight: bold;
|
|
font-style: normal;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
|
|
background-image: -webkit-gradient(linear, right top, right bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.05)));
|
|
|
|
background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
|
|
|
|
background-image: -moz-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
|
|
|
|
background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
|
|
border-radius: 0.25em;
|
|
|
|
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.08) inset
|
|
;
|
|
|
|
box-shadow:
|
|
0px 0px 0px 1px rgba(0, 0, 0, 0.08) inset
|
|
;
|
|
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-ms-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
|
|
-webkit-transition:
|
|
opacity 0.25s ease,
|
|
background-color 0.25s ease,
|
|
color 0.25s ease,
|
|
background 0.25s ease,
|
|
-webkit-box-shadow 0.25s ease;
|
|
-moz-transition:
|
|
opacity 0.25s ease,
|
|
background-color 0.25s ease,
|
|
color 0.25s ease,
|
|
background 0.25s ease,
|
|
box-shadow 0.25s ease
|
|
;
|
|
transition:
|
|
opacity 0.25s ease,
|
|
background-color 0.25s ease,
|
|
color 0.25s ease,
|
|
background 0.25s ease,
|
|
box-shadow 0.25s ease
|
|
;
|
|
}
|
|
|
|
|
|
|
|
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
|
|
|
|
/*--------------
|
|
Active
|
|
---------------*/
|
|
|
|
.ui.buttons .active.button,
|
|
.ui.active.button {
|
|
background-color: #EAEAEA;
|
|
background-image: none;
|
|
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.05) inset !important;
|
|
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.05) inset !important;
|
|
color: rgba(0, 0, 0, 0.7);
|
|
}
|
|
|
|
|
|
/*--------------
|
|
Hover
|
|
---------------*/
|
|
|
|
.ui.button:hover {
|
|
background-image: -webkit-gradient(linear, right top, right bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.08)));
|
|
background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
|
|
background-image: -moz-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
|
|
background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
|
|
color: rgba(0, 0, 0, 0.7);
|
|
}
|
|
.ui.button.active:hover {
|
|
background-image: none;
|
|
}
|
|
|
|
.ui.button:hover .icon,
|
|
.ui.button.hover .icon {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
/*--------------
|
|
Down
|
|
---------------*/
|
|
|
|
.ui.button:active,
|
|
.ui.active.button:active {
|
|
background-color: #F1F1F1;
|
|
color: rgba(0, 0, 0, 0.7);
|
|
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.05) inset !important;
|
|
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.05) inset !important;
|
|
}
|
|
|
|
/*--------------
|
|
Loading
|
|
---------------*/
|
|
|
|
.ui.loading.button {
|
|
position: relative;
|
|
cursor: default;
|
|
|
|
background-color: #FFFFFF !important;
|
|
color: transparent !important;
|
|
|
|
-webkit-transition: all 0s linear;
|
|
-moz-transition: all 0s linear;
|
|
transition: all 0s linear;
|
|
}
|
|
.ui.loading.button:after {
|
|
position: absolute;
|
|
top: 0em;
|
|
right: 0em;
|
|
width: 100%;
|
|
height: 100%;
|
|
content: '';
|
|
background: transparent url(../images/loader-mini.gif) no-repeat 50% 50%;
|
|
}
|
|
|
|
.ui.labeled.icon.loading.button .icon {
|
|
background-color: transparent;
|
|
-webkit-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
/*-------------------
|
|
Disabled
|
|
--------------------*/
|
|
|
|
.ui.disabled.button,
|
|
.ui.disabled.button:hover,
|
|
.ui.disabled.button.active {
|
|
background-color: #DDDDDD !important;
|
|
cursor: default;
|
|
color: rgba(0, 0, 0, 0.5) !important;
|
|
opacity: 0.3 !important;
|
|
background-image: none !important;
|
|
-webkit-box-shadow: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
/*******************************
|
|
Types
|
|
*******************************/
|
|
|
|
/*-------------------
|
|
Animated
|
|
--------------------*/
|
|
|
|
.ui.animated.button {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ui.animated.button .visible.content {
|
|
position: relative;
|
|
}
|
|
.ui.animated.button .hidden.content {
|
|
position: absolute;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Horizontal */
|
|
.ui.animated.button .visible.content,
|
|
.ui.animated.button .hidden.content {
|
|
-webkit-transition: left 0.3s ease 0s;
|
|
-moz-transition: left 0.3s ease 0s;
|
|
transition: left 0.3s ease 0s;
|
|
}
|
|
.ui.animated.button .visible.content {
|
|
right: auto;
|
|
left: 0%;
|
|
}
|
|
.ui.animated.button .hidden.content {
|
|
top: 50%;
|
|
right: auto;
|
|
left: -100%;
|
|
margin-top: -0.55em;
|
|
}
|
|
.ui.animated.button:hover .visible.content {
|
|
right: auto;
|
|
left: 200%;
|
|
}
|
|
.ui.animated.button:hover .hidden.content {
|
|
right: auto;
|
|
left: 0%;
|
|
}
|
|
|
|
/* Vertical */
|
|
.ui.vertical.animated.button .visible.content,
|
|
.ui.vertical.animated.button .hidden.content {
|
|
-webkit-transition: top 0.3s ease 0s, -webkit-transform 0.3s ease 0s;
|
|
-moz-transition: top 0.3s ease 0s, -moz-transform 0.3s ease 0s;
|
|
transition: top 0.3s ease 0s, transform 0.3s ease 0s;
|
|
}
|
|
.ui.vertical.animated.button .visible.content {
|
|
-webkit-transform: translateY(0%);
|
|
-moz-transform: translateY(0%);
|
|
-ms-transform: translateY(0%);
|
|
transform: translateY(0%);
|
|
left: auto;
|
|
}
|
|
.ui.vertical.animated.button .hidden.content {
|
|
top: -100%;
|
|
right: 0%;
|
|
left: auto;
|
|
}
|
|
.ui.vertical.animated.button:hover .visible.content {
|
|
-webkit-transform: translateY(200%);
|
|
-moz-transform: translateY(200%);
|
|
-ms-transform: translateY(200%);
|
|
transform: translateY(200%);
|
|
left: auto;
|
|
}
|
|
.ui.vertical.animated.button:hover .hidden.content {
|
|
top: 50%;
|
|
left: auto;
|
|
}
|
|
|
|
/* Fade */
|
|
.ui.fade.animated.button .visible.content,
|
|
.ui.fade.animated.button .hidden.content {
|
|
-webkit-transition: opacity 0.3s ease 0s, -webkit-transform 0.3s ease 0s;
|
|
-moz-transition: opacity 0.3s ease 0s, -moz-transform 0.3s ease 0s;
|
|
transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
|
|
}
|
|
.ui.fade.animated.button .visible.content {
|
|
right: auto;
|
|
left: auto;
|
|
opacity: 1;
|
|
-webkit-transform: scale(1);
|
|
-moz-transform: scale(1);
|
|
-ms-transform: scale(1);
|
|
transform: scale(1);
|
|
}
|
|
.ui.fade.animated.button .hidden.content {
|
|
opacity: 0;
|
|
right: 0%;
|
|
left: auto;
|
|
-webkit-transform: scale(1.2);
|
|
-moz-transform: scale(1.2);
|
|
-ms-transform: scale(1.2);
|
|
transform: scale(1.2);
|
|
}
|
|
.ui.fade.animated.button:hover .visible.content {
|
|
right: auto;
|
|
left: auto;
|
|
opacity: 0;
|
|
-webkit-transform: scale(0.7);
|
|
-moz-transform: scale(0.7);
|
|
-ms-transform: scale(0.7);
|
|
transform: scale(0.7);
|
|
}
|
|
.ui.fade.animated.button:hover .hidden.content {
|
|
right: 0%;
|
|
left: auto;
|
|
opacity: 1;
|
|
-webkit-transform: scale(1);
|
|
-moz-transform: scale(1);
|
|
-ms-transform: scale(1);
|
|
transform: scale(1);
|
|
}
|
|
|
|
|
|
/*-------------------
|
|
Primary
|
|
--------------------*/
|
|
|
|
.ui.primary.buttons .button,
|
|
.ui.primary.button {
|
|
background-color: #D95C5C;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.primary.buttons .button:hover,
|
|
.ui.primary.button:hover,
|
|
.ui.primary.buttons .active.button,
|
|
.ui.primary.button.active {
|
|
background-color: #E75859;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.primary.buttons .button:active,
|
|
.ui.primary.button:active {
|
|
background-color: #D24B4C;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/*-------------------
|
|
Secondary
|
|
--------------------*/
|
|
|
|
.ui.secondary.buttons .button,
|
|
.ui.secondary.button {
|
|
background-color: #00B5AD;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.secondary.buttons .button:hover,
|
|
.ui.secondary.button:hover,
|
|
.ui.secondary.buttons .active.button,
|
|
.ui.secondary.button.active {
|
|
background-color: #009A93;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.secondary.buttons .button:active,
|
|
.ui.secondary.button:active {
|
|
background-color: #00847E;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/*-------------------
|
|
Social
|
|
--------------------*/
|
|
|
|
/* Facebook */
|
|
.ui.facebook.button {
|
|
background-color: #3B579D;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.facebook.button:hover {
|
|
background-color: #3A59A9;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.facebook.button:active {
|
|
background-color: #334F95;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/* Twitter */
|
|
.ui.twitter.button {
|
|
background-color: #4092CC;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.twitter.button:hover {
|
|
background-color: #399ADE;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.twitter.button:active {
|
|
background-color: #3283BC;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/* Google Plus */
|
|
.ui.google.plus.button {
|
|
background-color: #D34836;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.google.plus.button:hover {
|
|
background-color: #E3432E;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.google.plus.button:active {
|
|
background-color: #CA3A27;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/* Linked In */
|
|
.ui.linkedin.button {
|
|
background-color: #1F88BE;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.linkedin.button:hover {
|
|
background-color: #1394D6;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.linkedin.button:active {
|
|
background-color: #1179AE;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/* YouTube */
|
|
.ui.youtube.button {
|
|
background-color: #CC181E;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.youtube.button:hover {
|
|
background-color: #DF0209;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.youtube.button:active {
|
|
background-color: #A50006;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/* Instagram */
|
|
.ui.instagram.button {
|
|
background-color: #49769C;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.instagram.button:hover {
|
|
background-color: #4781B1;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.instagram.button:active {
|
|
background-color: #38658A;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/* Pinterest */
|
|
.ui.pinterest.button {
|
|
background-color: #00ACED;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.pinterest.button:hover {
|
|
background-color: #00B9FF;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.pinterest.button:active {
|
|
background-color: #009EDA;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/* vk.com */
|
|
.ui.vk.button {
|
|
background-color: #4D7198;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.vk.button:hover {
|
|
background-color: #537AA5;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.vk.button:active {
|
|
background-color: #405E7E;
|
|
color: #FFFFFF;
|
|
}
|
|
/*--------------
|
|
Icon
|
|
---------------*/
|
|
|
|
.ui.button > .icon {
|
|
margin-left: 0.6em;
|
|
|
|
line-height: 1;
|
|
|
|
-webkit-transition:
|
|
opacity 0.1s ease
|
|
;
|
|
-moz-transition:
|
|
opacity 0.1s ease
|
|
;
|
|
transition:
|
|
opacity 0.1s ease
|
|
;
|
|
}
|
|
|
|
|
|
/*******************************
|
|
Variations
|
|
*******************************/
|
|
|
|
|
|
/*-------------------
|
|
Floated
|
|
--------------------*/
|
|
|
|
.ui.left.floated.buttons,
|
|
.ui.left.floated.button {
|
|
float: right;
|
|
margin-left: 0.25em;
|
|
}
|
|
.ui.right.floated.buttons,
|
|
.ui.right.floated.button {
|
|
float: left;
|
|
margin-right: 0.25em;
|
|
}
|
|
|
|
|
|
|
|
/*-------------------
|
|
Sizes
|
|
--------------------*/
|
|
|
|
.ui.buttons .button,
|
|
.ui.button {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.ui.mini.buttons .button,
|
|
.ui.mini.buttons .or,
|
|
.ui.mini.button {
|
|
font-size: 0.8rem;
|
|
}
|
|
.ui.mini.buttons .button,
|
|
.ui.mini.button {
|
|
padding: 0.6em 0.8em;
|
|
}
|
|
.ui.mini.icon.buttons .button,
|
|
.ui.mini.buttons .icon.button {
|
|
padding: 0.6em 0.6em;
|
|
}
|
|
|
|
.ui.tiny.buttons .button,
|
|
.ui.tiny.buttons .or,
|
|
.ui.tiny.button {
|
|
font-size: 0.875em;
|
|
}
|
|
.ui.tiny.buttons .button,
|
|
.ui.tiny.buttons .button,
|
|
.ui.tiny.button {
|
|
padding: 0.6em 0.8em;
|
|
}
|
|
.ui.tiny.icon.buttons .button,
|
|
.ui.tiny.buttons .icon.button {
|
|
padding: 0.6em 0.6em;
|
|
}
|
|
|
|
.ui.small.buttons .button,
|
|
.ui.small.buttons .or,
|
|
.ui.small.button {
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.ui.large.buttons .button,
|
|
.ui.large.buttons .or,
|
|
.ui.large.button {
|
|
font-size: 1.125rem;
|
|
}
|
|
.ui.big.buttons .button,
|
|
.ui.big.buttons .or,
|
|
.ui.big.button {
|
|
font-size: 1.25rem;
|
|
}
|
|
.ui.huge.buttons .button,
|
|
.ui.huge.buttons .or,
|
|
.ui.huge.button {
|
|
font-size: 1.375rem;
|
|
}
|
|
.ui.massive.buttons .button,
|
|
.ui.massive.buttons .or,
|
|
.ui.massive.button {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Or resize */
|
|
.ui.tiny.buttons .or:before,
|
|
.ui.mini.buttons .or:before {
|
|
width: 1.45em;
|
|
height: 1.55em;
|
|
line-height: 1.4;
|
|
margin-right: -0.725em;
|
|
margin-top: -0.25em;
|
|
}
|
|
.ui.tiny.buttons .or:after,
|
|
.ui.mini.buttons .or:after {
|
|
height: 1.45em;
|
|
}
|
|
|
|
/* loading */
|
|
.ui.huge.loading.button:after {
|
|
background-image: url(../images/loader-small.gif);
|
|
}
|
|
.ui.massive.buttons .loading.button:after,
|
|
.ui.gigantic.buttons .loading.button:after,
|
|
.ui.massive.loading.button:after,
|
|
.ui.gigantic.loading.button:after {
|
|
background-image: url(../images/loader-medium.gif);
|
|
}
|
|
|
|
.ui.huge.loading.button:after,
|
|
.ui.huge.loading.button.active:after {
|
|
background-image: url(../images/loader-small.gif);
|
|
}
|
|
.ui.massive.buttons .loading.button:after,
|
|
.ui.gigantic.buttons .loading.button:after,
|
|
.ui.massive.loading.button:after,
|
|
.ui.gigantic.loading.button:after,
|
|
.ui.massive.buttons .loading.button.active:after,
|
|
.ui.gigantic.buttons .loading.button.active:after,
|
|
.ui.massive.loading.button.active:after,
|
|
.ui.gigantic.loading.button.active:after {
|
|
background-image: url(../images/loader-medium.gif);
|
|
}
|
|
|
|
/*--------------
|
|
Icon Only
|
|
---------------*/
|
|
|
|
.ui.icon.buttons .button,
|
|
.ui.icon.button {
|
|
padding: 0.8em;
|
|
}
|
|
.ui.icon.buttons .button > .icon,
|
|
.ui.icon.button > .icon {
|
|
opacity: 0.9;
|
|
margin: 0em;
|
|
vertical-align: top;
|
|
}
|
|
|
|
|
|
|
|
/*-------------------
|
|
Basic
|
|
--------------------*/
|
|
|
|
.ui.basic.buttons .button,
|
|
.ui.basic.button {
|
|
background-color: transparent !important;
|
|
background-image: none;
|
|
color: #808080 !important;
|
|
font-weight: normal;
|
|
text-transform: none;
|
|
|
|
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
|
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
|
}
|
|
.ui.basic.buttons {
|
|
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
|
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
|
border-radius: 0.25em;
|
|
}
|
|
|
|
.ui.basic.buttons .button:hover,
|
|
.ui.basic.button:hover {
|
|
background-image: none;
|
|
color: #7F7F7F !important;
|
|
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.18) inset;
|
|
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.18) inset;
|
|
}
|
|
.ui.basic.buttons .button:active,
|
|
.ui.basic.button:active {
|
|
background-color: rgba(0, 0, 0, 0.02) !important;
|
|
color: #7F7F7F !important;
|
|
|
|
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
|
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
|
}
|
|
.ui.basic.buttons .button.active,
|
|
.ui.basic.button.active {
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
color: #7F7F7F;
|
|
|
|
-webkit-box-shadow: 0px 0px 0px 1px #BDBDBD inset;
|
|
box-shadow: 0px 0px 0px 1px #BDBDBD inset;
|
|
}
|
|
.ui.basic.buttons .button.active:hover,
|
|
.ui.basic.button.active:hover {
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* Inverted */
|
|
.ui.basic.inverted.buttons .button,
|
|
.ui.basic.inverted.button {
|
|
color: #FAFAFA !important;
|
|
-webkit-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.3) inset;
|
|
box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.3) inset;
|
|
}
|
|
.ui.basic.inverted.buttons .button:hover,
|
|
.ui.basic.inverted.button:hover {
|
|
background-image: none;
|
|
color: #FFFFFF !important;
|
|
-webkit-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.5) inset;
|
|
box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.5) inset;
|
|
}
|
|
.ui.basic.inverted.buttons .button:active,
|
|
.ui.basic.inverted.button:active {
|
|
background-color: rgba(255, 255, 255, 0.05) !important;
|
|
color: #FFFFFF !important;
|
|
-webkit-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.8) inset !important;
|
|
box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.8) inset !important;
|
|
}
|
|
.ui.basic.inverted.buttons .button.active,
|
|
.ui.basic.inverted.button.active {
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
color: #FFFFFF;
|
|
-webkit-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
.ui.basic.inverted.buttons .button.active:hover,
|
|
.ui.basic.inverted.button.active:hover {
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* Basic Group */
|
|
.ui.basic.buttons .button {
|
|
border-right: 1px solid rgba(0, 0, 0, 0.1);
|
|
|
|
-webkit-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
.ui.basic.buttons .button:hover,
|
|
.ui.basic.buttons .button:active {
|
|
-webkit-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
.ui.basic.buttons .button.active,
|
|
.ui.basic.buttons .button.active:hover {
|
|
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) inset;
|
|
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2) inset;
|
|
}
|
|
|
|
|
|
|
|
/*--------------
|
|
Labeled Icon
|
|
---------------*/
|
|
|
|
.ui.labeled.icon.buttons .button,
|
|
.ui.labeled.icon.button {
|
|
position: relative;
|
|
padding-right: 4em !important;
|
|
padding-left: 1.4em !important;
|
|
}
|
|
|
|
.ui.labeled.icon.buttons > .button > .icon,
|
|
.ui.labeled.icon.button > .icon {
|
|
position: absolute;
|
|
top: 0em;
|
|
right: 0em;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-ms-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
|
width: 2.75em;
|
|
height: 100%;
|
|
padding-top: 0.8em;
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
text-align: center;
|
|
border-radius: 0px 0.25em 0.25em 0px;
|
|
|
|
line-height: 1;
|
|
|
|
-webkit-box-shadow: 1px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
|
|
box-shadow: 1px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
|
|
}
|
|
|
|
.ui.labeled.icon.buttons .button > .icon {
|
|
border-radius: 0em;
|
|
}
|
|
.ui.labeled.icon.buttons .button:first-child > .icon {
|
|
border-top-right-radius: 0.25em;
|
|
border-bottom-right-radius: 0.25em;
|
|
}
|
|
.ui.labeled.icon.buttons .button:last-child > .icon {
|
|
border-top-left-radius: 0.25em;
|
|
border-bottom-left-radius: 0.25em;
|
|
}
|
|
.ui.vertical.labeled.icon.buttons .button:first-child > .icon {
|
|
border-radius: 0em;
|
|
border-top-right-radius: 0.25em;
|
|
}
|
|
.ui.vertical.labeled.icon.buttons .button:last-child > .icon {
|
|
border-radius: 0em;
|
|
border-bottom-right-radius: 0.25em;
|
|
}
|
|
|
|
.ui.right.labeled.icon.button {
|
|
padding-right: 1.4em !important;
|
|
padding-left: 4em !important;
|
|
}
|
|
.ui.left.fluid.labeled.icon.button,
|
|
.ui.right.fluid.labeled.icon.button {
|
|
padding-right: 1.4em !important;
|
|
padding-left: 1.4em !important;
|
|
}
|
|
|
|
.ui.right.labeled.icon.button .icon {
|
|
right: auto;
|
|
left: 0em;
|
|
border-radius: 0.25em 0em 0em 0.25em;
|
|
|
|
-webkit-box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
|
|
box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.05) inset;
|
|
}
|
|
|
|
|
|
/*--------------
|
|
Toggle
|
|
---------------*/
|
|
|
|
/* Toggle (Modifies active state to give affordances) */
|
|
.ui.toggle.buttons .active.button,
|
|
.ui.buttons .button.toggle.active,
|
|
.ui.button.toggle.active {
|
|
background-color: #5BBD72 !important;
|
|
color: #FFFFFF !important;
|
|
-webkit-box-shadow: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
.ui.button.toggle.active:hover {
|
|
background-color: #58CB73 !important;
|
|
color: #FFFFFF !important;
|
|
-webkit-box-shadow: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
/*--------------
|
|
Circular
|
|
---------------*/
|
|
|
|
.ui.circular.button {
|
|
border-radius: 10em;
|
|
}
|
|
|
|
|
|
/*--------------
|
|
Attached
|
|
---------------*/
|
|
|
|
.ui.attached.button {
|
|
display: block;
|
|
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
|
|
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
|
|
}
|
|
.ui.attached.top.button {
|
|
border-radius: 0.25em 0.25em 0em 0em;
|
|
}
|
|
.ui.attached.bottom.button {
|
|
border-radius: 0em 0em 0.25em 0.25em;
|
|
}
|
|
.ui.attached.left.button {
|
|
display: inline-block;
|
|
border-right: none;
|
|
|
|
padding-left: 0.75em;
|
|
text-align: left;
|
|
border-radius: 0em 0.25em 0.25em 0em;
|
|
}
|
|
.ui.attached.right.button {
|
|
display: inline-block;
|
|
|
|
padding-right: 0.75em;
|
|
text-align: right;
|
|
border-radius: 0.25em 0em 0em 0.25em;
|
|
}
|
|
|
|
|
|
|
|
/*-------------------
|
|
Or Buttons
|
|
--------------------*/
|
|
|
|
.ui.buttons .or {
|
|
position: relative;
|
|
float: right;
|
|
width: 0.3em;
|
|
height: 1.1em;
|
|
z-index: 3;
|
|
}
|
|
.ui.buttons .or:before {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 50%;
|
|
content: 'or';
|
|
background-color: #FFFFFF;
|
|
|
|
margin-top: -0.1em;
|
|
margin-right: -0.9em;
|
|
|
|
width: 1.8em;
|
|
height: 1.8em;
|
|
|
|
line-height: 1.55;
|
|
color: #AAAAAA;
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
text-align: center;
|
|
border-radius: 500px;
|
|
|
|
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
|
|
|
|
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
|
|
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-ms-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
.ui.buttons .or[data-text]:before{
|
|
content: attr(data-text);
|
|
}
|
|
.ui.buttons .or:after {
|
|
position: absolute;
|
|
top: 0em;
|
|
right: 0em;
|
|
content: ' ';
|
|
|
|
width: 0.3em;
|
|
height: 1.7em;
|
|
|
|
background-color: transparent;
|
|
border-top: 0.5em solid #FFFFFF;
|
|
border-bottom: 0.5em solid #FFFFFF;
|
|
|
|
}
|
|
|
|
/* Fluid Or */
|
|
.ui.fluid.buttons .or {
|
|
width: 0em !important;
|
|
}
|
|
.ui.fluid.buttons .or:after{
|
|
display: none;
|
|
}
|
|
|
|
|
|
/*-------------------
|
|
Attached
|
|
--------------------*/
|
|
|
|
/* Plural Attached */
|
|
.attached.ui.buttons {
|
|
margin: 0px;
|
|
border-radius: 4px 4px 0px 0px;
|
|
}
|
|
.attached.ui.buttons .button:first-child {
|
|
border-radius: 0px 4px 0px 0px;
|
|
}
|
|
.attached.ui.buttons .button:last-child {
|
|
border-radius: 4px 0px 0px 0px;
|
|
}
|
|
|
|
/* Bottom Side */
|
|
.bottom.attached.ui.buttons {
|
|
margin-top: -1px;
|
|
border-radius: 0px 0px 4px 4px;
|
|
}
|
|
.bottom.attached.ui.buttons .button:first-child {
|
|
border-radius: 0px 0px 4px 0px;
|
|
}
|
|
.bottom.attached.ui.buttons .button:last-child {
|
|
border-radius: 0px 0px 0px 4px;
|
|
}
|
|
|
|
/* Left Side */
|
|
.left.attached.ui.buttons {
|
|
margin-right: -1px;
|
|
border-radius: 4px 0px 0px 4px;
|
|
}
|
|
.left.attached.ui.buttons .button:first-child {
|
|
margin-right: -1px;
|
|
border-radius: 4px 0px 0px 0px;
|
|
}
|
|
.left.attached.ui.buttons .button:last-child {
|
|
margin-right: -1px;
|
|
border-radius: 0px 0px 0px 4px;
|
|
}
|
|
/* Right Side */
|
|
.right.attached.ui.buttons,
|
|
.right.attached.ui.buttons .button {
|
|
margin-left: -1px;
|
|
border-radius: 0px 4px 4px 0px;
|
|
}
|
|
.right.attached.ui.buttons .button:first-child {
|
|
margin-right: -1px;
|
|
border-radius: 0px 4px 0px 0px;
|
|
}
|
|
.right.attached.ui.buttons .button:last-child {
|
|
margin-right: -1px;
|
|
border-radius: 0px 0px 4px 0px;
|
|
}
|
|
|
|
|
|
|
|
/* Fluid */
|
|
.ui.fluid.buttons,
|
|
.ui.button.fluid,
|
|
.ui.fluid.buttons > .button {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
.ui.\32.buttons > .button,
|
|
.ui.two.buttons > .button {
|
|
width: 50%;
|
|
}
|
|
.ui.\33.buttons > .button,
|
|
.ui.three.buttons > .button {
|
|
width: 33.333%;
|
|
}
|
|
.ui.\34.buttons > .button,
|
|
.ui.four.buttons > .button {
|
|
width: 25%;
|
|
}
|
|
.ui.\35.buttons > .button,
|
|
.ui.five.buttons > .button {
|
|
width: 20%;
|
|
}
|
|
.ui.\36.buttons > .button,
|
|
.ui.six.buttons > .button {
|
|
width: 16.666%;
|
|
}
|
|
.ui.\37.buttons > .button,
|
|
.ui.seven.buttons > .button {
|
|
width: 14.285%;
|
|
}
|
|
.ui.\38.buttons > .button,
|
|
.ui.eight.buttons > .button {
|
|
width: 12.500%;
|
|
}
|
|
.ui.\39.buttons > .button,
|
|
.ui.nine.buttons > .button {
|
|
width: 11.11%;
|
|
}
|
|
.ui.\31\30.buttons > .button,
|
|
.ui.ten.buttons > .button {
|
|
width: 10%;
|
|
}
|
|
.ui.\31\31.buttons > .button,
|
|
.ui.eleven.buttons > .button {
|
|
width: 9.09%;
|
|
}
|
|
.ui.\31\32.buttons > .button,
|
|
.ui.twelve.buttons > .button {
|
|
width: 8.3333%;
|
|
}
|
|
|
|
/* Fluid Vertical Buttons */
|
|
.ui.fluid.vertical.buttons,
|
|
.ui.fluid.vertical.buttons > .button {
|
|
display: block;
|
|
width: auto;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-ms-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.ui.\32.vertical.buttons > .button,
|
|
.ui.two.vertical.buttons > .button {
|
|
height: 50%;
|
|
}
|
|
.ui.\33.vertical.buttons > .button,
|
|
.ui.three.vertical.buttons > .button {
|
|
height: 33.333%;
|
|
}
|
|
.ui.\34.vertical.buttons > .button,
|
|
.ui.four.vertical.buttons > .button {
|
|
height: 25%;
|
|
}
|
|
.ui.\35.vertical.buttons > .button,
|
|
.ui.five.vertical.buttons > .button {
|
|
height: 20%;
|
|
}
|
|
.ui.\36.vertical.buttons > .button,
|
|
.ui.six.vertical.buttons > .button {
|
|
height: 16.666%;
|
|
}
|
|
.ui.\37.vertical.buttons > .button,
|
|
.ui.seven.vertical.buttons > .button {
|
|
height: 14.285%;
|
|
}
|
|
.ui.\38.vertical.buttons > .button,
|
|
.ui.eight.vertical.buttons > .button {
|
|
height: 12.500%;
|
|
}
|
|
.ui.\39.vertical.buttons > .button,
|
|
.ui.nine.vertical.buttons > .button {
|
|
height: 11.11%;
|
|
}
|
|
.ui.\31\30.vertical.buttons > .button,
|
|
.ui.ten.vertical.buttons > .button {
|
|
height: 10%;
|
|
}
|
|
.ui.\31\31.vertical.buttons > .button,
|
|
.ui.eleven.vertical.buttons > .button {
|
|
height: 9.09%;
|
|
}
|
|
.ui.\31\32.vertical.buttons > .button,
|
|
.ui.twelve.vertical.buttons > .button {
|
|
height: 8.3333%;
|
|
}
|
|
|
|
|
|
/*-------------------
|
|
Colors
|
|
--------------------*/
|
|
|
|
|
|
/*--- Black ---*/
|
|
.ui.black.buttons .button,
|
|
.ui.black.button {
|
|
background-color: #5C6166;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.black.buttons .button:hover,
|
|
.ui.black.button:hover {
|
|
background-color: #4C4C4C;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.black.buttons .button:active,
|
|
.ui.black.button:active {
|
|
background-color: #333333;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/*--- Green ---*/
|
|
.ui.green.buttons .button,
|
|
.ui.green.button {
|
|
background-color: #5BBD72;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.green.buttons .button:hover,
|
|
.ui.green.button:hover,
|
|
.ui.green.buttons .active.button,
|
|
.ui.green.button.active {
|
|
background-color: #58cb73;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.green.buttons .button:active,
|
|
.ui.green.button:active {
|
|
background-color: #4CB164;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/*--- Red ---*/
|
|
.ui.red.buttons .button,
|
|
.ui.red.button {
|
|
background-color: #D95C5C;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.red.buttons .button:hover,
|
|
.ui.red.button:hover,
|
|
.ui.red.buttons .active.button,
|
|
.ui.red.button.active {
|
|
background-color: #E75859;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.red.buttons .button:active,
|
|
.ui.red.button:active {
|
|
background-color: #D24B4C;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/*--- Orange ---*/
|
|
.ui.orange.buttons .button,
|
|
.ui.orange.button {
|
|
background-color: #E96633;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.orange.buttons .button:hover,
|
|
.ui.orange.button:hover,
|
|
.ui.orange.buttons .active.button,
|
|
.ui.orange.button.active {
|
|
background-color: #FF7038;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.orange.buttons .button:active,
|
|
.ui.orange.button:active {
|
|
background-color: #DA683B;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/*--- Blue ---*/
|
|
.ui.blue.buttons .button,
|
|
.ui.blue.button {
|
|
background-color: #6ECFF5;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.blue.buttons .button:hover,
|
|
.ui.blue.button:hover,
|
|
.ui.blue.buttons .active.button,
|
|
.ui.blue.button.active {
|
|
background-color: #1AB8F3;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.blue.buttons .button:active,
|
|
.ui.blue.button:active {
|
|
background-color: #0AA5DF;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/*--- Purple ---*/
|
|
.ui.purple.buttons .button,
|
|
.ui.purple.button {
|
|
background-color: #564F8A;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.purple.buttons .button:hover,
|
|
.ui.purple.button:hover,
|
|
.ui.purple.buttons .active.button,
|
|
.ui.purple.button.active {
|
|
background-color: #3E3773;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.purple.buttons .button:active,
|
|
.ui.purple.button:active {
|
|
background-color: #2E2860;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/*--- Teal ---*/
|
|
.ui.teal.buttons .button,
|
|
.ui.teal.button {
|
|
background-color: #00B5AD;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.teal.buttons .button:hover,
|
|
.ui.teal.button:hover,
|
|
.ui.teal.buttons .active.button,
|
|
.ui.teal.button.active {
|
|
background-color: #009A93;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.teal.buttons .button:active,
|
|
.ui.teal.button:active {
|
|
background-color: #00847E;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/*---------------
|
|
Positive
|
|
----------------*/
|
|
|
|
.ui.positive.buttons .button,
|
|
.ui.positive.button {
|
|
background-color: #5BBD72 !important;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.positive.buttons .button:hover,
|
|
.ui.positive.button:hover,
|
|
.ui.positive.buttons .active.button,
|
|
.ui.positive.button.active {
|
|
background-color: #58CB73 !important;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.positive.buttons .button:active,
|
|
.ui.positive.button:active {
|
|
background-color: #4CB164 !important;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
|
|
/*---------------
|
|
Negative
|
|
----------------*/
|
|
.ui.negative.buttons .button,
|
|
.ui.negative.button {
|
|
background-color: #D95C5C !important;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.negative.buttons .button:hover,
|
|
.ui.negative.button:hover,
|
|
.ui.negative.buttons .active.button,
|
|
.ui.negative.button.active {
|
|
background-color: #E75859 !important;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.negative.buttons .button:active,
|
|
.ui.negative.button:active {
|
|
background-color: #D24B4C !important;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
|
|
/*******************************
|
|
Groups
|
|
*******************************/
|
|
|
|
.ui.buttons {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
.ui.buttons:after {
|
|
content: ".";
|
|
display: block;
|
|
height: 0;
|
|
clear: both;
|
|
visibility: hidden;
|
|
}
|
|
.ui.buttons .button:first-child {
|
|
border-right: none;
|
|
}
|
|
|
|
.ui.buttons .button {
|
|
float: right;
|
|
border-radius: 0em;
|
|
}
|
|
.ui.buttons .button:first-child {
|
|
margin-right: 0em;
|
|
border-top-right-radius: 0.25em;
|
|
border-bottom-right-radius: 0.25em;
|
|
}
|
|
.ui.buttons .button:last-child {
|
|
border-top-left-radius: 0.25em;
|
|
border-bottom-left-radius: 0.25em;
|
|
}
|
|
|
|
/* Vertical Style */
|
|
.ui.vertical.buttons {
|
|
display: inline-block;
|
|
}
|
|
.ui.vertical.buttons .button {
|
|
display: block;
|
|
float: none;
|
|
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
|
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) inset;
|
|
}
|
|
.ui.vertical.buttons .button:first-child,
|
|
.ui.vertical.buttons .mini.button:first-child,
|
|
.ui.vertical.buttons .tiny.button:first-child,
|
|
.ui.vertical.buttons .small.button:first-child,
|
|
.ui.vertical.buttons .massive.button:first-child,
|
|
.ui.vertical.buttons .huge.button:first-child {
|
|
margin-top: 0px;
|
|
border-radius: 0.25em 0.25em 0px 0px;
|
|
}
|
|
.ui.vertical.buttons .button:last-child,
|
|
.ui.vertical.buttons .mini.button:last-child,
|
|
.ui.vertical.buttons .tiny.button:last-child,
|
|
.ui.vertical.buttons .small.button:last-child,
|
|
.ui.vertical.buttons .massive.button:last-child,
|
|
.ui.vertical.buttons .huge.button:last-child,
|
|
.ui.vertical.buttons .gigantic.button:last-child {
|
|
border-radius: 0px 0px 0.25em 0.25em;
|
|
}
|