-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(WebexActivityStream): use class prefix
- Loading branch information
Showing
9 changed files
with
88 additions
and
97 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
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 |
---|---|---|
@@ -1,85 +1,5 @@ | ||
// For Storybook, so that activity stream loads content properly | ||
#root { | ||
height: 100%; | ||
} | ||
|
||
.activity-stream { | ||
position: relative; | ||
width: 100%; | ||
height: 100%; | ||
overflow-y: auto; | ||
|
||
&-loader { | ||
position: relative; | ||
width: 10px; | ||
height: 10px; | ||
margin: 1rem auto; | ||
border-radius: 5px; | ||
background-color: $md-gray-30; | ||
color: $md-gray-30; | ||
animation: dotFlashing 1s infinite linear alternate; | ||
animation-delay: .5s; | ||
} | ||
|
||
&-loader::before, &-loader::after { | ||
content: ''; | ||
display: inline-block; | ||
position: absolute; | ||
top: 0; | ||
} | ||
|
||
&-loader::before { | ||
left: -15px; | ||
width: 10px; | ||
height: 10px; | ||
border-radius: 5px; | ||
background-color: $md-gray-30; | ||
color: $md-gray-30; | ||
animation: dotFlashing 1s infinite alternate; | ||
animation-delay: 0s; | ||
} | ||
|
||
&-loader::after { | ||
left: 15px; | ||
width: 10px; | ||
height: 10px; | ||
border-radius: 5px; | ||
background-color: $md-gray-30; | ||
color: $md-gray-30; | ||
animation: dotFlashing 1s infinite alternate; | ||
animation-delay: 1s; | ||
} | ||
|
||
@keyframes dotFlashing { | ||
0% { | ||
background-color: $md-gray-30; | ||
} | ||
50%, | ||
100% { | ||
background-color: $md-gray-10; | ||
} | ||
} | ||
} | ||
|
||
.greeting { | ||
display: block; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
max-width: 37.5rem; | ||
text-align: center; | ||
color: $gray-dark-3; | ||
|
||
.greeting-header { | ||
@include header-fonts; | ||
} | ||
|
||
.greeting-description { | ||
@include body-fonts; | ||
padding: 0 3.125rem; | ||
} | ||
} | ||
@import '../../styles/variables'; | ||
|
||
.time-ruler { | ||
.#{$WEBEX_COMPONENTS_CLASS_PREFIX}-time-ruler { | ||
padding: 0 3rem; | ||
} |
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
64 changes: 64 additions & 0 deletions
64
src/components/WebexActivityStream/WebexActivityStream.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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
@import '../../styles/variables'; | ||
|
||
// For Storybook, so that activity stream loads content properly | ||
#root { | ||
height: 100%; | ||
} | ||
|
||
.#{$WEBEX_COMPONENTS_CLASS_PREFIX}-activity-stream { | ||
position: relative; | ||
width: 100%; | ||
height: 100%; | ||
overflow-y: auto; | ||
|
||
&-loader { | ||
position: relative; | ||
width: 10px; | ||
height: 10px; | ||
margin: 1rem auto; | ||
border-radius: 5px; | ||
background-color: $md-gray-30; | ||
color: $md-gray-30; | ||
animation: dotFlashing 1s infinite linear alternate; | ||
animation-delay: .5s; | ||
} | ||
|
||
&-loader::before, &-loader::after { | ||
content: ''; | ||
display: inline-block; | ||
position: absolute; | ||
top: 0; | ||
} | ||
|
||
&-loader::before { | ||
left: -15px; | ||
width: 10px; | ||
height: 10px; | ||
border-radius: 5px; | ||
background-color: $md-gray-30; | ||
color: $md-gray-30; | ||
animation: dotFlashing 1s infinite alternate; | ||
animation-delay: 0s; | ||
} | ||
|
||
&-loader::after { | ||
left: 15px; | ||
width: 10px; | ||
height: 10px; | ||
border-radius: 5px; | ||
background-color: $md-gray-30; | ||
color: $md-gray-30; | ||
animation: dotFlashing 1s infinite alternate; | ||
animation-delay: 1s; | ||
} | ||
|
||
@keyframes dotFlashing { | ||
0% { | ||
background-color: $md-gray-30; | ||
} | ||
50%, | ||
100% { | ||
background-color: $md-gray-10; | ||
} | ||
} | ||
} |
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