github.com/qubitproducts/logspray@v0.2.14/server/swagger-ui/src/main/less/auth.less (about) 1 2 3 .swagger-section { 4 5 .title { font-style: bold; } 6 7 .secondary_form { display: none; } 8 9 .main_image { 10 display: block; 11 margin-left: auto; 12 margin-right: auto; 13 } 14 15 .oauth_body { 16 margin-left: 100px; 17 margin-right: 100px; 18 } 19 20 .oauth_submit { 21 text-align: center; 22 display: inline-block; 23 } 24 25 .authorize-wrapper { 26 margin: 15px 0 10px; 27 } 28 29 .authorize-wrapper_operation { 30 float: right; 31 } 32 33 .authorize__btn { 34 &:hover { 35 text-decoration: underline; 36 cursor: pointer; 37 } 38 } 39 40 .authorize__btn_operation:hover .authorize-scopes { 41 display: block; 42 } 43 44 .authorize-scopes { 45 position: absolute; 46 margin-top: 20px; 47 background: #FFF; 48 border: 1px solid #ccc; 49 border-radius: 5px; 50 display: none; 51 font-size: 13px; 52 max-width: 300px; 53 line-height: 30px; 54 color: black; 55 padding: 5px; 56 57 .authorize__scope { 58 text-decoration: none; 59 } 60 } 61 62 .authorize__btn_operation { 63 height: 18px; 64 vertical-align: middle; 65 display: inline-block; 66 background: url(../images/explorer_icons.png) no-repeat; 67 } 68 69 .authorize__btn_operation_login { 70 background-position: 0 0; 71 width: 18px; 72 margin-top: -6px; 73 margin-left: 4px; 74 } 75 76 .authorize__btn_operation_logout { 77 background-position: -30px 0; 78 width: 18px; 79 margin-top: -6px; 80 margin-left: 4px; 81 } 82 83 #auth_container { 84 color: #fff; 85 display: inline-block; 86 border: none; 87 padding: 5px; 88 width: 87px; 89 height: 13px; 90 91 .authorize__btn { 92 color: #fff; 93 } 94 } 95 96 .auth_container { 97 padding: 0 0 10px; 98 margin-bottom: 5px; 99 border-bottom: solid 1px #CCC; 100 font-size: 0.9em; 101 102 .auth__title { 103 color: #547f00; 104 font-size: 1.2em; 105 } 106 107 .basic_auth__label { 108 display: inline-block; 109 width: 60px; 110 } 111 112 .auth__description { 113 color: #999999; 114 margin-bottom: 5px; 115 } 116 117 .auth__button { 118 margin-top: 10px; 119 height: 30px; 120 } 121 122 .key_auth__field { 123 margin: 5px 0; 124 } 125 126 .key_auth__label { 127 display: inline-block; 128 width: 60px; 129 } 130 } 131 132 .api-popup-dialog { 133 position: absolute; 134 display: none; 135 } 136 137 .api-popup-dialog-wrapper { 138 z-index: 1000; 139 width: 500px; 140 background: #FFF; 141 padding: 20px; 142 border: 1px solid #ccc; 143 border-radius: 5px; 144 font-size: 13px; 145 color: #777; 146 position: fixed; 147 top: 50%; 148 left: 50%; 149 transform: translate(-50%, -50%); 150 } 151 152 .api-popup-dialog-shadow { 153 position: fixed; 154 top: 0; 155 left: 0; 156 width: 100%; 157 height: 100%; 158 opacity: 0.2; 159 background-color: gray; 160 z-index: 900; 161 } 162 163 .api-popup-dialog .api-popup-title { 164 font-size: 24px; 165 padding: 10px 0; 166 } 167 168 .api-popup-dialog .api-popup-title { 169 font-size: 24px; 170 padding: 10px 0; 171 } 172 173 .api-popup-dialog .error-msg { 174 padding-left: 5px; 175 padding-bottom: 5px; 176 } 177 .api-popup-dialog .api-popup-content { 178 max-height: 500px; 179 overflow-y: auto; 180 } 181 182 .api-popup-dialog .api-popup-authbtn { height: 30px; } 183 184 .api-popup-dialog .api-popup-cancel { height: 30px; } 185 186 .api-popup-scopes { padding: 10px 20px; } 187 188 .api-popup-scopes li { 189 padding: 5px 0; 190 line-height: 20px; 191 } 192 193 .api-popup-scopes li input { 194 position: relative; 195 top: 2px; 196 } 197 198 .api-popup-scopes .api-scope-desc { 199 padding-left: 20px; 200 font-style: italic; 201 } 202 203 .api-popup-actions { padding-top: 10px; } 204 205 fieldset { 206 padding-bottom: 10px; 207 padding-left: 20px; 208 } 209 }