Skip to content

Commit

Permalink
fix: layout
Browse files Browse the repository at this point in the history
  • Loading branch information
ah-rahimi committed Sep 4, 2022
1 parent 23ea361 commit 8a79df8
Show file tree
Hide file tree
Showing 40 changed files with 7,586 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ npm-debug.log
yarn-error.log
/.idea
/.vscode
mix-manifest.json
6,742 changes: 6,742 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"private": true,
"scripts": {
"dev": "npm run development",
"development": "mix",
"watch": "mix watch",
"watch-poll": "mix watch -- --watch-options-poll=1000",
"hot": "mix watch --hot",
"prod": "npm run production",
"production": "mix --production"
},
"devDependencies": {
"bootstrap": "^5.1.3",
"laravel-mix": "^6.0.49"
}
}
186 changes: 186 additions & 0 deletions resources/css/admin-style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
/*----------TABLE CSS----------*/

table {
border-collapse: collapse;
width: 100%;
}

td,
th {
/* text-align: center; */
padding: 16px 12px;
}

td {
height: 46px;
}

tr th:first-child {
width: 3%;
}

tr td:first-child {
font-weight: 600;
}

tr th:first-child,
tr td:first-child {
text-align: center;
}


/*----------POSTS CSS----------*/

.btn-post-action {
padding: 4px 12px;
}

@media (max-width:950px) {
.btn-post-action {
width: 100%;
margin: 0;
margin-bottom: 6px;
}

.table-div {
overflow-x: auto;
}
}



/*----------NEW/EDIT POST CSS----------*/

.editor-row {
display: flex;
flex-direction: row;
}

.right-editor-box {
width: 80%;
}

.left-editor-box {
width: 20%;
margin-right: 30px;
}

.postbox {
position: relative;
border: 1px solid;
border-radius: 4px;
margin-bottom: 20px;
border-color: #ced4da;
background: #fff;
}

.postbox-header {
border-bottom: 1px solid;
border-color: #c3c4c7;
background-color: #f6f7f7;
}

.postbox-header h2 {
padding: 12px 16px;
font-size: 16px;
}

.minor-publishing {
padding: 10px;
}

.minor-publishing-actions {
display: flex;
flex-direction: row;
justify-content: flex-end;
}

.minor-publishing-actions input {
font-size: 14px;
}

.files-modal-items-btn {
display: flex;
flex-direction: row;
margin: 0 !important;
}

.delete-image-btn {
margin-bottom: 12px;
margin-right: 8px;
}

.files-modal-items-btn i {
margin-left: 0 !important;
}

.misc-publishing-actions {
padding-top: 6px;
}

.misc-pub-section {
padding: 6px 0px 8px;
}

.misc-pub-section>div {
margin-bottom: 8px;
display: flex;
align-items: center;
}

.misc-pub-section i {
margin-left: 6px;
}

.publishing-actions {
padding: 10px;
border-top: 1px solid;
border-radius: 0px 0px 4px 4px;
display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: center;
border-color: #dcdcde;
background: #f6f7f7;
}

.featured-image input {
text-align: left;
direction: ltr;
}

.btn-delete-action {
color: red;
text-decoration: underline;
font-size: 13px;
background-color: transparent;
}

.publishing-actions.edit-post {
justify-content: space-between;
}

@media (max-width:1500px) {
.right-editor-box {
width: 75%;
}

.left-editor-box {
width: 25%;
}
}

@media (max-width:1024px) {
.right-editor-box {
width: 100%;
}

.left-editor-box {
width: 100%;
margin-right: 0;
}

.editor-row {
flex-direction: column;
}
}
Loading

0 comments on commit 8a79df8

Please sign in to comment.