Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions assets/css/app.css → assets/css/app.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* This file is for your main application css. */

@import "./phoenix.css";

@import "./screens/dashboard.scss";
@import "./screens/keyword.scss";
3 changes: 3 additions & 0 deletions assets/css/phoenix.css
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ header section {
flex-direction: column;
justify-content: space-between;
}
header section a {
color: black;
}
header nav ul,
header nav li {
margin: 0;
Expand Down
34 changes: 34 additions & 0 deletions assets/css/screens/dashboard.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
body.dashboard.index {
.keyword-list-item {
display: flex;
flex-wrap: wrap;
}

.keyword-list-item:not(:last-child)::after {
display: block;

width: 100%;
height: 1px;

background-color: #eeeeee;

content: "";
}

.keyword-col {
padding: 10px;
}

.keyword-col.keyword-name {
flex: 0 0 40%;
}

.keyword-col.keyword-status {
flex: 0 0 30%;
}

.keyword-col.keyword-action {
flex: 0 0 30%;
text-align: right;
}
}
6 changes: 6 additions & 0 deletions assets/css/screens/keyword.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
body.keyword.show {
iframe {
width: 100%;
height: 400px;
}
}
2 changes: 1 addition & 1 deletion assets/js/app.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// We need to import the CSS so that webpack will load it.
// The MiniCssExtractPlugin is used to separate it out into
// its own CSS file.
import css from "../css/app.css"
import css from "../css/app.scss"

// webpack automatically bundles all modules in your
// entry points. Those entry points can be configured
Expand Down
Loading