Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

样式 #4

Open
muyuqiu001 opened this issue Sep 18, 2017 · 0 comments
Open

样式 #4

muyuqiu001 opened this issue Sep 18, 2017 · 0 comments

Comments

@muyuqiu001
Copy link
Owner

.container {
    width: 100% !important;
    padding-left: 30px !important;
    padding-right: 64px !important;
}
/* Repo Next layout */

.repository-content {
    width: 100% !important;
}
.repository-with-sidebar {
    padding-right: 60px !important;
}
.repository-with-sidebar .repository-sidebar {
    margin-right: -60px !important;
}
.summary-stats,
.authors-and-code {
    display: table;
    width: 100%;
}
.summary-stats li {
    width: 25%;
}
.authors-and-code .section {
    width: 50%;
}
/* Repo Next Code page */

.with-full-navigation {
    padding-right: 190px !important;
}
.with-full-navigation .repository-sidebar {
    margin-right: -190px !important;
}
/* Issues/PRs */

.discussion-sidebar {
    width: 220px !important;
}
.discussion-timeline {
    width: calc(100% - 240px) !important;
}
/* Fix #18 - props: @auscompgeek */

.file-header::after {
    clear: left !important;
}
/* New issues and Dashboard */

#dashboard,
.new-issue-form {
    position: relative !important;
}
.dashboard-sidebar,
.new-issue-form .discussion-sidebar {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
}
button.discussion-sidebar-toggle {
    width: 100% !important;
}
.timeline-new-comment {
    max-width: none !important;
}
/* Dashboard */
/* Note that this won't be needed if we actually flipped the DOM order around. */

.news {
    float: none !important;
    margin-right: 360px !important;
}
/* Settings */
/* This should be refactored to use our grid.scss styles anyway, thus negating these styles. */

.settings-content,
.repo-settings-content {
    float: none !important;
    width: auto !important;
    overflow: auto !important;
    /* required to clear the floats that the float avoided */
}
.container > .settings-content,
.repo-settings-content {
    margin-left: 260px !important;
}
#repo-settings .menu-container {
    width: 240px !important;
}
#js-flash-container .flash-messages {
    width: 100% !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
}
/* Profile page */
/* Profile avatar tooltip */

.vcard-avatar {
    width: 230px !important;
}
/* Commits: extended message under "..." */

.commit-desc pre {
    max-width: none;
}
.new_issues {
    width: 100% !important;
}
.content_box {
    width: calc(100% - 230px)
}
.userprofile_main .userpro_content {
    width: calc(100% - 260px)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant