123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- // 阴影
- .shadow-0 {
- box-shadow: none!important;
- }
- .shadow {
- box-shadow: $shadow!important;
- }
- .shadow-100 {
- box-shadow: $shadow-100!important;
- }
- .shadow-200 {
- box-shadow: $shadow-200!important;
- }
- // 文本大小
- // small
- .font-sm-1{
- font-size: 0.7rem !important;
- }
- .font-sm-2{
- font-size: 0.8rem !important;
- }
- .font-sm-3{
- font-size: 0.9rem !important;
- }
- // medium
- .font-md-1{
- font-size: 1.1rem !important;
- }
- .font-md-2{
- font-size: 1.2rem !important;
- }
- .font-md-3{
- font-size: 1.3rem !important;
- }
- .font-md-4{
- font-size: 1.4rem !important;
- }
- .font-md-5{
- font-size: 1.5rem !important;
- }
- //large
- .font-lg-1{
- font-size: 2rem !important;
- }
- .font-lg-2{
- font-size: 3rem !important;
- }
- .font-lg-3{
- font-size: 4rem !important;
- }
- .font-lg-4{
- font-size: 5rem !important;
- }
- .font-lg-5{
- font-size: 6rem !important;
- }
- // Font weights
- .font-w-300 {
- font-weight: 300;
- }
- .font-w-400 {
- font-weight: 400;
- }
- .font-w-500 {
- font-weight: 500;
- }
- .font-w-600 {
- font-weight: 600;
- }
- .font-w-700 {
- font-weight: 700;
- }
- // Font style
- .text-italic {
- font-style: italic;
- }
- .text-highlight {
- padding: 4px 6px;
- }
- //
- .pin, .pin-y {
- top: 0;
- bottom: 0;
- }
- .pin {
- right: 0;
- left: 0;
- }
- // icon
- .icon-bg-circle{
- color: $white;
- padding: 0.5rem;
- border-radius: 50%;
- }
- .icon-left{
- margin-right:0.5rem;
- }
- .icon-right{
- margin-right:0.5rem;
- }
- .icon-spin {
- display: inline-block;
- animation: spin 1s infinite linear;
- }
- // spin
- @-moz-keyframes spin {
- from {
- -moz-transform: rotate(0deg);
- }
- to {
- -moz-transform: rotate(360deg);
- }
- }
- @-webkit-keyframes spin {
- from {
- -webkit-transform: rotate(0deg);
- }
- to {
- -webkit-transform: rotate(360deg);
- }
- }
- @keyframes spin {
- from {
- transform: rotate(0deg);
- }
- to {
- transform: rotate(360deg);
- }
- }
- .hidden {
- display: none;
- visibility: hidden;
- }
- .round{@include border-radius(1.5rem);}
- .square{@include border-radius($btn-border-radius-square);}
- .icon-line-height{
- line-height : 1.5rem !important;
- }
- // Spinner classes
- .spinner {
- display: inline-block;
- -webkit-animation: spin 1s linear infinite;
- -o-animation: spin 1s linear infinite;
- animation: spin 1s linear infinite;
- }
- @keyframes spin {
- 0% { transform: rotate(0deg); }
- 100% { transform: rotate(360deg); }
- }
- // Button focus outline
- button:focus{
- outline: none;
- }
|