Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | /*** |
| 2 | Custom icon buttons |
||
| 3 | ***/ |
||
| 4 | |||
| 5 | .icon-btn { |
||
| 6 | height: 60px; |
||
| 7 | min-width: 80px; |
||
| 8 | margin: 5px 5px 0 0; |
||
| 9 | border: 1px solid #ddd; |
||
| 10 | padding: 12px 0px 0px 0px; |
||
| 11 | background-color: #fafafa; |
||
| 12 | background-image: none; |
||
| 13 | filter:none; |
||
| 14 | |||
| 15 | @if $theme-type == "default" { |
||
| 16 | -webkit-box-shadow: none; |
||
| 17 | -moz-box-shadow: none; |
||
| 18 | box-shadow: none; |
||
| 19 | } |
||
| 20 | |||
| 21 | display:inline-block; |
||
| 22 | color: #646464; |
||
| 23 | text-shadow: none; |
||
| 24 | text-align: center; |
||
| 25 | cursor: pointer; |
||
| 26 | position: relative; |
||
| 27 | -webkit-transition: all 0.3s ease; |
||
| 28 | -moz-transition: all 0.3s ease; |
||
| 29 | -ms-transition: all 0.3s ease; |
||
| 30 | -o-transition: all 0.3s ease; |
||
| 31 | transition: all 0.3s ease; |
||
| 32 | |||
| 33 | &:hover { |
||
| 34 | text-decoration: none; |
||
| 35 | border-color: #999; |
||
| 36 | color: #444; |
||
| 37 | text-shadow: 0 1px 0px rgba(255, 255, 255, 1); |
||
| 38 | -webkit-transition: all 0.3s ease; |
||
| 39 | -moz-transition: all 0.3s ease; |
||
| 40 | -ms-transition: all 0.3s ease; |
||
| 41 | -o-transition: all 0.3s ease; |
||
| 42 | transition: all 0.3s ease; |
||
| 43 | |||
| 44 | @if $theme-type == "default" { |
||
| 45 | -webkit-box-shadow: none; |
||
| 46 | -moz-box-shadow: none; |
||
| 47 | box-shadow: none; |
||
| 48 | } |
||
| 49 | |||
| 50 | > .badge { |
||
| 51 | -webkit-transition: all 0.3s ease; |
||
| 52 | -moz-transition: all 0.3s ease; |
||
| 53 | -ms-transition: all 0.3s ease; |
||
| 54 | -o-transition: all 0.3s ease; |
||
| 55 | transition: all 0.3s ease; |
||
| 56 | |||
| 57 | @if $theme-type == "default" { |
||
| 58 | -webkit-box-shadow: none; |
||
| 59 | -moz-box-shadow: none; |
||
| 60 | box-shadow: none; |
||
| 61 | } |
||
| 62 | } |
||
| 63 | } |
||
| 64 | |||
| 65 | > div { |
||
| 66 | margin-top: 5px; |
||
| 67 | margin-bottom: 20px; |
||
| 68 | color: $general-panel-font-color; |
||
| 69 | font-size: 12px; |
||
| 70 | font-weight: 300; |
||
| 71 | } |
||
| 72 | |||
| 73 | > .badge { |
||
| 74 | position: absolute; |
||
| 75 | font-size: 11px; |
||
| 76 | font-weight: 300; |
||
| 77 | top: -5px; |
||
| 78 | right: -5px; |
||
| 79 | padding: 3px 6px 3px 6px; |
||
| 80 | color: white; |
||
| 81 | text-shadow: none; |
||
| 82 | border-width: 0; |
||
| 83 | border-style: solid; |
||
| 84 | -webkit-border-radius: 12px; |
||
| 85 | -moz-border-radius: 12px; |
||
| 86 | border-radius: 12px; |
||
| 87 | |||
| 88 | @if $theme-type == "default" { |
||
| 89 | -webkit-box-shadow: none; |
||
| 90 | -moz-box-shadow: none; |
||
| 91 | box-shadow: none; |
||
| 92 | } |
||
| 93 | } |
||
| 94 | |||
| 95 | > i { |
||
| 96 | font-size: 18px; |
||
| 97 | } |
||
| 98 | |||
| 99 | .ie8 &:hover { |
||
| 100 | filter: none; |
||
| 101 | } |
||
| 102 | } |
||
| 103 | |||
| 104 | @if $theme-type == "material-design" { |
||
| 105 | .icon-btn { |
||
| 106 | border: 0; |
||
| 107 | transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1); |
||
| 108 | |||
| 109 | > div { |
||
| 110 | text-transform: uppercase; |
||
| 111 | font-weight: 600; |
||
| 112 | font-size: 11px; |
||
| 113 | color: lighten($general-panel-font-color, 10%); |
||
| 114 | } |
||
| 115 | |||
| 116 | @extend .md-shadow-z-1; |
||
| 117 | |||
| 118 | &:hover { |
||
| 119 | text-decoration: none; |
||
| 120 | @extend .md-shadow-z-2-hover; |
||
| 121 | } |
||
| 122 | } |
||
| 123 | } |