summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/common/_base.scss
blob: 48aaf7481d3bf1ec752f5144c510b4473f222b4c (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
html {
  font-size: 100%;
  height: 100%;
}

body {
  /* scrollbar styling for Internet Explorer */
  scrollbar-face-color: $scroll-bar-color;
  scrollbar-track-color: $scroll-bar-color;
  height: 100%;
  @extend %noselect;
}

$scrollbar-width: 8px;
$scrollbar-height: 8px;
/* firefox */
$ff-scrollbar-width: 17px;
/* scrollbar styling for Google Chrome | Safari | Opera */
::-webkit-scrollbar {
  width: $scrollbar-width;
  height: $scrollbar-height;
}

::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: $light-gray;
  border-right: 2px solid $content-background-color;
}

/* Mozilla Firefox currently doesn't support scrollbar styling */

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6, ul {
  margin: 0;
  padding: 0;
}

input {

  padding: 7px 10px;
}

.disabled {
  opacity: 0.7 !important;
}

fieldset {
  border: none;
}

fieldset {
  label {
	display: inline-block;
  }
}

.nav-tabs > li > a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus {
  outline: none;
}

.box-hover {
  border: 1px solid $light-blue;
}

/* Monkey patch for SDC-UI version clash */
.sdc-radio {
  .sdc-radio__input {
    opacity: 1;
    z-index: initial;
    padding-right: 5px;
    margin-right: 0;

    &:before {
      left: 0;
      top: 0;
      padding-right: 0;
      margin-right: 0;
    }
  }

  .sdc-radio__label {
    margin-left: 14px;
    padding-left: 0;
    cursor: default;

    &:before {
      display: none;
    }
  }
}