forked from bitshares/bitshares-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bitshares#1997 Update registration cloud account to style-guide compo…
…nents
- Loading branch information
1 parent
c700cac
commit 5f9c405
Showing
5 changed files
with
472 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
198 changes: 105 additions & 93 deletions
198
app/assets/stylesheets/vendors/_foundation_overrides.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,157 +1,169 @@ | ||
.title-bar.primary { | ||
padding: 0; | ||
padding: 0; | ||
|
||
.title { | ||
font-size: 1.0625rem; | ||
} | ||
.title { | ||
font-size: 1.0625rem; | ||
} | ||
} | ||
|
||
.button { | ||
margin-bottom: 0; | ||
margin-bottom: 0; | ||
} | ||
|
||
.title-bar.primary .action-sheet a { | ||
color: $body-font-color; | ||
color: $body-font-color; | ||
} | ||
|
||
.action-sheet { | ||
width: auto; | ||
min-width: 12em; | ||
width: auto; | ||
min-width: 12em; | ||
|
||
ul { | ||
font-size: 14px; | ||
ul { | ||
font-size: 14px; | ||
|
||
a { | ||
border-top: none; | ||
} | ||
} | ||
a { | ||
border-top: none; | ||
} | ||
} | ||
|
||
.no-first-element-top-border > :first-child > a { | ||
border-top: none; | ||
border-top-left-radius: 4px; | ||
border-top-right-radius: 4px; | ||
} | ||
ul > :last-child > a { | ||
border-bottom: none; | ||
border-bottom-left-radius: 4px; | ||
border-bottom-right-radius: 4px; | ||
} | ||
.no-first-element-top-border > :first-child > a { | ||
border-top: none; | ||
border-top-left-radius: 4px; | ||
border-top-right-radius: 4px; | ||
} | ||
ul > :last-child > a { | ||
border-bottom: none; | ||
border-bottom-left-radius: 4px; | ||
border-bottom-right-radius: 4px; | ||
} | ||
} | ||
|
||
.has-error, | ||
div.has-error > label, | ||
div.has-error > input, | ||
div.has-error > input:hover, | ||
div.has-error > input:focus { | ||
border-color: #a94442; | ||
color: #a94442; | ||
border-color: #a94442; | ||
color: #a94442; | ||
} | ||
|
||
.has-error, .facolor-error, .facolor-warning { | ||
max-width: 30rem; | ||
.has-error, | ||
.facolor-error, | ||
.facolor-warning { | ||
// disable max-width for has-error fields | ||
// max-width: 30rem; | ||
} | ||
|
||
.menu-bar.primary > li > a.active { | ||
background: #414141; | ||
color: #fff; | ||
background: #414141; | ||
color: #fff; | ||
} | ||
|
||
.menu-bar.secondary > li > a.active { | ||
background: #ededed; | ||
color: #000; | ||
background: #ededed; | ||
color: #000; | ||
} | ||
|
||
.inline { | ||
display: inline-block; | ||
display: inline-block; | ||
} | ||
|
||
a { | ||
cursor: pointer; | ||
color: #008CBA; | ||
cursor: pointer; | ||
color: #008cba; | ||
} | ||
|
||
|
||
.tabs { | ||
border-bottom: 1px solid #444; | ||
margin-bottom: 1rem; | ||
> .tab-item { | ||
background: none; | ||
text-transform: uppercase; | ||
transition: all 0.3s ease 0s; | ||
border-bottom: 2px solid transparent; | ||
padding-bottom: 0.8rem; | ||
&.is-active { | ||
background: none; | ||
border-bottom: 2px solid #f00; | ||
&:hover, &:focus, &:active { | ||
border-bottom: 1px solid #444; | ||
margin-bottom: 1rem; | ||
> .tab-item { | ||
background: none; | ||
} | ||
} | ||
&:hover, &:focus, &:active { | ||
background: none; | ||
text-transform: uppercase; | ||
transition: all 0.3s ease 0s; | ||
border-bottom: 2px solid transparent; | ||
padding-bottom: 0.8rem; | ||
&.is-active { | ||
background: none; | ||
border-bottom: 2px solid #f00; | ||
&:hover, | ||
&:focus, | ||
&:active { | ||
background: none; | ||
} | ||
} | ||
&:hover, | ||
&:focus, | ||
&:active { | ||
background: none; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.label, .label.warning, .label.success, .label.info, .label.cancel, .label.alert { | ||
background-color: transparent; | ||
border: 1px solid #444; | ||
border-radius: 4px; | ||
text-transform: uppercase; | ||
padding: 0.3rem 0.4rem; | ||
font-size: 0.74rem; | ||
.label, | ||
.label.warning, | ||
.label.success, | ||
.label.info, | ||
.label.cancel, | ||
.label.alert { | ||
background-color: transparent; | ||
border: 1px solid #444; | ||
border-radius: 4px; | ||
text-transform: uppercase; | ||
padding: 0.3rem 0.4rem; | ||
font-size: 0.74rem; | ||
} | ||
|
||
.notification { | ||
// Extend the base selector to get core styles | ||
@extend %notification; | ||
// Use the layout mixin to position and structure the notification | ||
@include notification-layout( | ||
$x: right, // Can be left, middle, or right | ||
$y: bottom // Can be top or bottom | ||
); | ||
// Extend the base selector to get core styles | ||
@extend %notification; | ||
// Use the layout mixin to position and structure the notification | ||
@include notification-layout( | ||
$x: right, | ||
// Can be left, middle, or right | ||
$y: bottom// Can be top or bottom | ||
); | ||
} | ||
|
||
.modal { | ||
padding: 1rem 1rem 1rem 1rem; | ||
h3 { | ||
margin-bottom: 1rem; | ||
} | ||
.button-group { | ||
margin-bottom: 0; | ||
} | ||
padding: 1rem 1rem 1rem 1rem; | ||
h3 { | ||
margin-bottom: 1rem; | ||
} | ||
.button-group { | ||
margin-bottom: 0; | ||
} | ||
} | ||
|
||
.inline-label { | ||
margin-bottom: 0; | ||
margin-bottom: 0; | ||
} | ||
|
||
.block-list { | ||
margin-right: 0; | ||
margin-left: 0; | ||
margin-bottom: 0; | ||
li > a { | ||
padding: 0.6rem; | ||
} | ||
margin-right: 0; | ||
margin-left: 0; | ||
margin-bottom: 0; | ||
li > a { | ||
padding: 0.6rem; | ||
} | ||
|
||
li { | ||
border-top: none !important; | ||
li { | ||
border-top: none !important; | ||
|
||
&.with-dropdown > select { | ||
-webkit-appearance: menulist; | ||
-moz-appearance: menulist; | ||
appearance: menulist; | ||
} | ||
} | ||
&.with-dropdown > select { | ||
-webkit-appearance: menulist; | ||
-moz-appearance: menulist; | ||
appearance: menulist; | ||
} | ||
} | ||
} | ||
|
||
code { | ||
color: inherit; | ||
background-color: inherit; | ||
border: none; | ||
color: inherit; | ||
background-color: inherit; | ||
border: none; | ||
} | ||
|
||
// expand the container to fit the maximum width by default | ||
.grid-container { | ||
width: 100%; | ||
width: 100%; | ||
} |
Oops, something went wrong.