replaced rem with pixels or variables
This commit is contained in:
@@ -106,7 +106,7 @@ h4,
|
|||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: $space-sm;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reset margins on paragraphs
|
// Reset margins on paragraphs
|
||||||
@@ -115,7 +115,7 @@ h6 {
|
|||||||
// bottom margin to use `rem` units instead of `em`.
|
// bottom margin to use `rem` units instead of `em`.
|
||||||
p {
|
p {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: $space-md;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Abbreviations and acronyms
|
// Abbreviations and acronyms
|
||||||
@@ -125,7 +125,7 @@ abbr[title] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
address {
|
address {
|
||||||
margin-bottom: 1rem;
|
margin-bottom: $space-md;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
}
|
}
|
||||||
@@ -134,7 +134,7 @@ ol,
|
|||||||
ul,
|
ul,
|
||||||
dl {
|
dl {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0rem;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ol ol,
|
ol ol,
|
||||||
@@ -149,12 +149,12 @@ dt {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dd {
|
dd {
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: $space-sm;
|
||||||
margin-left: 0; // Undo browser default
|
margin-left: 0; // Undo browser default
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
margin: 0 0 1rem;
|
margin: 0 0 $space-md;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -183,7 +183,7 @@ pre {
|
|||||||
// Remove browser default top margin
|
// Remove browser default top margin
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
// Reset browser default of `1em` to use `rem`s
|
// Reset browser default of `1em` to use `rem`s
|
||||||
margin-bottom: 1rem;
|
margin-bottom: $space-md;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -193,7 +193,7 @@ pre {
|
|||||||
figure {
|
figure {
|
||||||
// Normalize adds `margin` to `figure`s as browsers apply it inconsistently.
|
// Normalize adds `margin` to `figure`s as browsers apply it inconsistently.
|
||||||
// We reset that to create a better flow in-page.
|
// We reset that to create a better flow in-page.
|
||||||
margin: 0 0 1rem;
|
margin: 0 0 $space-md;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -314,8 +314,8 @@ legend {
|
|||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: $space-sm;
|
||||||
font-size: 1.5rem;
|
font-size: $space-lg;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
// border: 0;
|
// border: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,13 +62,6 @@
|
|||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
padding: 2px 6px;
|
padding: 2px 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--alert {
|
|
||||||
padding: 0.5rem 1rem;
|
|
||||||
.card-item-name a {
|
|
||||||
font-size: $font-size-h5;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-item-body {
|
.card-item-body {
|
||||||
@@ -147,15 +140,10 @@
|
|||||||
|
|
||||||
.card-item-figure {
|
.card-item-figure {
|
||||||
margin: 0 $space-md $space-md 0;
|
margin: 0 $space-md $space-md 0;
|
||||||
height: 6rem;
|
height: 80px;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 6rem;
|
width: 80px;
|
||||||
}
|
|
||||||
.fa,
|
|
||||||
.icon-gf,
|
|
||||||
.gicon {
|
|
||||||
font-size: 3.5rem;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
position: unset !important;
|
position: unset !important;
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
transform: translate(0px, 0px) !important;
|
transform: translate(0px, 0px) !important;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: $space-md;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.search-results {
|
.search-results {
|
||||||
margin-top: 2rem;
|
margin-top: $space-xl;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-results-filter-row {
|
.search-results-filter-row {
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
color: $text-muted;
|
color: $text-muted;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -1.5rem;
|
top: -$space-lg;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dashboard-settings__nav-item {
|
.dashboard-settings__nav-item {
|
||||||
|
|||||||
@@ -66,8 +66,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.divider {
|
.divider {
|
||||||
height: 0.1rem;
|
height: 1px;
|
||||||
margin: 0.5rem 0; // 8px 1px
|
margin: $space-sm 0; // 8px 1px
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-color: $dropdownDividerTop;
|
background-color: $dropdownDividerTop;
|
||||||
border-bottom: 1px solid $dropdownDividerBottom;
|
border-bottom: 1px solid $dropdownDividerBottom;
|
||||||
@@ -314,7 +314,7 @@
|
|||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
font-family: FontAwesome;
|
font-family: FontAwesome;
|
||||||
width: 2rem;
|
width: 28px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
content: '\f11c';
|
content: '\f11c';
|
||||||
|
|||||||
@@ -66,10 +66,6 @@
|
|||||||
padding-left: 6px;
|
padding-left: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--search {
|
|
||||||
padding: 1rem 1.5rem 0.75rem 1.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.gicon {
|
.gicon {
|
||||||
top: -2px;
|
top: -2px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
input[type='text'].tight-form-func-param {
|
input[type='text'].tight-form-func-param {
|
||||||
font-size: 0.875rem;
|
font-size: $font-size-sm;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -87,7 +87,7 @@ input[type='text'].tight-form-func-param {
|
|||||||
|
|
||||||
.rst-unknown.rst-directive {
|
.rst-unknown.rst-directive {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: $space-md;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rst-interpreted_text {
|
.rst-interpreted_text {
|
||||||
@@ -96,8 +96,8 @@ input[type='text'].tight-form-func-param {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.rst-bullet-list {
|
.rst-bullet-list {
|
||||||
padding-left: 1.5rem;
|
padding-left: $space-lg;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: $space-md;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rst-paragraph:last-child {
|
.rst-paragraph:last-child {
|
||||||
@@ -105,7 +105,7 @@ input[type='text'].tight-form-func-param {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.drop-element.drop-popover.drop-function-def .drop-content {
|
.drop-element.drop-popover.drop-function-def .drop-content {
|
||||||
max-width: 30rem;
|
max-width: 416px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rst-literal-block .rst-text {
|
.rst-literal-block .rst-text {
|
||||||
|
|||||||
@@ -43,11 +43,11 @@ select:-webkit-autofill:focus {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: $space-md;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-form {
|
.login-form {
|
||||||
margin-bottom: 1rem;
|
margin-bottom: $space-md;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -69,13 +69,13 @@ select:-webkit-autofill:focus {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: 0.5rem;
|
margin-top: $space-sm;
|
||||||
|
|
||||||
&--right {
|
&--right {
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
|
|
||||||
& .btn {
|
& .btn {
|
||||||
margin-left: 1rem;
|
margin-left: $space-md;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
& .btn-inverse {
|
& .btn-inverse {
|
||||||
@@ -90,7 +90,7 @@ select:-webkit-autofill:focus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.login-button-forgot-password {
|
.login-button-forgot-password {
|
||||||
padding-top: 1rem;
|
padding-top: $space-md;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-text {
|
.login-text {
|
||||||
@@ -117,7 +117,7 @@ select:-webkit-autofill:focus {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
padding-top: 2rem;
|
padding-top: $space-xl;
|
||||||
|
|
||||||
.logo-icon {
|
.logo-icon {
|
||||||
width: 70px;
|
width: 70px;
|
||||||
@@ -150,7 +150,7 @@ select:-webkit-autofill:focus {
|
|||||||
|
|
||||||
.login-inner-box {
|
.login-inner-box {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 2rem;
|
padding: $space-xl;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -177,7 +177,7 @@ select:-webkit-autofill:focus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.login-change-password-info {
|
.login-change-password-info {
|
||||||
padding-bottom: 1.5rem;
|
padding-bottom: $space-lg;
|
||||||
|
|
||||||
& h5 {
|
& h5 {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
@@ -229,7 +229,7 @@ select:-webkit-autofill:focus {
|
|||||||
.login-divider {
|
.login-divider {
|
||||||
float: left;
|
float: left;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0 25% 1rem 25%;
|
margin: 0 25% $space-md 25%;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
||||||
@@ -251,7 +251,7 @@ select:-webkit-autofill:focus {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: 1rem;
|
margin-top: $space-md;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-signup-title {
|
.login-signup-title {
|
||||||
@@ -262,7 +262,7 @@ select:-webkit-autofill:focus {
|
|||||||
|
|
||||||
.login-btn {
|
.login-btn {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0 0 1rem;
|
margin: 0 0 $space-md;
|
||||||
}
|
}
|
||||||
|
|
||||||
.signup-page-background {
|
.signup-page-background {
|
||||||
@@ -307,7 +307,7 @@ select:-webkit-autofill:focus {
|
|||||||
|
|
||||||
@include media-breakpoint-up(sm) {
|
@include media-breakpoint-up(sm) {
|
||||||
.login-branding {
|
.login-branding {
|
||||||
padding: 1rem;
|
padding: $space-md;
|
||||||
|
|
||||||
.logo-icon {
|
.logo-icon {
|
||||||
width: 80px;
|
width: 80px;
|
||||||
@@ -329,7 +329,7 @@ select:-webkit-autofill:focus {
|
|||||||
|
|
||||||
.login-branding {
|
.login-branding {
|
||||||
width: 45%;
|
width: 45%;
|
||||||
padding: 2rem;
|
padding: $space-xl;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
border-right: 1px solid $login-border;
|
border-right: 1px solid $login-border;
|
||||||
|
|
||||||
@@ -340,7 +340,7 @@ select:-webkit-autofill:focus {
|
|||||||
|
|
||||||
.login-inner-box {
|
.login-inner-box {
|
||||||
width: 55%;
|
width: 55%;
|
||||||
padding: 1rem 4rem;
|
padding: $space-md 56px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-button-group {
|
.login-button-group {
|
||||||
|
|||||||
Reference in New Issue
Block a user