-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: refactor extensionpage, make extensible (#207)
* chore: refactor extensionpage, make extensible * chore: typo in settingspage
- Loading branch information
Showing
5 changed files
with
169 additions
and
57 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import ByobuSettingsPage from './ByobuSettingsPage'; | ||
|
||
export const components = { | ||
ByobuSettingsPage, | ||
}; |
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,10 +1,49 @@ | ||
.ByobuSettingsPage { | ||
margin-top: 15px; | ||
padding-top: 20px; | ||
|
||
.Button { | ||
margin-right: 10px; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.ByobuSettingsTabPage { | ||
background: @control-bg; | ||
padding: 20px; | ||
border-radius: @border-radius; | ||
box-shadow: 0 2px 4px @shadow-color; | ||
|
||
h3 { | ||
color: @primary-color; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.Section { | ||
background: @body-bg; | ||
border-radius: @border-radius; | ||
box-shadow: 0 1px 3px @shadow-color; | ||
padding: 15px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.Form { | ||
.control { | ||
background: @body-bg; | ||
border: 1px solid @muted-color; | ||
color: @text-color; | ||
padding: 6px 12px; | ||
border-radius: @border-radius; | ||
} | ||
input { | ||
max-width: 300px; | ||
} | ||
} | ||
} | ||
|
||
&--settings { | ||
margin: 0 auto; | ||
|
||
@media @desktop-up { | ||
.container { | ||
max-width: 600px; | ||
margin: 0; | ||
} | ||
margin: 0; | ||
} | ||
} | ||
} |
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