summaryrefslogtreecommitdiffstats
path: root/app/common/styles/base/buttons.scss
blob: 93848be5b27ff0fe048eabdda851134bb1ffa21f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
button, .button, .submit {
  font-size: 1em;
  @include fontFamilyBold;
  text-transform: none;
  border-radius: 3px;
  padding: .5rem 2rem .5rem;
  height: auto;
  border: 0;
  overflow: hidden;
  &:hover {
    cursor: pointer;
  }
  &.disabled {
    opacity: 0.2;
    color: $btn__disabled-txt;
    &:hover {
      cursor: default;
      background: transparent;
      text-decoration: none;
    }
  }
}

.btn-primary {
  color: $primebtn__text;
  background: $primebtn__bg;
  min-height: 40px;
  &:hover {
    background: lighten($primebtn__bg, 8%);
    @include fastTransition-all;
  }
  &.disabled {
    background: $btn__disabled-bg;
    color: $btn__disabled-txt;
    @include fastTransition-all;
    &:hover {
      cursor: default;
    }
  }
  i { //button symbol
    font-style: normal;
    text-transform: none;
    font-size: 1.5em;
    transform: rotate(80deg);
    display: inline-block;
  }
  img{
    width: 18px;
    height: 18px;
    display: inline-block;
  }
}
.btn-secondary {
  color: $secbtn__text;
  background: transparent;
  border: 2px solid $secbtn__border;
  min-height: 40px;
  &:hover {
    background: $lightbg__accent;
    cursor: pointer;
    background: $secbtn__bg;
    @include fastTransition-all;
  }
  &.disabled {
    border: 2px solid $lightgrey;
    background: $btn__disabled-bg;
    @include fastTransition-all;
    &:hover {
      background: $btn__disabled-bg;
    }
  }
  i { // button symbol
    font-style: normal;
    font-weight: 400;
    text-transform: none;
    font-size: 1.5em;
    transform: rotate(80deg) translate(-2px);
    display: inline-block;
    vertical-align: middle;
  }
  img{
    width: 18px;
    height: 18px;
    display: inline-block;
    margin-right: .5em;
    margin-top: -3px;
  }
}

.btn-pop-out {
  position: relative;
  padding: 0 0 1em 2em;
  color: $black;
  &:hover {
    text-decoration: underline;
  }
  &:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0px;
    width: 25px;
    height: 20px;
    display: inline-block;
    border: 1px solid $black;
    border-top: 4px solid $black;
  }
  &:after {
    content: '\2794';
    position: absolute;
    transform: rotate(-45deg);
    font-size: .9em;
    font-weight: 700;
    vertical-align: middle;
    display: inline-block;
    left: 11px;
    top: 5px;
  }
}
OpenPOWER on IntegriCloud