Changeset 3839:783854ebd4ce for admin/style/scss/partials/_index.scss
- Timestamp:
- 08/31/18 11:42:03 (7 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/style/scss/partials/_index.scss
r3838 r3839 1 1 #dashboard-main { 2 text-align: center; 2 text-align: center; 3 & > *:last-child { 4 margin-bottom: 1em; 5 } 3 6 } 4 5 6 7 /* raccourcis */ 7 8 8 9 #icons { 9 10 margin: 1em auto 2em; 10 11 12 13 14 15 11 display: flex; 12 flex-wrap: wrap; 13 justify-content: center; 14 p { 15 width: 13em; 16 margin: 1em 0 2em; 16 17 display: flex; 17 18 flex-direction: column; 18 19 justify-content: flex-start; 19 20 align-items: center; 20 } 21 a { 22 &, 23 &:link, 24 &:visited, 25 &:hover, 26 &:focus { 27 border-bottom-width: 0; 28 text-decoration: none; 29 } 30 span { 21 } 22 a { 23 &, &:link, &:visited, &:hover, &:focus { 24 border-bottom-width: 0; 25 text-decoration: none; 26 } 27 span { 31 28 color: $index-link-color; 32 33 34 35 36 37 38 39 29 border-bottom: 1px dotted $index-link-border; 30 } 31 img { 32 padding: 1.5em; 33 background-color: $index-icon-background; 34 border-radius: 8px; 35 border: 1px solid $index-icon-border; 36 display: inline-block; 40 37 filter: contrast($index-icon-contrast); 41 } 42 &:focus { 43 outline: 0; 44 span { 45 border: 2px solid $index-icon-outline; 46 } 47 } 48 &:focus, 49 &:hover { 50 img { 51 background: $index-icon-outline; 52 outline: 0; 53 border-color: $index-icon-border; 54 } 55 span { 56 border-bottom-style: solid; 57 } 58 } 59 } 38 } 39 &:focus { 40 outline: 0; 41 span { 42 border: 2px solid $index-icon-outline; 43 } 44 } 45 &:focus, &:hover { 46 img { 47 background: $index-icon-outline; 48 outline: 0; 49 border-color: $index-icon-border; 50 } 51 span { 52 border-bottom-style: solid; 53 } 54 } 55 } 60 56 } 61 62 63 57 /* billet rapide */ 64 58 65 59 #quick { 66 60 max-width: 72em; 67 61 margin: 1em auto 2em; 68 62 padding: 1em; 69 63 background: $quick-background; 70 64 border: 1px solid $quick-border; 71 text-align: left; 72 h3 { 73 margin-bottom: 0.2em; 74 font-size: 1.2em; 75 } 76 p.qinfo { 77 margin: -.7em -1em 1em; 78 background: $quick-info-background url(msg-info.png) no-repeat .2em .2em; 79 border: 1px solid $quick-info-border; 80 padding: .2em 1em .1em 24px; 81 color: $quick-info-color; 82 } 83 #new_cat, 84 .q-cat, 85 .q-cat label { 86 display: inline-block; 87 vertical-align: top; 88 margin-right: 1em; 89 margin-top: 0; 90 } 91 .q-cat label { 92 margin-right: .3em; 93 } 94 #new_cat { 95 margin-bottom: 2em; 96 } 65 text-align: left; 66 h3 { 67 margin-bottom: 0.2em; 68 font-size: 1.2em; 69 } 70 p.qinfo { 71 margin: -.7em -1em 1em; 72 background: $quick-info-background url(msg-info.png) no-repeat .2em .2em; 73 border: 1px solid $quick-info-border; 74 padding: .2em 1em .1em 24px; 75 color: $quick-info-color; 76 } 77 #new_cat, .q-cat, .q-cat label { 78 display: inline-block; 79 vertical-align: top; 80 margin-right: 1em; 81 margin-top: 0; 82 } 83 .q-cat label { 84 margin-right: .3em; 85 } 86 #new_cat { 87 margin-bottom: 2em; 88 } 97 89 } 98 99 100 90 /* modules additionnels */ 101 91 102 92 #dashboard-boxes { 103 104 105 106 107 108 109 110 111 112 113 114 93 margin: 1em auto 2em; 94 display: flex; 95 flex-wrap: wrap; 96 justify-content: center; 97 .box { 98 padding: 10px; 99 border: 1px solid $index-box-border; 100 border-radius: 3px; 101 min-height: 200px; 102 margin: 10px; 103 text-align: left; 104 } 115 105 } 116 117 .db-items, 118 .db-contents { 119 // display: inline-block; 120 // text-align: center; 121 display: flex; 122 flex-wrap: wrap; 123 justify-content: center; 124 flex: 1 1 auto; 125 img { 126 vertical-align: middle; 127 } 128 ul { 129 display: block; 130 padding-left: 1.5em; 131 list-style: square; 132 } 133 li { 134 margin: 0.25em 0 0 0; 135 } 106 .db-items, .db-contents { 107 // display: inline-block; 108 // text-align: center; 109 display: flex; 110 flex-wrap: wrap; 111 justify-content: center; 112 flex: 1 1 auto; 113 img { 114 vertical-align: middle; 115 } 116 ul { 117 display: block; 118 padding-left: 1.5em; 119 list-style: square; 120 } 121 li { 122 margin: 0.25em 0 0 0; 123 } 136 124 } 137 138 125 .no-js .outgoing img { 139 126 display: none; 140 127 } 141 142 128 .dc-box { 143 129 background: transparent url(dc_logos/sq-logo-32.png) no-repeat top right; 144 130 } 145 146 131 #news { 147 148 149 150 151 152 153 154 155 156 132 dt { 133 font-weight: bold; 134 margin: 0 0 0.4em 0; 135 } 136 dd { 137 margin: 0 0 1em 0; 138 p { 139 margin: 0.2em 0 0 0; 140 } 141 } 157 142 }
Note: See TracChangeset
for help on using the changeset viewer.