This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #305 from joyent/dustin/v4.x/validation-updates
Device page and validations tab updates
- Loading branch information
Showing
30 changed files
with
412 additions
and
385 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.card { | ||
&.is-rounded-1 { | ||
border-radius: 3px; | ||
|
||
.card-footer { | ||
border-bottom-right-radius: 3px; | ||
border-bottom-left-radius: 3px; | ||
} | ||
} | ||
|
||
&.is-rounded-2 { | ||
border-radius: 4px; | ||
|
||
.card-footer { | ||
border-bottom-right-radius: 4px; | ||
border-bottom-left-radius: 4px; | ||
} | ||
} | ||
} |
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,66 +1,76 @@ | ||
.device-browser { | ||
.device-search { | ||
flex-grow: 1; | ||
.device-search { | ||
flex-grow: 1; | ||
|
||
input.search { | ||
background-color: $dark; | ||
border-color: $grey; | ||
border-radius: 4px; | ||
color: #bdcbdb; | ||
height: 46px; | ||
margin-bottom: 20px; | ||
min-width: 350px; | ||
input.search { | ||
background-color: $dark; | ||
border-color: $grey; | ||
border-radius: 4px; | ||
color: #bdcbdb; | ||
margin-bottom: 20px; | ||
min-width: 350px; | ||
|
||
&::placeholder { | ||
color: $grey-light; | ||
} | ||
&::placeholder { | ||
color: #bdcbdb; | ||
} | ||
|
||
&:focus { | ||
border: 1px solid $blue; | ||
box-shadow: none; | ||
} | ||
} | ||
&:focus { | ||
border: 1px solid $blue; | ||
box-shadow: none; | ||
} | ||
} | ||
} | ||
|
||
span.icon.is-left { | ||
top: 6px; | ||
left: 2px; | ||
.button.search { | ||
font-weight: bold; | ||
padding-right: 20px; | ||
padding-left: 20px; | ||
} | ||
|
||
.material-icons { | ||
font-size: 28px; | ||
} | ||
} | ||
} | ||
.device-details { | ||
position: sticky; | ||
top: 0; | ||
|
||
.button.search { | ||
font-weight: bold; | ||
height: 46px; | ||
padding-right: 20px; | ||
padding-left: 20px; | ||
} | ||
.box.serial-number { | ||
background-color: $dark; | ||
} | ||
} | ||
|
||
.device-details { | ||
position: sticky; | ||
top: 0; | ||
.card { | ||
cursor: pointer; | ||
|
||
.box.serial-number { | ||
background-color: $dark; | ||
} | ||
} | ||
&.is-parent { | ||
background-color: #1a2531; | ||
transition: all 0.1s ease; | ||
|
||
.empty-state { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
&:hover { | ||
background-color: #1f2a36; | ||
border: 1px solid #5a6977; | ||
// transform: scale(1.02); | ||
transition: all 0.1s ease; | ||
} | ||
} | ||
|
||
img { | ||
margin: 30px auto; | ||
} | ||
.card-content { | ||
padding: 20px; | ||
|
||
.empty-state-heading { | ||
color: $white; | ||
font-size: 24px; | ||
margin-bottom: 30px; | ||
} | ||
} | ||
.content { | ||
.card { | ||
align-items: center; | ||
display: flex; | ||
justify-content: space-between; | ||
padding: 10px; | ||
|
||
&:not(:last-of-type) { | ||
margin-bottom: 12px; | ||
} | ||
|
||
p.is-title { | ||
font-weight: bold; | ||
margin-bottom: 0.2em; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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
66 changes: 0 additions & 66 deletions
66
src/views/DeviceInspector/__tests__/DeviceInspector.test.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.